X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=d3f724e78b3306c44d702e2cd2e98ca8cb26a5eb;hb=0f8ce7d0964159ebef736e2fc8c26edd6f18961d;hp=26c21f8e1135df94f57c67f7aaefb7477e3353ef;hpb=6c7f4d498f835d4d16071400312fceebce157cd5;p=unfold.git
diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html
index 26c21f8e..d3f724e7 100644
--- a/portal/templates/account-view.html
+++ b/portal/templates/account-view.html
@@ -1,16 +1,6 @@
{% extends "layout-unfold1.html" %}
-
-{% block head %}
-
-
-
-
-
-{% endblock %}
-
{% block unfold_main %}
-
User Details
{% if messages %}
{% endif %}
-
+
+
+
+
+
-
Account Information
-
Principal Accounts
+
Principal Account Account used for delegating credentials
-
+
Platform |
Account Type |
- Account_delegation |
- user_hrn |
- Pub Key |
+ Account Delegation |
+ User hrn |
+ User Status |
+
- {% for row in data %}
+ {% for row in principal_acc %}
{{ row.platform_name }} |
- {{ row.account_type }} |
+ {{ row.account_type }} |
{{ row.delegation_type }} |
- {{ row.usr_hrn }} |
- {{ row.usr_pubkey }} |
+ {{ row.usr_hrn }} |
+ {{ row.user_status }} |
+
{%endfor%}
-Secondary Accounts
+
+
+{%if 'Enabled' in user_status %}
+Credentials Delegated to Principal Account
-
+
+ Delegated User Credential
+
+ Expiration Date |
+ Download |
+
+ {% for row in my_users %}
+
+ {{ row.cred_exp }} |
+
+
+ |
+
+ {%endfor%}
+
+
+
+ Delegated Slice Credentials
+
+ Slice Name |
+ Expiration Date |
+ Download |
+
+ {% for row in my_slices %}
+
+ {{ row.slice_name }} |
+ {{ row.cred_exp }} |
+
+
+ |
+
+ {%endfor%}
+
+
+
+ Delegated Authority Credentials
+
+ Authority Name |
+ Expiration Date |
+ Download |
+
+ {% for row in my_auths %}
+
+ {{ row.auth_name }} |
+ {{ row.cred_exp }} |
+
+
+ |
+
+ {%endfor%}
+
+
+ {%if '' not in my_users%}
+
+ {%else%}
+
+ {%endif%}
+
+
+
+
+
+
+
Testbed Access Reference Accounts in the following testbeds
+
+
+
Platform |
Account Type |
Reference to |
+ Remove Account |
{% for row in ref_acc %}
{{ row.platform_name }} |
- {{ row.account_type }} |
- {{ row.account_reference }} |
+ {{ row.account_type }} |
+ {{ row.account_reference }} |
+
+
+ |
{%endfor%}
-
Other Platforms
+
+
+
Add reference account to the following testbeds
-
+
Platforms |
- Request Access |
+ Add Account |
{% for platform in platform_list %}
{{ platform.platform_no_access }} |
-
-
+ |
+
|
{%endfor%}
+
+{%endif%}
+
+
+
-
-
-
+
{% endblock %}