[Kimchi-devel] [PATCH 0/2] Adding new-ui to Wok and Kimchi-Hosts (pre-gingerbase) v3

sguimaraes943 at gmail.com sguimaraes943 at gmail.com
Mon Oct 19 12:20:21 UTC 2015


From: samhenri <samuel.guimaraes at eldorado.org.br>

Refactored patches 5/6 and 6/6 from previous patchset to include some bug-fixes.
Kimchi/Hosts was updated with new-ui pre-gingerbase. Some CSS were left empty to avoid conflicts with git rm and git mv from other patches.
Please note that some styles, modal windows and buttons may stop working or display incorrectly since this patch includes the new-ui main template that ignores theme-default.min.css rules that were overriding Bootstrap styles in the new-ui.

v2:
	Patch 1 - Separated wok.confirm.js from wok.message.js and fixed header icon when no title was given to confirm dialog
		- Updated login page to not save user and password information (since we're dealing with O.S users I believe it is not a good idea to allow browsers to remember root username and password)
		- Fixed minor bugs in wok.list.js. Added a button on top of the list if no debug report was previously generated. Disabled drop-down button when generating new report. Added loading icon to when generating report.
	Patch 2 - Updated kimchi.hosts.js with necessary DOM manipulation after Patch 1 v2 changes in wok.list.js.

v3:
	Patch 1 - Fixed wok.list.js Action button label.
	Patch 2 - Updated kimchi.hosts.js after Hosts Monitor update from Friday. Also updated required DOM manipulation when Debug Reports or Repositories lists are not available. Updated the IDs from Debug Reports and Repositories elements.

samhenri (2):
  Adding new-ui base templates and widgets
  Adding new-ui to Hosts tab and modal windows

 src/wok/plugins/kimchi/ui/config/tab-ext.xml       |  10 +-
 .../plugins/kimchi/ui/css/theme-default/host.css   | 270 ---------
 .../kimchi/ui/css/theme-default/report-add.css     |  20 -
 .../kimchi/ui/css/theme-default/report-rename.css  |  22 -
 .../kimchi/ui/css/theme-default/repository-add.css |  25 -
 .../ui/css/theme-default/repository-edit.css       |  62 ---
 src/wok/plugins/kimchi/ui/js/src/kimchi.host.js    | 615 +++++++++++----------
 src/wok/plugins/kimchi/ui/pages/host.html.tmpl     | 205 ++++----
 .../plugins/kimchi/ui/pages/report-add.html.tmpl   |  46 +-
 .../kimchi/ui/pages/report-rename.html.tmpl        |  42 +-
 .../kimchi/ui/pages/repository-add.html.tmpl       | 124 ++---
 .../kimchi/ui/pages/repository-edit.html.tmpl      | 138 ++---
 ui/css/src/bootstrap-select.custom.scss            |   1 +
 ui/css/src/modules/_host.scss                      |   6 +-
 ui/css/src/modules/_menu-flat.scss                 |   6 +-
 ui/css/src/modules/_modal-flat.scss                |   2 +-
 ui/css/src/modules/_navbar-flat.scss               |   4 +-
 ui/css/src/modules/_toolbar.scss                   |  24 +-
 ui/css/src/modules/_wok-confirm.scss               |  42 ++
 ui/css/src/wok.scss                                |   6 +-
 ui/images/theme-default/Makefile.am                |   2 +-
 ui/images/theme-default/logo-flat.svg              |  43 ++
 ui/images/theme-default/logo-white.png             | Bin 9879 -> 7583 bytes
 ui/js/src/wok.grid.js                              | 416 ++++----------
 ui/js/src/wok.line-chart.js                        |  74 ++-
 ui/js/src/wok.list.js                              | 282 ++++++++++
 ui/js/src/wok.login.js                             |   9 +-
 ui/js/src/wok.main.js                              |  37 +-
 ui/js/src/wok.message.js                           | 111 ++--
 ui/js/src/wok.window.js                            |  38 +-
 ui/pages/login.html.tmpl                           | 186 ++++---
 ui/pages/wok-ui.html.tmpl                          | 219 ++++----
 32 files changed, 1422 insertions(+), 1667 deletions(-)
 create mode 100644 ui/css/src/modules/_wok-confirm.scss
 create mode 100644 ui/images/theme-default/logo-flat.svg
 create mode 100644 ui/js/src/wok.list.js

-- 
1.9.3




More information about the Kimchi-devel mailing list