X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=08670c874744c53f2623b1479bf6ddccd045f79d;hb=1cf51eaae7a6b154305847af2edbe55cbdfaa062;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..08670c87 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -6,7 +6,55 @@ {% widget '_widget-news.html' %} --> {% if username %} + +
+ {%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 %}
@@ -17,12 +65,18 @@
- +
-

- Your slices

+

Your slices + + + +

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

- Your slices

+

Your slices + + +

Loading Slices
+ {% if pending_slices %} +

Pending slices + +

+ +

+ {%endif%}

@@ -153,7 +224,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 +235,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 %}