From: Ciro Scognamiglio Date: Mon, 7 Jul 2014 14:03:20 +0000 (+0200) Subject: style for the resource view X-Git-Tag: myslice-1.1~47^2~4 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=758fe3c05a9c9ec549a69134cec66b46bfd96003;p=unfold.git style for the resource view --- diff --git a/plugins/apply/templates/apply.html b/plugins/apply/templates/apply.html index 2e5bab02..a4c5a332 100644 --- a/plugins/apply/templates/apply.html +++ b/plugins/apply/templates/apply.html @@ -20,5 +20,5 @@ - + diff --git a/plugins/filter_status/templates/filter_status.html b/plugins/filter_status/templates/filter_status.html index b6ce25da..8dc661f9 100644 --- a/plugins/filter_status/templates/filter_status.html +++ b/plugins/filter_status/templates/filter_status.html @@ -1,43 +1,43 @@
- View: + View: -

Available

+ Available
-

Reserved

+ Reserved
- -

Unconfigured

+ Unconfigured
- -

Pending

+ Pending
diff --git a/plugins/querytable/templates/querytable.html b/plugins/querytable/templates/querytable.html index a1792b44..4742547e 100644 --- a/plugins/querytable/templates/querytable.html +++ b/plugins/querytable/templates/querytable.html @@ -1,4 +1,4 @@ -
+
diff --git a/portal/static/css/onelab.css b/portal/static/css/onelab.css index 0b2b6609..df1e7dc4 100644 --- a/portal/static/css/onelab.css +++ b/portal/static/css/onelab.css @@ -132,6 +132,20 @@ button.btn-onelab:active, input.btn-onelab:active { margin-top:2px; } +.container-resource button { + padding:2px 4px; + border-radius:3px; + font-size:9pt; + font-weight:normal; +} +.container-resource select,.container-resource option, .container-resource input { + padding:2px 4px; + font-size:9pt; +} +.badge { + font-size:9pt; + margin-left:4px; +} /***** Notifications *****/ .warning { border: 1px solid red; @@ -296,7 +310,10 @@ ul.nav-resources a { } /* SLICE VIEW */ - +div.container-resource { + padding-right:15px; + padding-left:15px; +} div#slice-view { margin:0; @@ -340,6 +357,23 @@ a.list-group-item p.list-group-item-text { color: black !important; } +span.sl-resources { + font-size:9pt; + color:gray; +} +a.sl-resources, a.sl-resources:hover { + font-size:9pt; + border:0; + padding:2px 4px; + -moz-border-radius: 4px; + border-radius: 4px; +} +a.sl-resources.active, a.sl-resources.active:hover, a.sl-resources.active:focus { + border:0; + -moz-border-radius: 4px; + border-radius: 4px; +} + div#slice-info { margin-top:25px; } diff --git a/portal/templates/onelab/onelab_registration_view.html b/portal/templates/onelab/onelab_registration_view.html index 17a76cf7..7474eb3f 100644 --- a/portal/templates/onelab/onelab_registration_view.html +++ b/portal/templates/onelab/onelab_registration_view.html @@ -483,7 +483,7 @@ -{% endif %} \ No newline at end of file +{% endif %} + + + \ No newline at end of file diff --git a/portal/templates/slice-resource-view.html b/portal/templates/slice-resource-view.html index 4ecf483d..a8a9ac9f 100644 --- a/portal/templates/slice-resource-view.html +++ b/portal/templates/slice-resource-view.html @@ -18,11 +18,10 @@ $(document).ready(function() { {% endblock %} {% block content %} -
- {% widget '_widget-slice-sections.html' %} -
+{% widget '_widget-slice-sections.html' %} +
+
- {{filter_testbeds}}
@@ -46,8 +45,15 @@ $(document).ready(function() {

{{ msg }}

{% endif %}
- - {{ filter_status }}{{ apply }} + +
+
+ {{ filter_status }} +
+
+ {{ apply }} +
+
- + -
-
- - - {{list_resources}} - -
-
- {{map_resources}} -
-
- {{scheduler}} -
- - + + {{list_resources}} + +
+
+ {{map_resources}} +
+
+ {{scheduler}} +
+ + +
---> - + + + {% endblock %}