X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=d98d1b13724d29d8f0a7100bffcda6230c4e5499;hb=454aec79b6fb6c59affdea254c929f333ceda7d8;hp=87f3b14e7064acbeddceb95e72a358cadd16322c;hpb=3687fceeb71642a4251bf3968dba294856f2b0c2;p=myslice.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 87f3b14e..d98d1b13 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -6,8 +6,17 @@ {% widget '_widget-news.html' %} --> {% if username %} +{% widget "_widget-no_credentials.html" %}
+ {%if 'no_creds' in user_cred %} +

NO CREDENTIALS are delegated to the portal!

+ {%endif%} + {%if 'creds_expired' in user_cred %} +

EXPIRED CREDENTIALS Please delegate again your credentials to the portal!

+ {%endif%} +
+ {% if request.session.user.pi %}

EXPERIMENT @@ -16,18 +25,23 @@

- +
-

- Your slices

+

Your slices + + + +

Loading Slices
- {%if 'is_pi' in pi %}

MANAGEMENT

@@ -37,7 +51,6 @@
- {%endif%}

SUPPORT @@ -68,6 +81,76 @@

+ {%else%} +
+
+

+ EXPERIMENT +

+
+ +
+
+ +
+
+

Your slices + + +

+
+
+
Loading Slices
+
+ {% if pending_slices %} +

Pending slices + +

+ +

+ {%endif%} +
+
+

+ SUPPORT +

+
+ +
+
+ +
+
+ +
+

+ ACCOUNT +

+
+ +
+
+ +
+
+ {% if person.last_name %} + {{person.first_name}} {{person.last_name}}
+ {% endif %} + Username: {{person.email}} +
+
+
+ {%endif%} + {% else %}
@@ -101,7 +184,7 @@ $('div#'+$(this).data('panel')).show(); }); $('button#validaterequestbtn').click(function() { - window.location="/portal/validate/"; + window.location="/portal/institution#requests"; }); $('button#ticketbtn').click(function() { window.location="/portal/contact/"; @@ -112,11 +195,12 @@ $('button#slicerequestbtn').click(function() { window.location="/portal/slice_request/"; }); -/*------- -List of slices has been moved in -portal/templates/base.html -This should go into session ---------*/ + + myslice.loadSlices(); + }); +{% widget "_widget-monitor.html" %} +{# widget "_widget-stats-top-slices.html" #} + {% endblock %}