From: Jordan Augé Date: Fri, 2 Aug 2013 09:11:07 +0000 (+0200) Subject: portal.dashboard: static files location + css X-Git-Tag: myslice-0.2-1~83^2~2 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=617e22de7373b54e4be9e8eacc4375247b09dc26 portal.dashboard: static files location + 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 %}