From: samhenri <samuel.guimaraes(a)eldorado.org.br>
This patchset adds the new-ui to Hosts (Gingerbase), Templates, Storages and Network tabs,
including all modal windows.
Guests tab is still not finished but some elements were already ported to the new-ui.
samhenri (10):
[new-ui] Deleting unused files
[new-ui] Updated widgets
[new-ui] Updated images and distro icons
[new-ui] Updated SCSS files
[new-ui] Base template files
[new-ui] Gingerbase / Hosts tab
[new-ui] Kimchi config and Guests tab
[new-ui] Network tab
[new-ui] Storage tab
[new-ui] Templates tab
src/wok/plugins/gingerbase/.gitignore | 2 +-
src/wok/plugins/gingerbase/configure.ac | 1 -
src/wok/plugins/gingerbase/ui/config/tab-ext.xml | 2 +-
src/wok/plugins/gingerbase/ui/css/Makefile.am | 11 +-
.../plugins/gingerbase/ui/css/src/gingerbase.scss | 29 +
.../gingerbase/ui/css/src/modules/_host.scss | 227 ++++++++
.../gingerbase/ui/css/theme-default/host.css | 289 ---------
.../gingerbase/ui/css/theme-default/report-add.css | 39 --
.../ui/css/theme-default/report-rename.css | 41 --
.../ui/css/theme-default/repository-add.css | 44 --
.../ui/css/theme-default/repository-edit.css | 90 ---
src/wok/plugins/gingerbase/ui/images/Makefile.am | 2 -
src/wok/plugins/gingerbase/ui/images/logo.ico | Bin 1214 -> 15086 bytes
.../gingerbase/ui/images/theme-default/Makefile.am | 20 -
.../ui/images/theme-default/host-icon-sprite.png | Bin 1034 -> 0 bytes
.../images/theme-default/kimchi-loading15x15.gif | Bin 1653 -> 0 bytes
.../gingerbase/ui/js/src/gingerbase.host.js | 645 +++++++++++----------
src/wok/plugins/gingerbase/ui/pages/host.html.tmpl | 213 +++----
.../gingerbase/ui/pages/report-add.html.tmpl | 46 +-
.../gingerbase/ui/pages/report-rename.html.tmpl | 42 +-
.../gingerbase/ui/pages/repository-add.html.tmpl | 124 ++--
.../gingerbase/ui/pages/repository-edit.html.tmpl | 138 ++---
src/wok/plugins/kimchi/ui/config/tab-ext.xml | 8 +-
.../kimchi/ui/css/theme-default/guest-edit.css | 8 +-
.../kimchi/ui/css/theme-default/network.css | 267 ---------
.../kimchi/ui/css/theme-default/storage.css | 502 +---------------
.../css/theme-default/storagepool-add-volume.css | 36 --
.../kimchi/ui/css/theme-default/template-edit.css | 175 ------
.../kimchi/ui/css/theme-default/template.css | 85 ---
.../kimchi/ui/css/theme-default/template_add.css | 317 ----------
.../kimchi/ui/css/theme-default/template_list.css | 267 ---------
.../kimchi/ui/js/src/kimchi.guest_add_main.js | 10 +-
.../kimchi/ui/js/src/kimchi.guest_edit_main.js | 63 +-
src/wok/plugins/kimchi/ui/js/src/kimchi.network.js | 318 +---------
.../kimchi/ui/js/src/kimchi.network_add_main.js | 166 ++++++
.../kimchi/ui/js/src/kimchi.storage_main.js | 191 ++++--
.../ui/js/src/kimchi.storagepool_add_main.js | 36 +-
.../js/src/kimchi.storagepool_add_volume_main.js | 1 +
.../kimchi/ui/js/src/kimchi.template_add_main.js | 406 +++++++++----
.../kimchi/ui/js/src/kimchi.template_edit_main.js | 48 +-
.../kimchi/ui/js/src/kimchi.template_main.js | 59 +-
.../plugins/kimchi/ui/pages/guest-add.html.tmpl | 114 ++--
.../plugins/kimchi/ui/pages/guest-edit.html.tmpl | 97 +---
.../kimchi/ui/pages/guest-storage-add.html.tmpl | 21 +-
src/wok/plugins/kimchi/ui/pages/guests.html.tmpl | 61 +-
.../plugins/kimchi/ui/pages/network-add.html.tmpl | 70 +++
src/wok/plugins/kimchi/ui/pages/network.html.tmpl | 148 ++---
src/wok/plugins/kimchi/ui/pages/storage.html.tmpl | 210 ++++---
.../ui/pages/storagepool-add-volume.html.tmpl | 73 +--
.../kimchi/ui/pages/storagepool-add.html.tmpl | 245 ++++----
.../plugins/kimchi/ui/pages/template-add.html.tmpl | 344 +++++------
.../kimchi/ui/pages/template-edit.html.tmpl | 266 ++++-----
.../plugins/kimchi/ui/pages/templates.html.tmpl | 139 +++--
ui/css/src/bootstrap-select.custom.scss | 4 +
ui/css/src/modules/_administration.scss | 0
ui/css/src/modules/_datagrid.scss | 72 +++
ui/css/src/modules/_guests.scss | 92 +++
ui/css/src/modules/_host.scss | 169 ------
ui/css/src/modules/_iso-list.scss | 126 ++++
ui/css/src/modules/_jqueryui.scss | 0
ui/css/src/modules/_menu-flat.scss | 16 +-
ui/css/src/modules/_modal-flat.scss | 2 +-
ui/css/src/modules/_navbar-flat.scss | 12 +-
ui/css/src/modules/_network.scss | 122 ++++
ui/css/src/modules/_storage.scss | 393 +++++++++++++
ui/css/src/modules/_templates.scss | 304 ++++++++++
ui/css/src/modules/_toolbar.scss | 29 +-
ui/css/src/modules/_wok-confirm.scss | 42 ++
ui/css/src/modules/_wok-grid.scss | 25 +-
ui/css/src/modules/_wok-variables.scss | 11 +-
ui/css/src/wok.scss | 132 +++--
ui/images/theme-default/Makefile.am | 2 +-
ui/images/theme-default/alert.png | Bin 3537 -> 0 bytes
ui/images/theme-default/arrow-down-black.png | Bin 2942 -> 0 bytes
ui/images/theme-default/arrow-down.png | Bin 537 -> 0 bytes
ui/images/theme-default/bg-mask.png | Bin 2899 -> 0 bytes
ui/images/theme-default/bg.png | Bin 35585 -> 0 bytes
ui/images/theme-default/check-green.png | Bin 3501 -> 0 bytes
ui/images/theme-default/check-grey.png | Bin 3535 -> 0 bytes
ui/images/theme-default/folder-arrow-down.png | Bin 2956 -> 0 bytes
ui/images/theme-default/folder-arrow-right.png | Bin 2958 -> 0 bytes
ui/images/theme-default/high.png | Bin 0 -> 532 bytes
ui/images/theme-default/high_disabled.png | Bin 0 -> 513 bytes
ui/images/theme-default/icon-alert.png | Bin 3545 -> 0 bytes
ui/images/theme-default/icon-centos.png | Bin 0 -> 1801 bytes
ui/images/theme-default/icon-debian.png | Bin 0 -> 3318 bytes
ui/images/theme-default/icon-event.png | Bin 3791 -> 0 bytes
ui/images/theme-default/icon-fedora.png | Bin 0 -> 3552 bytes
ui/images/theme-default/icon-gentoo.png | Bin 0 -> 1880 bytes
ui/images/theme-default/icon-opensuse.png | Bin 0 -> 945 bytes
ui/images/theme-default/icon-red_hat.png | Bin 0 -> 3352 bytes
ui/images/theme-default/icon-setting.png | Bin 3664 -> 0 bytes
ui/images/theme-default/icon-tool.png | Bin 4466 -> 0 bytes
ui/images/theme-default/icon-ubuntu.png | Bin 0 -> 611 bytes
ui/images/theme-default/icon-unknown.png | Bin 0 -> 761 bytes
ui/images/theme-default/logo-flat.svg | 113 ++++
ui/images/theme-default/logo-plain.gif | Bin 1601 -> 0 bytes
ui/images/theme-default/logo-white.png | Bin 9879 -> 7583 bytes
ui/images/theme-default/low.png | Bin 0 -> 532 bytes
ui/images/theme-default/low_disabled.png | Bin 0 -> 515 bytes
ui/images/theme-default/med.png | Bin 0 -> 581 bytes
ui/images/theme-default/med_disabled.png | Bin 0 -> 534 bytes
ui/images/theme-default/nav-bg.png | Bin 3043 -> 0 bytes
ui/images/theme-default/thumb-guest.png | Bin 3896 -> 0 bytes
ui/images/theme-default/thumb-host.png | Bin 5069 -> 0 bytes
ui/images/theme-default/user-icon.png | Bin 269 -> 0 bytes
ui/images/theme-default/wok-loading.gif | Bin 6181 -> 0 bytes
ui/js/src/wok.confirm.js | 91 +++
ui/js/src/wok.datagrid.js | 123 ++++
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 | 61 +-
ui/js/src/wok.message.js | 100 +---
ui/js/src/wok.window.js | 31 +-
ui/js/widgets/grid.js | 123 ----
ui/js/widgets/samples/grid.html | 4 +-
ui/pages/login.html.tmpl | 186 +++---
ui/pages/wok-ui.html.tmpl | 222 +++----
120 files changed, 4865 insertions(+), 5299 deletions(-)
create mode 100644 src/wok/plugins/gingerbase/ui/css/src/gingerbase.scss
create mode 100644 src/wok/plugins/gingerbase/ui/css/src/modules/_host.scss
delete mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/host.css
delete mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/report-add.css
delete mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/report-rename.css
delete mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/repository-add.css
delete mode 100644 src/wok/plugins/gingerbase/ui/css/theme-default/repository-edit.css
delete mode 100644 src/wok/plugins/gingerbase/ui/images/theme-default/Makefile.am
delete mode 100644
src/wok/plugins/gingerbase/ui/images/theme-default/host-icon-sprite.png
delete mode 100644
src/wok/plugins/gingerbase/ui/images/theme-default/kimchi-loading15x15.gif
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/network.css
delete mode 100644
src/wok/plugins/kimchi/ui/css/theme-default/storagepool-add-volume.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/template-edit.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/template.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/template_add.css
delete mode 100644 src/wok/plugins/kimchi/ui/css/theme-default/template_list.css
create mode 100644 src/wok/plugins/kimchi/ui/js/src/kimchi.network_add_main.js
create mode 100644 src/wok/plugins/kimchi/ui/pages/network-add.html.tmpl
create mode 100644 ui/css/src/modules/_administration.scss
create mode 100644 ui/css/src/modules/_datagrid.scss
create mode 100644 ui/css/src/modules/_guests.scss
delete mode 100644 ui/css/src/modules/_host.scss
create mode 100644 ui/css/src/modules/_iso-list.scss
create mode 100644 ui/css/src/modules/_jqueryui.scss
create mode 100644 ui/css/src/modules/_network.scss
create mode 100644 ui/css/src/modules/_storage.scss
create mode 100644 ui/css/src/modules/_templates.scss
create mode 100644 ui/css/src/modules/_wok-confirm.scss
delete mode 100644 ui/images/theme-default/alert.png
delete mode 100644 ui/images/theme-default/arrow-down-black.png
delete mode 100644 ui/images/theme-default/arrow-down.png
delete mode 100644 ui/images/theme-default/bg-mask.png
delete mode 100644 ui/images/theme-default/bg.png
delete mode 100644 ui/images/theme-default/check-green.png
delete mode 100644 ui/images/theme-default/check-grey.png
delete mode 100644 ui/images/theme-default/folder-arrow-down.png
delete mode 100644 ui/images/theme-default/folder-arrow-right.png
create mode 100644 ui/images/theme-default/high.png
create mode 100644 ui/images/theme-default/high_disabled.png
delete mode 100644 ui/images/theme-default/icon-alert.png
create mode 100644 ui/images/theme-default/icon-centos.png
create mode 100644 ui/images/theme-default/icon-debian.png
delete mode 100644 ui/images/theme-default/icon-event.png
create mode 100644 ui/images/theme-default/icon-fedora.png
create mode 100644 ui/images/theme-default/icon-gentoo.png
create mode 100644 ui/images/theme-default/icon-opensuse.png
create mode 100644 ui/images/theme-default/icon-red_hat.png
delete mode 100644 ui/images/theme-default/icon-setting.png
delete mode 100644 ui/images/theme-default/icon-tool.png
create mode 100644 ui/images/theme-default/icon-ubuntu.png
create mode 100644 ui/images/theme-default/icon-unknown.png
create mode 100644 ui/images/theme-default/logo-flat.svg
delete mode 100644 ui/images/theme-default/logo-plain.gif
create mode 100644 ui/images/theme-default/low.png
create mode 100644 ui/images/theme-default/low_disabled.png
create mode 100644 ui/images/theme-default/med.png
create mode 100644 ui/images/theme-default/med_disabled.png
delete mode 100644 ui/images/theme-default/nav-bg.png
delete mode 100644 ui/images/theme-default/thumb-guest.png
delete mode 100644 ui/images/theme-default/thumb-host.png
delete mode 100644 ui/images/theme-default/user-icon.png
delete mode 100644 ui/images/theme-default/wok-loading.gif
create mode 100644 ui/js/src/wok.confirm.js
create mode 100644 ui/js/src/wok.datagrid.js
create mode 100644 ui/js/src/wok.list.js
delete mode 100644 ui/js/widgets/grid.js
--
1.9.3