diff options
author | Jaromir Coufal <jcoufal@redhat.com> | 2013-07-26 14:17:00 +0200 |
---|---|---|
committer | Tomas Sedovic <tomas@sedovic.cz> | 2013-08-01 16:18:57 +0200 |
commit | 0314a8071c9ed86fcbcf4bd44c39a2416ae024f7 (patch) | |
tree | ed922b6e32d36751bac23e665d9b73ff952cb147 | |
parent | aabc4743d1b9627ebe13f7f4c2e01469290ad109 (diff) | |
download | tuskar-ui-0314a8071c9ed86fcbcf4bd44c39a2416ae024f7.tar.gz |
Updated class creation form (img, type, styling)
- renamed image to overcloud-image
- removed Storage type from types and added not_compute
- fixed styling of max VMs sizes
- removed description in modals
Change-Id: I8f10b5b43e2191729ecc1992221b2f7d8ef40b0e
2 files changed, 24 insertions, 3 deletions
diff --git a/openstack_dashboard/dashboards/infrastructure/resource_management/resource_classes/workflows.py b/openstack_dashboard/dashboards/infrastructure/resource_management/resource_classes/workflows.py index 54b31c3f..24b7c4ae 100644 --- a/openstack_dashboard/dashboards/infrastructure/resource_management/resource_classes/workflows.py +++ b/openstack_dashboard/dashboards/infrastructure/resource_management/resource_classes/workflows.py @@ -37,15 +37,15 @@ class ResourceClassInfoAndFlavorsAction(workflows.Action): choices=[('', ''), ('compute', ('Compute')), - ('storage', - ('Storage')), + ('not_compute', + ('Non Compute')), ], widget=forms.Select( attrs={'class': 'switchable'}) ) image = forms.ChoiceField(label=_('Provisioning Image'), required=True, - choices=[('compute-img', ('Compute-Fedora19'))], + choices=[('compute-img', ('overcloud-compute'))], widget=forms.Select( attrs={'class': 'switchable'}) ) diff --git a/openstack_dashboard/dashboards/infrastructure/static/infrastructure/less/infrastructure.less b/openstack_dashboard/dashboards/infrastructure/static/infrastructure/less/infrastructure.less index cc4c9204..eb915f38 100644 --- a/openstack_dashboard/dashboards/infrastructure/static/infrastructure/less/infrastructure.less +++ b/openstack_dashboard/dashboards/infrastructure/static/infrastructure/less/infrastructure.less @@ -374,3 +374,24 @@ input { .alerts .icon-warning-sign { padding-right: 5px; } + +// forms +.modal { + .help_text, + .right { + display: none; + } +} + +// rack creation +#id_resource_class_flavors_table { + .table tr td { + line-height: 2; + } + + .number_input_slim { + width: 3em; + padding: 2px 5px; + margin: 0; + } +} |