X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=7b106d9591009cf015a4a0b5d9c2f5bd3fa53abb;hb=0361b6aee2d576761a379ec0c50f2397f903de76;hp=f3c731a93a94fbe90c733dd199ebe08561c10788;hpb=83f238a32f62a34370f24d69e85823c709d95627;p=unfold.git
diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html
index f3c731a9..7b106d95 100644
--- a/portal/templates/account-view.html
+++ b/portal/templates/account-view.html
@@ -1,157 +1,339 @@
-{% extends "layout-unfold1.html" %}
+{% extends "layout_wide.html" %}
+{% block content %}
-{% block head %}
-
-
-
-
-
-{% endblock %}
-{% block unfold_main %}
+{% if messages %}
+
+ {% for message in messages %}
+ - {{ message }}
+ {% endfor %}
+
+{% endif %}
+
+
+
-
Platform Access
-
-
-
+
+
+
+
Principal Account Account used for delegating credentials
+
Platform |
- Account Type |
- user_hrn |
- Pub Key |
+ Account Type |
+ 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.user_status }} |
+
{%endfor%}
-
-
-
-
-MySlice Account
-
-{% if messages %}
-
- {% for message in messages %}
- - {{ message }}
- {% endfor %}
-
-{% endif %}
+
+
+
+ {%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 }} |
+
+
+ |
+
+ {%endfor%}
+
+
+
+
Add reference account to the following testbeds
+
+
+ Platforms |
+ Add Account |
+
+ {% for platform in platform_list %}
+
+ {{ platform.platform_no_access }} |
+
+
+ |
+
+ {%endfor%}
+
+{%endif%}
+
+
+
+
{% endblock %}