From 617e22de7373b54e4be9e8eacc4375247b09dc26 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jordan=20Aug=C3=A9?= Date: Fri, 2 Aug 2013 11:11:07 +0200 Subject: [PATCH] portal.dashboard: static files location + css --- portal/static/dashboard.css | 86 +++++++++++++++++++++++++++++++++ portal/templates/dashboard.html | 2 +- 2 files changed, 87 insertions(+), 1 deletion(-) create mode 100644 portal/static/dashboard.css diff --git a/portal/static/dashboard.css b/portal/static/dashboard.css new file mode 100644 index 00000000..22d90cf3 --- /dev/null +++ b/portal/static/dashboard.css @@ -0,0 +1,86 @@ + +.ms-dashboard { + width: 100%; +} + +.ms-dashboard-panel { + +} + +.ms-dashboard-caption { + padding-left: 40px; +} + +.ms-dashboard-caption h2 { + position: relative; + border-bottom: solid 1px #CCC; + width: 100%; +} + +.ms-dashboard-content { + padding-left: 40px; +} + +#ms-dashboard-profile>div.ms-dashboard-caption { + background: no-repeat url(../img/user.png); +} + +#ms-dashboard-testbeds>div.ms-dashboard-caption { + background: no-repeat url(../img/testbeds.png); +} + +#ms-dashboard-slices>div.ms-dashboard-caption { + background: no-repeat url(../img/experiments.png); +} + + +#ms-dashboard-profile { + float: left; + position: relative; + top: 1em; + width: 45%; +} + +#ms-dashboard-slices { + float: left; + position: relative; + width: 45%; + padding-top: 1em; +} + +#ms-dashboard-testbeds { + float: right; + border: 1px #CCC; + padding: 15px; + top: 0.5em; + width: 45%; +} + +li.icn { + padding: 0 0 0 0; + list-style: none; + padding-left: 20px; +} + +img.icn { + padding: 0 0 0 0; + position: relative; + top: 4px; + padding-right: 5px; +} + +li.icn-warning { + background: no-repeat url(images/button-warning-12x12.png) 0 2px; +} +li.icn-play { + background: no-repeat url(images/button-play-12x12.png) 0 2px; +} +li.icn-stop { + background: no-repeat url(images/button-stop-12x12.png) 0 2px; +} +li.icn-forbidden { + background: no-repeat url(images/button-forbidden-12x12.png) 0 2px; +} +li.icn a { + text-decoration: none; +} diff --git a/portal/templates/dashboard.html b/portal/templates/dashboard.html index 14892f3b..bc4be759 100644 --- a/portal/templates/dashboard.html +++ b/portal/templates/dashboard.html @@ -1,7 +1,7 @@ {% extends "layout-unfold1.html" %} {% block head %} - + {% endblock %} {% block unfold1_main %} -- 2.43.0