X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Ffed4fire%2Ffed4fire_account-view.html;h=b71f3da83c210e1a0fe9e824360216a84212ca02;hb=16a4bf955a76fee81209cd60458745040ed3c711;hp=13da1254a7cacf496b03e59b186b99afff142290;hpb=942e4d7597ac78a506cca5b62c1832dbaae8a72e;p=unfold.git diff --git a/portal/templates/fed4fire/fed4fire_account-view.html b/portal/templates/fed4fire/fed4fire_account-view.html index 13da1254..b71f3da8 100644 --- a/portal/templates/fed4fire/fed4fire_account-view.html +++ b/portal/templates/fed4fire/fed4fire_account-view.html @@ -1,16 +1,18 @@ {% extends "layout.html" %} +{% load portal_filters %} {% block content %} - +{% widget "_widget-no_credentials.html" %} +{% widget "_widget-tradeoff.html" %}
- {%if 'no_creds' in user_cred %} + {%if 'no_creds' in user_cred %}

NO CREDENTIALS are delegated to the portal!

{%endif%} - {%if 'creds_expired' in user_cred %} + {%if 'creds_expired' in user_cred %}

EXPIRED CREDENTIALS Please delegate again your credentials to the portal!

{%endif%} @@ -22,12 +24,15 @@ {% endfor %} {% endif %} + +
+ + @@ -36,7 +41,6 @@
- {% csrf_token %} @@ -127,7 +131,7 @@ onclick="return confirm('Are you sure? It will overwrite your current credentials and you have delegate it manually.');"/>
- {%else%} + + {%if 'N/A' not in user_private_key%} + + + {%else%} + + + {%endif%} +
Private Key ******** - + onclick="javascript:document.getElementById('button_value').value='delete'; return confirm('Are you sure? If you do so, you have to delegate your credentials manually.');"/> Private Key ******** - @@ -158,11 +162,28 @@
sfi_config use sfi_config file with sfi.py package (pip install sfa) -
Identity + + Identity + +
@@ -204,223 +225,96 @@
- {%if 'Enabled' in user_status %}

Credentials Delegated to Principal Account

- - - - - - - {% for row in my_users %} - - - - - {%endfor%} -
Delegated User Credential
Expiration DateDownload
{{ row.cred_exp }} - - - -
-

- - - - - - - - {% for row in my_slices %} - - - - - - {%endfor%} -
Delegated Slice Credentials
Slice NameExpiration DateDownload
{{ row.slice_name }} {{ row.cred_exp }} - -
-

- - - - - - - - {% for row in my_auths %} - - - - - - {%endfor%} -
Delegated Authority Credentials
Authority NameExpiration DateDownload
{{ row.auth_name }} {{ row.cred_exp }} - -
-

- {%if '' not in my_users%} -

- {%else%} -

- {%endif%} + + + + + + + {% for row in my_users %} + + + + + {%endfor%} +
Delegated User Credential
Expiration DateDownload
{{ row.cred_exp }} + + + +
+

+ + + + + + + + {% for row in my_slices %} + + + + + + {%endfor%} +
Delegated Slice Credentials
Slice NameExpiration DateDownload
{{ row.slice_name }} {{ row.cred_exp }} + +
+

+ + + + + + + + {% for row in my_auths %} + + + + + + {%endfor%} +
Delegated Authority Credentials
Authority NameExpiration DateDownload
{{ row.auth_name }} {{ row.cred_exp }} + +
+

+ {%if '' not in my_users%} +

+ {%else%} +

+ {%endif%}
- - - - - - - - - -
-
- -

Testbed Access Reference Accounts in the following testbeds

- - - - - - - - {% for row in ref_acc %} - - - - - - - {%endfor%} -
PlatformAccount TypeReference toRemove Account
{{ row.platform_name }} {{ row.account_type }} {{ row.account_reference }} - -
- - -

Add reference account to the following testbeds

- - - - - - {% for platform in platform_list %} - - - - - {%endfor%} -
PlatformsAdd Account
{{ platform.platform_no_access }} - -
-
{%endif%}
- - +