From: Loic Baron Date: Wed, 13 Nov 2013 05:29:26 +0000 (+0100) Subject: Merge branch 'master' of ssh://git.onelab.eu/git/myslice X-Git-Tag: myslice-0.3-0~113^2~9 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=e6184193b74ac6d5c52289546dae9121bdd99008;hp=-c;p=unfold.git Merge branch 'master' of ssh://git.onelab.eu/git/myslice Conflicts: unfold/page.py unfold/static/css/onelab_marko.css --- e6184193b74ac6d5c52289546dae9121bdd99008 diff --combined portal/templates/contact.html index 624fac30,43adfa5c..8ffbf9c9 --- a/portal/templates/contact.html +++ b/portal/templates/contact.html @@@ -7,22 -7,24 +7,24 @@@ {% block unfold1_main %} -
+

Onelab Support

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

+
{% csrf_token %}
{% for field in form %}
- -
{{ field.errors }} {{ field }}

{{ field.help_text }}

+ +
{{ field.errors }} {{ field }}

{{ field.help_text }}

{% endfor %} - +
diff --combined portal/templates/registration_view.html index 3d19def7,2780d60a..b0bb3896 --- a/portal/templates/registration_view.html +++ b/portal/templates/registration_view.html @@@ -2,7 -2,7 +2,7 @@@ {% block unfold1_main %} -
+

OneLab Experimenter Registration

For First Line Support please Contact Support

@@@ -20,21 -20,21 +20,21 @@@
{% csrf_token %}
- +
-

Enter your first name

+

Enter your first name

- +
-

Enter your last name

+

Enter your last name

- +
-

Please select an authority responsible for vetting your account

+

An authority responsible for vetting your account

- +
-

Enter your login

+

Enter your login

- +
-

Enter a valid email address

+

Enter a valid email address

- +
-

Enter password

+

Enter password

- +
-

Retype the password

+

Retype the password

- +
-

Genkey: Account Delegation Automatic (Recommended)

+

Genkey: Account Delegation Automatic (Recommended)

- +
diff --combined portal/templates/slice-request-view.html index 3b3a01ff,502e380b..b9e0e22d --- a/portal/templates/slice-request-view.html +++ b/portal/templates/slice-request-view.html @@@ -11,7 -11,7 +11,7 @@@ -
+

Request a Slice

@@@ -20,12 -20,12 +20,12 @@@
{% for field in form %}
- +
{{ field.errors }} {{ field }}
-

{{ field.help_text }}

+

{{ field.help_text }}

