X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=7b106d9591009cf015a4a0b5d9c2f5bd3fa53abb;hb=0361b6aee2d576761a379ec0c50f2397f903de76;hp=3b0e96dbd8b27b066398a6971f1943b6542ac282;hpb=f61296343dc3270ccbc271dab5c79eb883c1d610;p=unfold.git diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 3b0e96db..7b106d95 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -1,7 +1,6 @@ -{% extends "layout-unfold1.html" %} -{% block unfold_main %} +{% extends "layout_wide.html" %} +{% block content %} -

User Profile User info. in Myslice platform

{% if messages %} {% endif %} - - -
-
-
- {% csrf_token %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {%if 'N/A' not in user_private_key%} - - - {%endif%} - - - - -
-
Platform: Myslice
-
Email - {{ person.email }} - -
Password - - ******** - - - - - - - - - - - - -
Enter password:
Confirm password: - - -
-
-
Full Name - {{ fullname }} - - -
- - - -
- -
Authority - {{ authority }} - -
Generate Keys - -
Public Key - ******** - - -
-
- - -
-
- - -
Private Key ******** - - -
-

Tradeoff: Ease-of-use vs Security.
- Ease-of-use: Automatic account delegation. Don't delete private key.
- Security: Manual account delegation. Download & Delete private key. -

-
+ +
+
+ +
+ + + {% csrf_token %} + + + + + + + + + + + + + + + + + + + + + {%if 'Enabled' in user_status %} + + + + + + + + + + {%if 'N/A' not in user_private_key%} + + + {%else%} + + + {%endif%} + + + {%if 'N/A' not in user_private_key%} + + + {%else%} + + + {%endif%} + + + + + {%endif%} +
+
Platforms: Myslice
+
Email + {{ person.email }} + +
Password + + ******** + + + + + + + + + + + + +
Enter password:
Confirm password: + + +
+
+
Full Name + {{ fullname }} + + +
+ + + +
+ +
Authority + {{ authority }} + +
Generate Keys + +
Public Key + ******** + + +
+
+ + +
+
+ + +
Private Key ******** + + + Private Key ******** + + +
Identity + + Identity + +
+

Tradeoff: Ease-of-use vs Security.
+ Ease-of-use: Automatic account delegation. Don't delete private key.
+ Security: Manual account delegation. Download & Delete private key. +

+
+ +
+
-

Account Information

-

Principal Account Account used for delegating credentials

-
-
- +
+
+ +

Principal Account Account used for delegating credentials

+
+ {% for row in principal_acc %} @@ -140,73 +194,88 @@ + {%endfor%}
Platform Account Type Account Delegation User hrnUser Status
{{ row.account_type }} {{ row.delegation_type }} {{ row.usr_hrn }} {{ row.user_status }}
-
-
- - -

Credentials

-
-
- - - - - - - {% 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 '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%} +
+
-

Testbed Accounts Reference accounts in the following testbeds

-
-
+
+
+ +

Testbed Access Reference Accounts in the following testbeds

@@ -220,17 +289,16 @@ {%endfor%} -
Platform {{ row.account_type }} {{ row.account_reference }} - +
-
-
- -

Add Accounts Add ref. account to the following testbeds

-
-
+ + + +

Add reference account to the following testbeds

@@ -240,14 +308,32 @@ {%endfor%}
Platforms
{{ platform.platform_no_access }} - +
-
+
+{%endif%}
- +
+ + {% endblock %}