From 291ea741a0beb0d8dedfa48f3313c02465fc8afc Mon Sep 17 00:00:00 2001 From: tinytmy Date: Mon, 2 Feb 2015 10:40:07 +0800 Subject: [PATCH] change the network page's layout when launch instance Change the css for networklist and change the layout for network selected page. Closes-bug:#1416286 Change-Id: I3e6fdc21ec7c3b565fe4ad833a9628303a7efa46 --- .../instances/templates/instances/_update_networks.html | 4 ++-- .../static/dashboard/scss/components/_workflow.scss | 4 ++++ openstack_dashboard/static/dashboard/scss/horizon.scss | 2 +- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/openstack_dashboard/dashboards/project/instances/templates/instances/_update_networks.html b/openstack_dashboard/dashboards/project/instances/templates/instances/_update_networks.html index 9c22ca7ab8..842d611ae5 100644 --- a/openstack_dashboard/dashboards/project/instances/templates/instances/_update_networks.html +++ b/openstack_dashboard/dashboards/project/instances/templates/instances/_update_networks.html @@ -4,7 +4,7 @@ - - diff --git a/openstack_dashboard/static/dashboard/scss/components/_workflow.scss b/openstack_dashboard/static/dashboard/scss/components/_workflow.scss index 08c076337d..7fb4efd94f 100644 --- a/openstack_dashboard/static/dashboard/scss/components/_workflow.scss +++ b/openstack_dashboard/static/dashboard/scss/components/_workflow.scss @@ -6,6 +6,10 @@ padding-top: 10px; } + td { + vertical-align: top; + } + fieldset > table { margin-bottom: 0; } diff --git a/openstack_dashboard/static/dashboard/scss/horizon.scss b/openstack_dashboard/static/dashboard/scss/horizon.scss index c959219b7a..14f199ed60 100644 --- a/openstack_dashboard/static/dashboard/scss/horizon.scss +++ b/openstack_dashboard/static/dashboard/scss/horizon.scss @@ -1562,7 +1562,7 @@ label.log-length { width: auto !important; @include box-sizing(border-box); li { - width: 226px; + width: 80%; list-style-type: none; margin: 6px auto; padding: 3px;
+
@@ -12,7 +12,7 @@
+ {% include "project/instances/_launch_network_help.html" %}