From fdc17c5677b2ad6312c38b2f4f186bbbc16a6555 Mon Sep 17 00:00:00 2001 From: Diana Whitten Date: Wed, 29 Jun 2016 14:37:24 -0700 Subject: [PATCH] Containers/Swift has unneccesary padding * Added themable checkboxes so that all the checkboxes are now consistent. There was already a single themable one in the contain detail view * Removed unneccesary padding around swift breadcrumb * Added themable checkboxes to hz-table * Replaced 'empty table' with bootstrap well, which works quite well for this type of implememtation. Closes-bug: #1597532 Change-Id: Ifff3f608d309ef0bd926c553be0a3a0e1d419096 --- .../framework/widgets/table/hz-dynamic-table.html | 15 +++++++++++---- .../dashboard/project/containers/_containers.scss | 9 +++++++++ .../containers/create-container-modal.html | 6 +++--- .../project/containers/select-container.html | 13 ++++++------- .../themes/material/static/horizon/_icons.scss | 1 + 5 files changed, 30 insertions(+), 14 deletions(-) diff --git a/horizon/static/framework/widgets/table/hz-dynamic-table.html b/horizon/static/framework/widgets/table/hz-dynamic-table.html index 78ed53dc8e..a68217b2b9 100644 --- a/horizon/static/framework/widgets/table/hz-dynamic-table.html +++ b/horizon/static/framework/widgets/table/hz-dynamic-table.html @@ -28,7 +28,10 @@ --> - +
+ + +
- +
+ + +
li { + margin-top: 0; + } +} + +.hz-object-empty { + margin-top: 0; } .hz-object-detail { diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/create-container-modal.html b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/create-container-modal.html index 447137d66e..cc60a50f34 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/create-container-modal.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/create-container-modal.html @@ -25,10 +25,10 @@
-
+
+
diff --git a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/select-container.html b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/select-container.html index 0d20e8ba5d..4a09460dd8 100644 --- a/openstack_dashboard/dashboards/project/static/dashboard/project/containers/select-container.html +++ b/openstack_dashboard/dashboards/project/static/dashboard/project/containers/select-container.html @@ -1,7 +1,6 @@ - - - - - - -
Select a container to browse.
+
+
+ + Select a container to browse. +
+
diff --git a/openstack_dashboard/themes/material/static/horizon/_icons.scss b/openstack_dashboard/themes/material/static/horizon/_icons.scss index e1a119e3da..68bab57c02 100644 --- a/openstack_dashboard/themes/material/static/horizon/_icons.scss +++ b/openstack_dashboard/themes/material/static/horizon/_icons.scss @@ -44,6 +44,7 @@ $icon-swap: ( folder-o: 'folder-outline', group: 'account-multiple', home: 'home', + info-circle: 'information-outline', link: 'link-variant', list-alt: 'view-list', minus: 'minus',