From bf4232974f5cca96063f14090e996c8a4050397b Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Thu, 26 Apr 2012 16:17:55 -0700 Subject: [PATCH] CS-14272: cloudstack 3.0 UI - Add Zone Wizard - physical networks step - add Isolation Method dropdown. --- ui/css/cloudstack3.css | 2 +- ui/scripts/ui-custom/zoneWizard.js | 24 +++++++++++++++++++++--- ui/scripts/zoneWizard.js | 23 +++++++++++++++++++---- 3 files changed, 41 insertions(+), 8 deletions(-) diff --git a/ui/css/cloudstack3.css b/ui/css/cloudstack3.css index 85958492bdf..40246a0c1a7 100644 --- a/ui/css/cloudstack3.css +++ b/ui/css/cloudstack3.css @@ -5695,7 +5695,7 @@ label.error { } .multi-wizard.zone-wizard .select-container.multi .field { - width: 176px; + width: 425px; height: 46px; margin-top: -6px; } diff --git a/ui/scripts/ui-custom/zoneWizard.js b/ui/scripts/ui-custom/zoneWizard.js index 9e09829656c..3a727149234 100644 --- a/ui/scripts/ui-custom/zoneWizard.js +++ b/ui/scripts/ui-custom/zoneWizard.js @@ -70,6 +70,7 @@ return { id: $network.index(), name: $network.find('.field.name input[type=text]').val(), + isolationMethod: $network.find('.field.name select').val(), // Traffic type list trafficTypes: $.map( @@ -561,10 +562,27 @@ var $icon = $('
').addClass('physical-network-icon'); var $nameField = $('
').addClass('field name').append( $('
').addClass('name').append( - $('').html('Physical network name') + $('