X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=6877a4a651b4a3fffa4e261cd2fec97d6ef77cf4;hb=250e68a92fdd782a145bf698cc088e41c3c781b6;hp=98bdd7e4ffcbc051dcc74c08273c417e7eda4cea;hpb=3822b250a81fb4292c3c0f4072eda5ea7bc7be1b;p=unfold.git diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 98bdd7e4..6877a4a6 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -1,157 +1,326 @@ -{% extends "layout-unfold1.html" %} +{% extends "layout_wide.html" %} +{% block content %} -{% block head %} - - - - - -{% endblock %} -{% block unfold1_main %} +{% if messages %} + +{% endif %} +
+
+ +
+
+
+
+ +
+
+ {% csrf_token %} + + + + + + + + + + + + + + + + + + + + + {%if 'Enabled' in user_status %} + + + + + + + + + + {%if 'N/A' not in user_private_key%} + + + {%else%} + + + {%endif%} + + + + + {%endif%} +
+

Platform: Myslice

+
Email + {{ person.email }} + +
Password + + ******** + + + + + + + + + + + + +
Enter password:
Confirm password: + + +
+
+
Full Name + {{ fullname }} + + +
+ + + +
+ +
Authority + {{ authority }} + +
Generate Keys + +
Public Key + ******** + + +
+
+ + +
+
+ + +
Private 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. +

+
+ +
+
-

Platform Access

-
-
- +
+
+ +

Principal Account Account used for delegating credentials

+
- - - + + + + + - {% for row in data %} + {% for row in principal_acc %} - + + - + + {%endfor%}
PlatformAccount Typeuser_hrnPub KeyAccount TypeAccount DelegationUser hrnUser Status
{{ row.platform_name }} {{ row.account_type }} {{ row.account_type }} {{ row.delegation_type }} {{ row.usr_hrn }} {{ row.usr_pubkey }} {{ row.user_status }}
-
-
+ +
+ + {%if 'Enabled' in user_status %} +
+

Credentials Delegated to Principal Account

+ + + + + + + {% for row in my_users %} + + + + + {%endfor%} +
Delegated User Credential
Expiration DateDownload
{{ row.cred_exp }} + + -

MySlice Account

- -{% if messages %} -
    - {% for message in messages %} - {{ message }} - {% endfor %} -
-{% endif %} - +
+

+ + + + + + + + {% 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%} +
+ -
-
- - {% csrf_token %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
Personal Details
-
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. -

-
- +
+
+ +

Testbed Access Reference Accounts in the following testbeds

+ + + + + + + + {% for row in ref_acc %} + + + + + + + {%endfor%} +
PlatformAccount TypeReference toRemove Account
{{ row.platform_name }} {{ row.account_type }} {{ row.account_reference }} + +
+ + +

Add reference account to the following testbeds

+ + + + + + {% for platform in platform_list %} + + + + + {%endfor%} +
PlatformsAdd Account
{{ platform.platform_no_access }} + +
+{%endif%} +
+
+ + {% endblock %}