X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=portal%2Ftemplates%2Fmanageuserview.html;h=3b47997b1bdf90ca00872eaf86781a5bc239b067;hb=8dac4f0bbfda0b99d1b5b077522cd11e03ee590e;hp=4548f460958c45fb0b41146b4e1104e8e5d9d0a2;hpb=af27ce397c8d706372c4c1ea61eb2067b8d1587f;p=myslice.git diff --git a/portal/templates/manageuserview.html b/portal/templates/manageuserview.html index 4548f460..3b47997b 100644 --- a/portal/templates/manageuserview.html +++ b/portal/templates/manageuserview.html @@ -1,5 +1,11 @@ -{% extends "layout-unfold1.html" %} -{% block unfold_main %} +{% extends "layout.html" %} +{% block content %} + +
+
+

Manage Users Manage Users

+
+
{% if messages %} @@ -10,200 +16,214 @@ {% endif %} -
+
-
-

-
-
-
- {% csrf_token %} - - - - - - - - - - - - - - - - - - - - - - - - -
-
Platform: Myslice
-
Email {{ user_email }}
Full Name - {{ fullname }} - - -
- - - -
- -
Authority - {{ authority }} - - -
- - -
- -
Generate Keys - -
Public Key - ******** - - -
-
- - -
-
- - -
-
-
-
- +
+ +
+
+ {% csrf_token %} + + + + + + + + + + + + + + + + + + + + + + + + + {% if not pi %} + + + + + {% else %} + + + + + {% endif %} -
+
Platform: Myslice
+
Email {{ user_email }}
Full Name + {{ fullname }} + + +
+ + + +
+ +
Authority + {{ authority }} + + +
+ + +
+ +
Generate Keys + +
Public Key + ******** + + +
+
+ + +
+
+ + +
Upgrade to PI + +
Downgrade to user + +
+
+
+
-

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 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%} -
-
+
+

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