From 1a4a319d32ce507df95c7cdce65a915a672f311e Mon Sep 17 00:00:00 2001 From: Brian Federle Date: Tue, 30 Apr 2013 13:14:31 -0700 Subject: [PATCH] VM wizard: Show message if no affinity groups are available. --- .../classes/resources/messages.properties | 2 ++ ui/css/cloudstack3.css | 6 ++++ ui/dictionary.jsp | 2 ++ ui/scripts/ui-custom/instanceWizard.js | 31 ++++++++++++------- 4 files changed, 30 insertions(+), 11 deletions(-) diff --git a/client/WEB-INF/classes/resources/messages.properties b/client/WEB-INF/classes/resources/messages.properties index 2145e7f9450..1638be19e49 100644 --- a/client/WEB-INF/classes/resources/messages.properties +++ b/client/WEB-INF/classes/resources/messages.properties @@ -14,6 +14,8 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. +message.select.affinity.groups=Please select any affinity groups you want this VM to belong to: +message.no.affinity.groups=You do not have any affinity groups. Please continue to the next step. label.action.delete.nic=Remove NIC message.action.delete.nic=Please confirm that want to remove this NIC, which will also remove the associated network from the VM. changed.item.properties=Changed item properties diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index eac0b20a1be..cb59216b12b 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -5716,6 +5716,12 @@ label.error { margin: 10px 10px 0px; } +.multi-wizard .select-container p { + padding: 11px; + color: #424242; + background: #DFDFDF; +} + .multi-wizard .select-container .select { font-size: 13px; margin: -1px 0 0; diff --git a/ui/dictionary.jsp b/ui/dictionary.jsp index dd76c14a994..ded9ea063d4 100644 --- a/ui/dictionary.jsp +++ b/ui/dictionary.jsp @@ -25,6 +25,8 @@ under the License. <% long now = System.currentTimeMillis(); %>