X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=d98d1b13724d29d8f0a7100bffcda6230c4e5499;hb=454aec79b6fb6c59affdea254c929f333ceda7d8;hp=ff6ec256b8fed0b0545be191dc493c0acda40db0;hpb=8e6372eabf1db28adf273c33408c672b56e42e49;p=unfold.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index ff6ec256..d98d1b13 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -6,9 +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 'is_pi' in pi %} + {% if request.session.user.pi %}

EXPERIMENT @@ -17,12 +25,18 @@

- +
-

- Your slices

+

Your slices + + + +

Loading Slices
@@ -80,13 +94,30 @@
-

- Your slices

+

Your slices + + +

Loading Slices
+ {% if pending_slices %} +

Pending slices + +

+ +

+ {%endif%}

@@ -153,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/"; @@ -164,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 %}