X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=6877a4a651b4a3fffa4e261cd2fec97d6ef77cf4;hb=250e68a92fdd782a145bf698cc088e41c3c781b6;hp=361903224db027d62c1a8054b845e59067964ac6;hpb=da0b290c0d86afe3d388f4b1a8be60a70b39ed92;p=unfold.git diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 36190322..6877a4a6 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,155 +9,160 @@ {% 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

+
@@ -177,87 +182,87 @@ {%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 }} + + -{%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%} -
-
- - +
+

+ + + + + + + + {% 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%} +
+
- @@ -312,19 +310,15 @@