X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fhome-view.html;h=379547cc32cc83e42cfc68330e561d3a4853d7c3;hb=6949cc526323aca69ac4af7ded37bfe8c6ab07e6;hp=c00869222b895f0d7c48c0d460987390155b6f73;hpb=00dc99e4482d8f4086e6595ec192855c83a1439a;p=unfold.git diff --git a/portal/templates/home-view.html b/portal/templates/home-view.html index c0086922..379547cc 100644 --- a/portal/templates/home-view.html +++ b/portal/templates/home-view.html @@ -1,91 +1,180 @@ -{% extends "layout.html" %} +{% extends "layout_base.html" %} {% load portal_filters %} {% block content %} -
-{% widget '_widget_news.html' %} -
-
- -
- - - - - - - - - - - - - {% if person %} - - - - -
ACCOUNTSLICESSUPPORT
- -
- {% if person.last_name %} - {{person.first_name}} {{person.last_name}}
- {% endif %} - Email: {{person.email}} -
- {% else %} -
- {% widget '_widget-login-user.html' %} - {% endif %} - - {% if person %} - -
Loading Slices
- {% else %} - + +{% 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
- - {% else %} - - {% widget '_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%} + +{% else %} +
+
+
+
+

+ Your Easy Access to Computer Networking Testbeds: +

+

+ A wide variety of world class testbeds available through your one account +

+
+
+
+ {% widget '_widget-login-user.html' %} +
+
+
+
+
+{% endif %} + + + {% endblock %}