From f9f56dddbbfcc2e3a798e0f8920441b69264dc17 Mon Sep 17 00:00:00 2001 From: Loic Baron Date: Thu, 7 May 2015 18:06:37 +0200 Subject: [PATCH] Templates: Account generic, rm specifics --- portal/templates/account-view.html | 48 --- .../fed4fire/fed4fire_account-view.html | 326 --------------- .../templates/onelab/onelab_account-view.html | 380 ------------------ 3 files changed, 754 deletions(-) delete mode 100644 portal/templates/fed4fire/fed4fire_account-view.html delete mode 100644 portal/templates/onelab/onelab_account-view.html diff --git a/portal/templates/account-view.html b/portal/templates/account-view.html index 985974fb..b71f3da8 100644 --- a/portal/templates/account-view.html +++ b/portal/templates/account-view.html @@ -33,7 +33,6 @@ @@ -301,55 +300,8 @@ {%endif%} - - -
-
- -

Testbed Access Reference Accounts in the following testbeds

- - - - - - - - {% for row in ref_acc %} - - - - - - - {%endfor%} -
PlatformAccount TypeReference toRemove Account
{{ row.platform_name }} {{ row.account_type }} {{ row.account_reference }} - -
- - -

Add reference account to the following testbeds

- - - - - - {% for platform in platform_list %} - - - - - {%endfor%} -
PlatformsAdd Account
{{ platform.platform_no_access }} - -
-
{%endif%}
- - -{% endblock %} diff --git a/portal/templates/onelab/onelab_account-view.html b/portal/templates/onelab/onelab_account-view.html deleted file mode 100644 index ffa882f9..00000000 --- a/portal/templates/onelab/onelab_account-view.html +++ /dev/null @@ -1,380 +0,0 @@ -{% 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 'Enabled' in user_status %} - - - - - - - - - - {%if 'N/A' not in user_private_key%} - - - {%else%} - - - {%endif%} - - - - - - - {%if 'N/A' not in user_private_key%} - - - {%else%} - - - {%endif%} - - - - - - {%endif%} -
-

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 - -
-

- 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 %} - - - - - - - - - {%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 DateDownloadDelete
{{ 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%} -
-
- - -
-
- -

Testbed Access Reference Accounts in the following testbeds

- - - - - - - - {% for row in ref_acc %} - - - - - - - {%endfor%} -
PlatformAccount TypeReference toRemove Account
{{ row.platform_name }} {{ row.account_type }} {{ row.account_reference }} - -
- - -

Add reference account to the following testbeds

- - - - - - {% for platform in platform_list %} - - - - - {%endfor%} -
PlatformsAdd Account
{{ platform.platform_no_access }} - -
-
-{%endif%} -
-
- -
- - -{% endblock %} -- 2.43.0