X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=74a2a0fd283d9211035ce6ff03ae5887be5166c1;hb=cd4ef6cdd7ea6d4ead183970d20d4c3739481251;hp=2a2f28235e3b037f5290fb1f1dc015766c2d658f;hpb=dbb84185fece941e419c1d1df6a7b84203537ce0;p=myslice.git
diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html
index 2a2f2823..74a2a0fd 100644
--- a/portal/templates/account-view.html
+++ b/portal/templates/account-view.html
@@ -1,16 +1,7 @@
{% extends "layout-unfold1.html" %}
-
-{% block head %}
-
-
-
-
-
-{% endblock %}
-
{% block unfold_main %}
-
User Details
+User Profile
{% if messages %}
@@ -35,17 +26,20 @@
Email |
{{ person.email }}
-
+
|
Password |
-
+
********
-
+
@@ -69,29 +63,32 @@
|
{{ fullname }}
-
+
-
+
-
+
|
Authority |
{{ authority }}
-
+
|
Generate Keys |
-
-
+ |
+
|
@@ -99,24 +96,41 @@
********
-
+
-
-
-
+
+
+
-
-
+
+
|
{%if 'N/A' not in user_private_key%}
Private Key |
********
-
-
+
+
|
+ {%else%}
+ Private Key |
+ ********
+
+
+ |
{%endif%}
@@ -131,26 +145,27 @@
+
Account Information
-Principal Accounts
+Principal Account Account used for delegating credentials
-
+
Platform |
Account Type |
- Account_delegation |
- Credential Expiration |
- user_hrn |
+ 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.credential_expiration }} |
{{ row.usr_hrn }} |
+ {{ row.user_status }} |
{%endfor%}
@@ -158,72 +173,157 @@
-Secondary Accounts
+
+
+{%if 'Enabled' in user_status %}
+
+
+Credentials
+
+
+
+
Credentials
+
+
Delegated Credentials 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 Accounts
+
+
+
+
TestBed Accounts
+
+
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 Accounts
+
+
+
+
Add Accounts
+
+
+
Add reference account to the following testbeds
-
+
Platforms |
- Request Access |
+ Add Account |
{% for platform in platform_list %}
{{ platform.platform_no_access }} |
-
-
+ |
+
|
{%endfor%}
-
-
-
-
-Slice Information
-
-
-
-
- Slice name |
- Credential Expiration |
-
- {% for row in my_slices %}
-
- {{ row.slice_name }} |
- {{ row.cred_exp }} |
-
- {%endfor%}
-
-
-
-
-
+{%endif%}
-
-
{% endblock %}