X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=69c43ca46731d4588818b33f9660d4d101136563;hb=8b147c2787afcd2a94a71e2d2b1e57a7bc78ed64;hp=1a010ae1f85ab1efd4979fedf2fbe0b66de1fc0c;hpb=342a0ee5c88219bd359b111fe371386e3104458e;p=unfold.git diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 1a010ae1..69c43ca4 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -1,16 +1,6 @@ -{% extends "layout-unfold1.html" %} +{% extends "layout_wide.html" %} +{% block content %} -{% block head %} - - - - - -{% endblock %} - -{% block unfold_main %} - -

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 data %} + {% for row in principal_acc %} + {%endfor%}
Platform Account TypeAccount_delegationuser_hrnAccount DelegationUser hrnUser Status
{{ row.platform_name }} {{ 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 User accounts in other testbeds

-
-
+
+
+ +

Testbed Access Reference Accounts in the following testbeds

@@ -229,34 +289,51 @@ {%endfor%} -
Platform {{ row.account_type }} {{ row.account_reference }} - +
-
-
- -

Add Accounts

-
-
+ + + +

Add reference account to the following testbeds

- + {% for platform in platform_list %} {%endfor%}
PlatformsRequest AccessAdd Account
{{ platform.platform_no_access }} - +
-
+
+{%endif%}
- +
+ + {% endblock %}