{% endfor %} - +
diff --combined ui/templates/base.html index 96c04209,2cf0b0a8..b551df76 --- a/ui/templates/base.html +++ b/ui/templates/base.html @@@ -5,13 -5,11 +5,12 @@@ {# This is where insert_str will end up #}{% media_container prelude %} {% include 'messages-transient-header.html' %} + {{ header_prelude }} {% block head %} {% endblock head %} {# let's add these ones no matter what #} - {% insert_str prelude "css/layout-unfold2.css" %} {% insert_str prelude "js/jquery.min.js" %} {% insert_str prelude "js/jquery.html5storage.min.js" %} {% insert_str prelude "js/messages-runtime.js" %} @@@ -21,7 -19,10 +20,10 @@@ {% insert_str prelude "js/plugin.js" %} {% insert_str prelude "js/manifold.js" %} {% insert_str prelude "js/topmenu.js" %} + {% insert_str prelude "css/layout-unfold2.css" %} {% insert_str prelude "css/manifold.css" %} + {% insert_str prelude "css/plugin.css" %} + {% insert_str prelude "css/onelab_marko.css" %} {% block container %} {% block topmenu %} diff --combined unfold/page.py index 024bd449,bc44cd1a..7c6d60bd --- a/unfold/page.py +++ b/unfold/page.py @@@ -33,9 -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 --combined unfold/static/css/onelab_marko.css index 7cab5e0e,7e19d780..ab82706b --- a/unfold/static/css/onelab_marko.css +++ b/unfold/static/css/onelab_marko.css @@@ -1,28 -1,16 +1,22 @@@ - /* @override - http://test.myslice.info/static/css/plugin.css - */ - - + /* @override unfold/static/css/plugin.css */ /*-------------------------------- MARKO'S STYLES -----*/ /* 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 { - color: #fff !important; - font-family: Ubuntu; - margin-top: 60px; + .container h1, .container h2 { + color: #fff !important; } div.plugin-outline-complete, @@@ -61,30 -49,22 +55,30 @@@ 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; - font-family: Ubuntu, arial, sans-serif; - /* text-transform: ; */ - font-weight: normal; - font-size: 40px; - /* color: #30196d; */ + border-radius:0; + border: 0; + font-family: Ubuntu, arial, sans-serif; + /* text-transform: ; */ + font-weight: normal; + font-size: 40px; + /* color: #30196d; */ color: white; - margin-bottom: 0px; - margin-top: 0; - padding: 40px; - opacity: 1; - text-align: center; - background-color: #30196d; + margin-bottom: 0px; + margin-top: 0; + padding: 40px; + opacity: 1; + text-align: center; + background-color: #30196d; } #complete-resources { @@@ -127,9 -107,9 +121,9 @@@ #complete-pending, #complete-customize-resources, #complete-msgs-pre { - opacity: 1; - text-align: center; - color: #333; + opacity: 1; + text-align: center; + color: #333; } #complete-resources:hover, @@@ -139,34 -119,34 +133,34 @@@ #complete-pending:hover, #complete-customize-resources:hover, #complete-msgs-pre:hover { - opacity: 1; + opacity: 1; } .nav.nav-tabs { - font-family: Ubuntu, Arial, sans-serif; - border: 0 !important; - border-bottom: 3px solid #fff !important; - margin-bottom: 40px; + font-family: Ubuntu, Arial, sans-serif; + border: 0 !important; + border-bottom: 3px solid #fff !important; + margin-bottom: 40px; } .nav.nav-tabs li.active a { - color: #572bc9; - border-left: 0px solid #572bc9; - border-top: 0px solid #572bc9; - border-right: 0px solid #572bc9; + color: #572bc9; + border-left: 0px solid #572bc9; + border-top: 0px solid #572bc9; + border-right: 0px solid #572bc9; } .nav.nav-tabs li a { - color: #333; - border: 0 !important; - margin-right: 5px; + color: #333; + border: 0 !important; + margin-right: 5px; } .nav.nav-tabs li a:hover { - color: #333; - background: #572bc9; - color: #fff; - border: 0 !important; + color: #333; + background: #572bc9; + color: #fff; + border: 0 !important; } @@@ -176,40 -156,44 +170,45 @@@ /* TOPMENU.CSS */ body { - background: #30196d !important; + /* background: #30196d !important; */ + background: black !important; padding-top: 60px; padding-bottom: 0px; } + /* Thierry : turning this off div.topmenu { - padding-top: 0px; - font-family: Ubuntu, Arial, sans-serif; - font-weight: bold; - /* text-transform: ; */ - background: #fff; - -webkit-box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.44); - -moz-box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.44); - box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.44); + padding-top: 0px; + font-family: Ubuntu, Arial, sans-serif; + font-weight: bold; + background: #fff; + -webkit-box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.44); + -moz-box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.44); + box-shadow: 0px 10px 10px rgba(50, 50, 50, 0.44); } + Thierry */ + /* Thierry : turning this off .navbar-nav li a, .navbar-nav li.other a { - padding-top: 25px; - padding-bottom: 20px; + padding-top: 25px; + padding-bottom: 20px; } + Thierry */ .navbar-nav li a:hover { - color: #572bc9 !important; + color: #572bc9 !important; } .navbar-nav li.active a { - background: #eee !important; + background: #eee !important; } + /* Thierry : turning this off ul.logged-in { padding-top: 25px; } + Thierry */ button.logged-in { font-size: 1em; font-weight: bold; @@@ -241,44 -225,44 +240,44 @@@ li.username ul.pagination li a { - /* background: ; */ - color: #572bc9; - font-family: Ubuntu, Arial, sans-serif; + /* background: ; */ + color: #572bc9; + font-family: Ubuntu, Arial, sans-serif; } ul.pagination li.active a { - background: #572bc9; - border: 1px solid #572bc9; + background: #572bc9; + border: 1px solid #572bc9; } .btn.btn-default { - background: #572bc9; - color: #ccc; - font-family: Ubuntu, Arial, sans-serif; - font-weight: bold; - border: 0px; + background: #572bc9; + color: #ccc; + font-family: Ubuntu, Arial, sans-serif; + font-weight: bold; + border: 0px; } .btn.btn-default:hover { - /* background: #4af25d; */ - background: #ff7394; - color: #333; - font-family: Ubuntu, Arial, sans-serif; - font-weight: bold; - border: 0px; + /* background: #4af25d; */ + background: #ff7394; + color: #333; + font-family: Ubuntu, Arial, sans-serif; + font-weight: bold; + border: 0px; } input { - border-radius: 3px; - border: none; - border: 1px solid #ccc; + border-radius: 3px; + border: none; + border: 1px solid #ccc; } div.dataTables_length label, div.dataTables_filter label, div.dataTables_info { - font-family: Ubuntu, Arial, sans-serif !important; + font-family: Ubuntu, Arial, sans-serif !important; } @@@ -345,59 -329,59 +344,59 @@@ table.query-editor td #ms-dashboard-profile, #ms-dashboard-testbeds, #ms-dashboard-slices { - -webkit-transition: all 50ms ease-out; + -webkit-transition: all 50ms ease-out; -moz-transition: all 50ms ease-out; -o-transition: all 50ms ease-out; transition: all 0.05s ease-out; - padding-top: 140px; - padding-bottom: 60px; - margin-top: 60px; - color: #fff; - font-family: Ubuntu, Arial, sans-serif; - text-align: center; + padding-top: 140px; + padding-bottom: 60px; + margin-top: 60px; + color: #fff; + font-family: Ubuntu, Arial, sans-serif; + text-align: center; } #ms-dashboard-profile:hover, #ms-dashboard-testbeds:hover, #ms-dashboard-slices:hover { - margin-top: 65px; + margin-top: 65px; } #ms-dashboard-profile { - background: url("../img/icon_users_color.png") top center no-repeat; + background: url("../img/icon_users_color.png") top center no-repeat; } #ms-dashboard-testbeds { - background: url("../img/icon_testbed_color.png") top center no-repeat; + background: url("../img/icon_testbed_color.png") top center no-repeat; } #ms-dashboard-slices { - background: url("../img/icon_slices_color.png") top center no-repeat; + background: url("../img/icon_slices_color.png") top center no-repeat; } .ms-dashboard-content ul { - list-style-type: none !important; - padding-left: 0; - text-align: center !important; + list-style-type: none !important; + padding-left: 0; + text-align: center !important; } .ms-dashboard-content { - padding: 0 !important; + padding: 0 !important; } .ms-dashboard-content a { - color: #ff7394 !important; - /* color: #ff0099 !important; */ + color: #ff7394 !important; + /* color: #ff0099 !important; */ } .ms-dashboard-content a:hover { color: white !important; } .ms-dashboard-caption h2 { - font-family: Ubuntu, Arial, sans-serif; - border-bottom: 0 !important; - text-transform: uppercase; + font-family: Ubuntu, Arial, sans-serif; + border-bottom: 0 !important; + text-transform: uppercase; } #ms-dashboard-profile>div.ms-dashboard-caption { @@@ -416,13 -400,7 +415,7 @@@ } .simplelist { - font-size: 100%; - text-align: center !important; - margin: 0 auto; + font-size: 100%; + text-align: center !important; + margin: 0 auto; } - - - - - -