X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=7b106d9591009cf015a4a0b5d9c2f5bd3fa53abb;hb=0361b6aee2d576761a379ec0c50f2397f903de76;hp=13aa8c465a4f9e4b649d93dbb203168c23063f91;hpb=bc73d164d84750147df8e5ed779fc25b5980f165;p=unfold.git diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 13aa8c46..7b106d95 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -1,5 +1,5 @@ -{% extends "layout-unfold1.html" %} -{% block unfold_main %} +{% extends "layout_wide.html" %} +{% block content %} {% if messages %} @@ -9,154 +9,177 @@ {% endfor %} {% endif %} - -
- -
-
-
-
- {% csrf_token %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {%if 'N/A' not in user_private_key%} - - - {%else%} - - - {%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

-
-
- +
+
+ +

Principal Account Account used for delegating credentials

+
@@ -176,87 +199,83 @@ {%endfor%}
Platform Account Type
-
-
- - - -{%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%} -
-
-
+ +
+ + {%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%} +
+
-
@@ -311,19 +323,15 @@