From d4ca7e80d23649d08b84d97ae0ae7e9b9ec3ca4b Mon Sep 17 00:00:00 2001 From: Akihiro Motoki Date: Mon, 8 Dec 2014 22:32:01 +0900 Subject: [PATCH] Wrap the main block of detail.html with col-sm-12 class In some detail page, the main block was not wrapped with col-sm-12 bootstrap class and it leads to inconsistent left margin among detail pages. Change-Id: Ib2eb71f66dcd000e823da72166d174baf36c2ff9 Closes-Bug: #1400317 --- .../admin/hypervisors/templates/hypervisors/detail.html | 6 +++++- .../access_and_security/security_groups/detail.html | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/admin/hypervisors/templates/hypervisors/detail.html b/openstack_dashboard/dashboards/admin/hypervisors/templates/hypervisors/detail.html index 8d3da214c6..c3bceb7887 100644 --- a/openstack_dashboard/dashboards/admin/hypervisors/templates/hypervisors/detail.html +++ b/openstack_dashboard/dashboards/admin/hypervisors/templates/hypervisors/detail.html @@ -7,5 +7,9 @@ {% endblock page_header %} {% block main %} -{{ table.render }} +
+
+ {{ table.render }} +
+
{% endblock %} diff --git a/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html b/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html index ed03803078..16d65b78fb 100644 --- a/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html +++ b/openstack_dashboard/dashboards/project/access_and_security/templates/access_and_security/security_groups/detail.html @@ -7,5 +7,9 @@ {% endblock page_header %} {% block main %} +
+
{{ table.render }} +
+
{% endblock %}