From: Samuel Guimarães <sguimaraes943(a)gmail.com>
From: Samuel Guimarães <sguimaraes943(a)gmail.com>
This patch adds a block behavior on the action to select invalid templates when creating a
guest
peterpennings (1):
Disable Template when it has invalid parameters
Samuel Guimarães (1):
Disable Template when it has invalid parameters
v2:
- Removed reference to kimchi.network_add_main.js
- Fixed warning icon position in list and gallery views
- Remoed tooltip when template is valid
- Added front-end form validation when user attempts to save invalid storage pool (must
apply "Enabled .has-feedback icons" patch sent to Wok first)
- Added form control error class when template has invalid cdrom (reported issue #933 for
vm-image not showing in invalid key)
v3:
- cdrom and vm-image new path working when submiting updated Template.
ui/css/kimchi.css | 97 ++++++++++++++++++++++++++++++++--
ui/css/src/modules/_guests.scss | 6 +++
ui/css/src/modules/_iso-list.scss | 22 +++++++-
ui/css/src/modules/_templates.scss | 53 +++++++++++++++++--
ui/js/src/kimchi.guest_add_main.js | 7 +++
ui/js/src/kimchi.template_edit_main.js | 60 +++++++++++++++++----
ui/js/src/kimchi.template_main.js | 9 +++-
ui/pages/guest-add.html.tmpl | 11 ++--
ui/pages/i18n.json.tmpl | 1 +
ui/pages/tabs/templates.html.tmpl | 24 +++++----
ui/pages/template-edit.html.tmpl | 6 ++-
11 files changed, 263 insertions(+), 33 deletions(-)
--
1.9.3