From 276bb962b733925a49457ba93d6ff62845ec7994 Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 21 Feb 2012 19:07:47 -0800 Subject: [PATCH] UI updates/fixes reviewed-by: jessica Navigation organizational changes -Rename 'System' -> 'Infrastructure' -Rename 'service offering' -> 'compute offering' (including all associated labels) -Rename 'Configuration' -> 'Service Offerings' -Move hypervisor capabilities under global settings -Rename 'Compute' -> 'Compute and storage' -Make tab width flexible, to support longer labels -bug 13920: Fix static NAT rule listing -Fix typo --- .../classes/resources/messages.properties | 11 +- ui/css/cloudstack3.css | 2 +- ui/index.jsp | 11 +- ui/scripts/configuration.js | 104 +--------- ui/scripts/globalSettings.js | 178 ++++++++++++++---- ui/scripts/instances.js | 4 +- ui/scripts/network.js | 1 + ui/scripts/system.js | 8 +- 8 files changed, 169 insertions(+), 150 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index 55bb04925a9..7671e0e2c20 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -1,4 +1,9 @@ #new labels (begin) ********************************************************************************************** +label.add.compute.offering=Add compute offering +label.compute.offering=Compute offering +label.compute.offerings=Compute offerings +label.select.offering=Select offering +label.menu.infrastructure=Infrastructure label.sticky.tablesize=Table size label.sticky.expire=Expires label.sticky.cookie-name=Cookie name @@ -199,7 +204,7 @@ message.disable.vpn=Are you sure you want to disable VPN? label.disable.vpn=Disable VPN message.enable.vpn=Please confirm that you want VPN access enabled for this IP address. label.enable.vpn=Enable VPN -message.acquire.new.ip=Please confirm that you would like to acquire a net IP for this network. +message.acquire.new.ip=Please confirm that you would like to acquire a new IP for this network. label.elastic=Elastic label.my.network=My network label.add.vms=Add VMs @@ -316,7 +321,7 @@ label.guest.type=Guest Type label.specify.IP.ranges=Specify IP ranges label.conserve.mode=Conserve mode label.created.by.system=Created by system -label.menu.system.service.offerings=System Service Offerings +label.menu.system.service.offerings=System Offerings label.add.system.service.offering=Add System Service Offering label.redundant.router.capability=Redundant router capability label.supported.source.NAT.type=Supported Source NAT type @@ -1253,7 +1258,7 @@ message.add.pod=Add a new pod for zone , pod message.add.primary=Please specify the following parameters to add a new primary storage message.add.secondary.storage=Add a new storage for zone -message.add.service.offering=Please fill in the following data to add a new service offering. +message.add.service.offering=Please fill in the following data to add a new compute offering. message.add.template=Please enter the following data to create your new template message.add.volume=Please fill in the following data to add a new volume. message.additional.networks.desc=Please select additional network(s) that your virtual instance will be connected to. diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index 21f5150106e..3418c30da3d 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -1205,7 +1205,7 @@ div.list-view td.state.off span { .ui-tabs li a { float: left; padding: 15px; - width: 91px; + min-width: 91px; text-align: center; font-size: 11px; margin-right: 1px; diff --git a/ui/index.jsp b/ui/index.jsp index 1fafa96598e..059c91903df 100644 --- a/ui/index.jsp +++ b/ui/index.jsp @@ -68,7 +68,7 @@