X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fonelab%2Fonelab_home-view.html;h=bacc2b235e3e8bdd6d8d761d7379cf15e716305e;hb=87be70ddfd98c34b6d422368c244343a3b36e497;hp=5fb5dcf68e15a833f3a770d1619caa58558e7064;hpb=895735ab33d121bf9cea8e6fadaa3ac94de1b33e;p=myslice.git
diff --git a/portal/templates/onelab/onelab_home-view.html b/portal/templates/onelab/onelab_home-view.html
index 5fb5dcf6..bacc2b23 100644
--- a/portal/templates/onelab/onelab_home-view.html
+++ b/portal/templates/onelab/onelab_home-view.html
@@ -5,6 +5,154 @@
+{% 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
+
+
+
+
+
+
+
+
+
+
+
+
MANAGEMENT
+
+
+
+
+
+
+
+
+
+ SUPPORT
+
+
+
+
+
+
+
+
+
+
+
+ ACCOUNT
+
+
+
+
+
+
+
+
+ {% if person.last_name %}
+ {{person.first_name}} {{person.last_name}}
+ {% endif %}
+
Username: {{person.email}}
+
+
+
+ {%else%}
+
+
+
+ EXPERIMENT
+
+
+
+
+
+
+
+
+
+ {% 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%}
+
+
+{% else %}
- {% if person %}
-
-
-
- {% if person.last_name %}
- {{person.first_name}} {{person.last_name}}
- {% endif %}
-
Email: {{person.email}}
-
-
- {% else %}
{% widget '_widget-login-user.html' %}
- {% endif %}
-
- {% if person %}
-
-
- {% else %}
- {% endif %}
-
-
+{% endif %}
+
+{% widget "_widget-monitor.html" %}
+{# widget "_widget-stats-top-slices.html" #}
+
{% endblock %}