[Kimchi-devel] [PATCH 0/2] Adding new-ui to Wok and Kimchi-Hosts (pre-gingerbase) v2
sguimaraes943 at gmail.com
sguimaraes943 at gmail.com
Fri Oct 16 19:36:19 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.
samhenri (2):
Adding new-ui JS, images and base template files
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.api.js | 39 ++
src/wok/plugins/kimchi/ui/js/src/kimchi.host.js | 614 +++++++++++----------
src/wok/plugins/kimchi/ui/pages/host.html.tmpl | 207 +++----
.../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 | 3 +-
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/modules/_wok-grid.scss | 24 +
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.confirm.js | 91 +++
ui/js/src/wok.grid.js | 416 ++++----------
ui/js/src/wok.line-chart.js | 74 ++-
ui/js/src/wok.list.js | 302 ++++++++++
ui/js/src/wok.login.js | 9 +-
ui/js/src/wok.main.js | 37 +-
ui/js/src/wok.message.js | 96 +---
ui/js/src/wok.window.js | 38 +-
ui/pages/login.html.tmpl | 186 ++++---
ui/pages/wok-ui.html.tmpl | 219 ++++----
35 files changed, 1548 insertions(+), 1696 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.confirm.js
create mode 100644 ui/js/src/wok.list.js
--
1.9.3
More information about the Kimchi-devel
mailing list