X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=74a2a0fd283d9211035ce6ff03ae5887be5166c1;hp=a5d01dcdcb592dd11fd35697104bad782d02af7d;hb=bbc146e5dcbd1a5285b7465cd3e7f2c23a6dc9c8;hpb=0450c15062f7c9f7117c935283a6d79fef7680bf diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index a5d01dcd..74a2a0fd 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -1,175 +1,329 @@ {% extends "layout-unfold1.html" %} +{% block unfold_main %} -{% block head %} - - - - -{% endblock %} +

User Profile

+ +{% if messages %} + +{% endif %} -{% block unfold1_main %} +
+
+
+ {% 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. +

+
+
+
-
-
-

Platform Access

-
-
-
-
- +

Account Information

+

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

+ +
+

+ +TestBed Accounts

-
-
-

MySlice Account

-
-
-
-
- - {% csrf_token %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
Personal Details
-
Email - {{ person.email }} - -
Password - - ******** - - - - - - - - - - - - -
Enter password: - -
Confirm password: - - -
-
-
Full Name - {{ fullname }} - - - -
- - - -
- -
Authority - {{ authority }} - -
Generate Keys - - - -
Public Key - - - ******** - - -
-
- - - - -
-
- -
- - -
Private Key ******** - - -
- -

For better - security we recommend that you - download and delete your - private key from the - server. Always store your - private key in a secure - location.

-
- + + + +

+ +Add Accounts

+ +
+{%endif%} + + {% endblock %}