From: Thierry Parmentelat Date: Wed, 13 Nov 2013 07:08:36 +0000 (+0100) Subject: Merge branch 'master' into newnames X-Git-Tag: myslice-0.3-0~113^2~7^2~20 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0120bc491b3464f4981270a28ac153fa62f3b08b;hp=5afb541f209f479b009e8305dd2626780cadcff9;p=unfold.git Merge branch 'master' into newnames Conflicts: portal/templates/validate_pending.html --- diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index f3c731a9..4b042468 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -10,30 +10,6 @@ {% block unfold_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 3aa9f191..b256d37a 100644 --- a/portal/templates/contact.html +++ b/portal/templates/contact.html @@ -7,7 +7,7 @@ {% block unfold_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 1c887a3b..c5f3bfc6 100644 --- a/portal/templates/home-view.html +++ b/portal/templates/home-view.html @@ -9,7 +9,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 b942b171..52cb402d 100644 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@ -2,7 +2,7 @@ {% block unfold_main %} -
+

OneLab Experimenter Registration

For First Line Support please Contact Support

diff --git a/portal/templates/resource.html b/portal/templates/resource.html index 63466674..5b59f73e 100644 --- a/portal/templates/resource.html +++ b/portal/templates/resource.html @@ -6,8 +6,15 @@ {% block unfold_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 7c7a53f0..4568864a 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 c46fda39..0ab0e572 100644 --- a/portal/templates/validate_pending.html +++ b/portal/templates/validate_pending.html @@ -46,9 +46,9 @@ {% endblock %} {% block unfold_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 2cf0b0a8..b551df76 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 bc44cd1a..7c6d60bd 100644 --- a/unfold/page.py +++ b/unfold/page.py @@ -33,8 +33,10 @@ class Page: # queue of queries with maybe a domid, see enqueue_query 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') # self.prelude=Prelude(css_files=['css/plugin.css','css/onelab_marko.css',]) - self.prelude=Prelude() # record known plugins hashed on their domid def record_plugin (self, plugin): diff --git a/unfold/static/css/onelab_marko.css b/unfold/static/css/onelab_marko.css index c1079f28..a49457b7 100644 --- a/unfold/static/css/onelab_marko.css +++ b/unfold/static/css/onelab_marko.css @@ -5,8 +5,14 @@ /* GENERAL */ .container { - padding: 0 !important; -/* color: #fff; */ + 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, .container h2 { @@ -49,7 +55,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; @@ -156,7 +170,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