portal.dashboard: static files location + css
authorJordan Augé <jordan.auge@lip6.fr>
Fri, 2 Aug 2013 09:11:07 +0000 (11:11 +0200)
committerJordan Augé <jordan.auge@lip6.fr>
Fri, 2 Aug 2013 09:11:07 +0000 (11:11 +0200)
portal/static/dashboard.css [new file with mode: 0644]
portal/templates/dashboard.html

diff --git a/portal/static/dashboard.css b/portal/static/dashboard.css
new file mode 100644 (file)
index 0000000..22d90cf
--- /dev/null
@@ -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;
+}
index 14892f3..bc4be75 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "layout-unfold1.html" %}
 
 {% block head %}
-<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/dashboard.css" />
+<link rel="stylesheet" type="text/css" href="{{STATIC_URL}}/css/dashboard.css" />
 {% endblock %}
 
 {% block unfold1_main %}