X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=33d787f581854c85cd5571dea6dac4cebe217e11;hb=33b57db38fa8eec5030116cf655375bd604e0ed4;hp=2a2f28235e3b037f5290fb1f1dc015766c2d658f;hpb=deffa7356a6d6fc974b7f152f0b6d0fe13573347;p=myslice.git
diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html
index 2a2f2823..33d787f5 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,27 +63,30 @@
|
{{ fullname }}
-
+
-
+
-
+
|
Authority |
{{ authority }}
-
+
|
Generate Keys |
-
|
@@ -99,23 +96,31 @@
********
-
+
-
+
-
-
+
+
|
{%if 'N/A' not in user_private_key%}
Private Key |
********
-
-
+
+
|
{%endif%}
@@ -131,25 +136,24 @@
+
Account Information
-Principal Accounts
+Principal Account Account used for delegating credentials
-
+
Platform |
Account Type |
- Account_delegation |
- Credential Expiration |
- user_hrn |
+ Account Delegation |
+ User hrn |
- {% 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 }} |
@@ -158,72 +162,156 @@
-Secondary Accounts
+
+
+
+
+
+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%}
+
+
+
+
+
+Add Accounts
-Other Platforms
+
+
+
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%}
-
-
-
-
-
-
-
{% endblock %}