X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=bacc2b235e3e8bdd6d8d761d7379cf15e716305e;hb=111d0fcb9681bf94ff184fe43bf636b6d672cbff;hp=80e040cc7c89624947ad7227fcfb59f6fcab532f;hpb=bf1efe0210492077b375de47d0820d454ccb9185;p=myslice.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 80e040cc..bacc2b23 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -1,89 +1,181 @@ -{% extends "layout-unfold1.html" %} +{% extends "layout_base.html" %} +{% load portal_filters %} -{% block unfold_main %} -
- -
- - - - - - - - - - - - - {% if person %} - - - - -
ACCOUNTSLICESSUPPORT
- -
- {% if person.last_name %} - {{person.first_name}} {{person.last_name}}
- {% endif %} - Email: {{person.email}} -
- {% else %} -
- {% include 'onelab__widget-login-user.html' %} - {% endif %} - - {% if person %} - - {% else %} +{% block content %} + +{% 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 pi %} +
+

+ EXPERIMENT +

+
+ +
+
+ +
+
+

Your slices + + + +

+
+
+
Loading Slices
+
+
+
+

MANAGEMENT

+
+ +
+
+ +
+
+
+

+ SUPPORT +

+
+ +
+
+ +
+
+ +
+

+ ACCOUNT +

+
+ +
+
+ +
+
+ {% if person.last_name %} + {{person.first_name}} {{person.last_name}}
{% endif %} -
- - -
+ Username: {{person.email}} +
+
-
- - - - - - - - - - - - - {% if person %} - - - - -
INSTITUTIONSLICESREQUESTS
- {% if person.last_name %} -
{{person.first_name}} {{person.last_name}}
{% endif %} - - {% else %} -
- {% include 'onelab__widget-login-manager.html' %} + {%else%} +
+
+

+ EXPERIMENT +

+
+ +
+
+ +
+
+

Your slices + + +

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

Pending slices + +

    + {% for slices in pending_slices %} +
  • {{slices}}
  • + {% endfor %} +
+ +

+ {%endif%} +
+
+

+ SUPPORT +

+
+ +
+
+ +
+
+ +
+

+ ACCOUNT +

+
+ +
+
+ +
+
+ {% if person.last_name %} + {{person.first_name}} {{person.last_name}}
{% endif %} -
- - -
-
-
+ Username: {{person.email}} +
+ + {%endif%} + - -{% endblock unfold_main %} +{% widget "_widget-monitor.html" %} +{# widget "_widget-stats-top-slices.html" #} + +{% endblock %}