X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=944bcbe6707fb7f34830944db7bf9087c1c0fc04;hb=9e8552374710bbb551c32408b5350206162f052c;hp=4915b9e2c2f1afd949473b750a963903a84be61d;hpb=2a609a565beff7c90ff6f0118285ee4995c9d6f6;p=unfold.git diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html index 4915b9e2..944bcbe6 100644 --- a/portal/templates/onelab/onelab_home-view.html +++ b/portal/templates/onelab/onelab_home-view.html @@ -1,91 +1,218 @@ -{% extends "layout.html" %} +{% extends "layout_base.html" %} +{% load portal_filters %} {% block content %} -
- -
- - - - - - - - - - - - - {% 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 %} - -
Loading Slices
- {% else %} + +{% if username %} + + +
+ {%if 'no_creds' in user_cred %} +

NO CREDENTIALS are delegated to the portal!

+ {%endif%} + +
+ {%if 'is_pi' in 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
- - {% 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 %} -
- {% if person %} - - {% endif %} - - {% if person %} - - {% endif %} -
+ Username: {{person.email}} +
+ + {%endif%} + - +{# widget "_widget-monitor.html" #} +{# widget "_widget-stats-top-slices.html" #} + {% endblock %}