X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=7d161ea370a8651d6496df0dd3faa70e89b6abd3;hb=dc78b106e59789f7aac853eb0db3159da876e87d;hp=26c21f8e1135df94f57c67f7aaefb7477e3353ef;hpb=e49d508c9b70e9dc65d0a700ba5b5a85945ffed4;p=unfold.git diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 26c21f8e..7d161ea3 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 Details

{% 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. -

-
-
+ +
+
+ +
-

Account Information

-

Principal Accounts

-
-
- + + {% 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. +

+
+ +
+
+ +
+
+ +

Principal Account Account used for delegating credentials

+ - - - + + + + - {% for row in data %} + {% for row in principal_acc %} - + - - + + + {%endfor%}
Platform Account TypeAccount_delegationuser_hrnPub KeyAccount DelegationUser hrnUser Status
{{ row.platform_name }} {{ row.account_type }} {{ row.account_type }} {{ row.delegation_type }} {{ row.usr_hrn }} {{ row.usr_pubkey }} {{ row.usr_hrn }} {{ 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 }} + +
+

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

Secondary Accounts

-
-
- +
+
+ +

Testbed Access Reference Accounts in the following testbeds

+
+ {% for row in ref_acc %} - - + + + {%endfor%} -
Platform Account Type Reference toRemove Account
{{ row.platform_name }} {{ row.account_type }} {{ row.account_reference }} {{ row.account_type }} {{ row.account_reference }} + +
-
-
- -

Other Platforms

-
-
- +
+ + +

Add reference account to the following testbeds

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