X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Faccount-view.html;h=b603f632ea0fc23f5c984b99735f8b308c5fb96a;hb=3ea9e2bbd60f1019a44acae7fa047ee8b591344c;hp=83e03d3d0274fae8bad2f8e6b5dcdc2b0ed2c446;hpb=14d2b5115a61a9011c79568cab1554afb14b7bdd;p=unfold.git diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 83e03d3d..b603f632 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -1,8 +1,22 @@ -{% extends "layout-unfold1.html" %} -{% block unfold_main %} - -

User Profile

+{% extends "layout.html" %} +{% load portal_filters %} +{% block content %} +{% widget "_widget-no_credentials.html" %} +{% widget "_widget-tradeoff.html" %} +
+
+ +
+ {%if 'no_creds' in user_cred %} +

NO CREDENTIALS are delegated to the portal!

+ {%endif%} + {%if 'creds_expired' in user_cred %} +

EXPIRED CREDENTIALS Please delegate again your credentials to the portal!

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

-
-
+
+
+ +
+
+
+ +
+ {% csrf_token %} + + + + + + + + + + + + + + + + + + + + + {%if 'Enabled' in user_status %} + + + + + + + + + + {%if 'N/A' not in user_private_key%} + + + {%else%} + + + {%endif%} + + + + + + + {%if 'N/A' not in user_private_key%} + + + {%else%} + + + {%endif%} + -

Account Information

-

Principal Account Account used for delegating credentials

-
-
-
+

Platform: Myslice

+
Email + {{ person.email }} + +
Password + + ******** + + + + + + + + + + + + +
Enter password:
Confirm password: + + +
+
+
Full Name + {{ fullname }} + + +
+ + + +
+ +
Authority + {{ authority }} + +
Generate Keys + +
Public Key + ******** + + +
+
+ + +
+
+ + +
Private Key ******** + + + Private Key ******** + + +
sfi_config use sfi_config file with sfi.py package (pip install sfa) + +
Identity + + Identity + +
+ + + + {%endif%} +
+

+ Automatic vs. Manual delegation of credentials: + Trade-off between ease-of-use & security

+

+
+ +
+
+ +
+
+ +

Principal Account Account used for delegating credentials

+ + {% for row in principal_acc %} @@ -163,163 +218,109 @@ + {%endfor%}
Platform Account Type Account Delegation User hrnUser Status
{{ row.account_type }} {{ row.delegation_type }} {{ row.usr_hrn }} {{ row.user_status }}
-
-
+ +
- - - -

- -Credentials

- - - - -

- -TestBed Accounts

- - - - -

- -Add Accounts

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