From: Loic Baron Date: Wed, 6 Nov 2013 16:47:36 +0000 (+0100) Subject: styling for the demos X-Git-Tag: myslice-0.3-0~113^2~10 X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=commitdiff_plain;h=3167207804460a2c42e1e5a8346c597f9832d295 styling for the demos --- diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 98da579f..60f05bcf 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -10,30 +10,6 @@ {% block unfold1_main %} - -

Platform Access

-
-
- - - - - - - - {% for row in data %} - - - - - - - {%endfor%} -
PlatformAccount Typeuser_hrnPub Key
{{ row.platform_name }} {{ row.account_type }} {{ row.usr_hrn }} {{ row.usr_pubkey }}
-
-
- -

MySlice Account

{% if messages %} @@ -154,4 +130,28 @@ +

Platform Access

+
+
+ + + + + + + + {% for row in data %} + + + + + + + {%endfor%} +
PlatformAccount Typeuser_hrnPub Key
{{ row.platform_name }} {{ row.account_type }} {{ row.usr_hrn }} {{ row.usr_pubkey }}
+
+
+ + + {% endblock %} diff --git a/portal/templates/contact.html b/portal/templates/contact.html index 26526477..624fac30 100644 --- a/portal/templates/contact.html +++ b/portal/templates/contact.html @@ -7,7 +7,7 @@ {% block unfold1_main %} -
+

Onelab Support

If you have already registered, then please send an e-mail or visit us

diff --git a/portal/templates/home-view.html b/portal/templates/home-view.html index 123bc28b..446cc31e 100644 --- a/portal/templates/home-view.html +++ b/portal/templates/home-view.html @@ -10,7 +10,7 @@ -
+

Welcome to the OneLab portal !

New to OneLab? Please register or learn more about the project.

diff --git a/portal/templates/registration_view.html b/portal/templates/registration_view.html index 3d1010c5..3d19def7 100644 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@ -2,7 +2,7 @@ {% block unfold1_main %} -
+

OneLab Experimenter Registration

For First Line Support please Contact Support

diff --git a/portal/templates/resource.html b/portal/templates/resource.html index 27089a72..d379470a 100644 --- a/portal/templates/resource.html +++ b/portal/templates/resource.html @@ -6,8 +6,15 @@ {% block unfold1_main %} +

Resource

+
{{resource}} +
+
{{resource_as_map}} +
+
{{resource_stats}} +
{% endblock %} diff --git a/portal/templates/slice-request-view.html b/portal/templates/slice-request-view.html index 6aede04f..3b3a01ff 100644 --- a/portal/templates/slice-request-view.html +++ b/portal/templates/slice-request-view.html @@ -11,7 +11,7 @@ -
+

Request a Slice

diff --git a/portal/templates/validate_pending.html b/portal/templates/validate_pending.html index 24a6dbcb..9ddf01c9 100644 --- a/portal/templates/validate_pending.html +++ b/portal/templates/validate_pending.html @@ -46,9 +46,9 @@ {% endblock %} {% block unfold1_main %} - +

Pending requests

- +

My authorities

@@ -56,7 +56,8 @@ {% for authority, requests in my_authorities.items %}

{{authority}}

- +
+
@@ -161,5 +162,6 @@ {% endif %} - + + {% endblock %} diff --git a/ui/templates/base.html b/ui/templates/base.html index 8c49b4a6..96c04209 100644 --- a/ui/templates/base.html +++ b/ui/templates/base.html @@ -5,6 +5,7 @@ {# This is where insert_str will end up #}{% media_container prelude %} {% include 'messages-transient-header.html' %} + {{ header_prelude }} diff --git a/unfold/page.py b/unfold/page.py index 5922ae7e..024bd449 100644 --- a/unfold/page.py +++ b/unfold/page.py @@ -34,6 +34,7 @@ class Page: self._queue=[] # global prelude object self.prelude=Prelude(css_files='css/plugin.css') + print "Loading... CSS OneLab" self.prelude=Prelude(css_files='css/onelab_marko.css') # record known plugins hashed on their domid diff --git a/unfold/static/css/onelab_marko.css b/unfold/static/css/onelab_marko.css index 3ca8da7b..7cab5e0e 100644 --- a/unfold/static/css/onelab_marko.css +++ b/unfold/static/css/onelab_marko.css @@ -11,6 +11,12 @@ .container { padding: 0 !important; color: #fff; + background: url(http://new.fit-equipex.fr/images/background.jpg) no-repeat; + margin: 0; + width: 100%; + max-width: 100%; + min-height: 100%; + height: 100%; } .container h1 { @@ -55,7 +61,15 @@ a.plugin-tooltip:hover { /* LIST VIEW */ - +div.well-lg { + background-color: rgba(168, 32, 202, 0.5) !important; +} +div.onelab-title { + background-color: rgba(168, 32, 202, 0.5) !important; +} +div.well { + background-color: rgba(0, 0, 0, 0.5) !important; +} h2.well.well-lg { border-radius:0; border: 0; @@ -162,7 +176,8 @@ h2.well.well-lg { /* TOPMENU.CSS */ body { - background: #30196d !important; + /* background: #30196d !important; */ + background: black !important; padding-top: 60px; padding-bottom: 0px; }
type id