X-Git-Url: http://git.onelab.eu/?p=myslice.git;a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=74a2a0fd283d9211035ce6ff03ae5887be5166c1;hp=4e97f9d77a2f4b8ff02ca6ef8ffd40104139f202;hb=bbc146e5dcbd1a5285b7465cd3e7f2c23a6dc9c8;hpb=5abab265d806d9de899ead6e896feb4afdf20540 diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 4e97f9d7..74a2a0fd 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -1,64 +1,45 @@ {% extends "layout-unfold1.html" %} +{% block unfold_main %} -{% block head %} - - - - -{% endblock %} - -{% block unfold1_main %} +

User Profile

- -

Platform Access

-
-
- - - - - - - - {% for row in data %} - - - - - - - {%endfor%} -
PlatformAccount Typeuser_hrnPub Key
{{ row.platform_name }} {{ row.account_type }} {{ row.usr_hrn }} {{ row.usr_pubkey }}
-
-
+{% if messages %} + +{% endif %} -

MySlice Account

+
- {% csrf_token %} - @@ -112,34 +96,234 @@ - - + + {%if 'N/A' not in user_private_key%} + + {%else%} + + + {%endif%}
-
Personal Details
+
Platform: Myslice
Email {{ person.email }} - +
Password - + ******** - + @@ -70,7 +51,7 @@
Confirm password: - +
@@ -82,29 +63,32 @@
{{ fullname }} - +
- +
- +
Authority {{ authority }} - +
Generate Keys - + +
******** - +
-
- - + + +
- - + +
Private Key
Private 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. +

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 Account Account used for delegating credentials

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

+ +Credentials

+ + + + +

+ +TestBed Accounts

+ + + + +

+ +Add Accounts

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