diff --git a/service/templates/authorize.html b/service/templates/authorize.html index 2ae2eb2..66db61d 100644 --- a/service/templates/authorize.html +++ b/service/templates/authorize.html @@ -4,14 +4,7 @@

-
- {% with tenant_id=tenant_id %} - {% include "./branding.html" %} - {% endwith %} - {% with tenant_id="tacc" %} - {% include "./branding.html" %} - {% endwith %} -
+ {% include "./content_figure.html" %} Connect to Tapis

The {{ client_display_name }} wants to use Tapis (TACC APIs) service to grant actions on behalf of {{ username }}.

@@ -50,6 +43,7 @@

+ {% include "./content_footer.html" %}

{% endblock %} diff --git a/service/templates/content_figure.html b/service/templates/content_figure.html new file mode 100644 index 0000000..58fa3cf --- /dev/null +++ b/service/templates/content_figure.html @@ -0,0 +1,10 @@ +
+ {% if client_display_name != "TACC User Portal" %} + {% with tenant_id=tenant_id %} + {% include "./branding.html" %} + {% endwith %} + {% endif %} + {% with tenant_id="tacc" %} + {% include "./branding.html" %} + {% endwith %} +
diff --git a/service/templates/content_footer.html b/service/templates/content_footer.html new file mode 100644 index 0000000..be18ac8 --- /dev/null +++ b/service/templates/content_footer.html @@ -0,0 +1,21 @@ + + diff --git a/service/templates/device-code.html b/service/templates/device-code.html index 79c74d5..e48eaa3 100644 --- a/service/templates/device-code.html +++ b/service/templates/device-code.html @@ -4,14 +4,7 @@

-
- {% with tenant_id=tenant_id %} - {% include "./branding.html" %} - {% endwith %} - {% with tenant_id="tacc" %} - {% include "./branding.html" %} - {% endwith %} -
+ {% include "./content_figure.html" %} Enter User Code

@@ -35,5 +28,6 @@

+ {% include "./content_footer.html" %}

{% endblock %} diff --git a/service/templates/login.html b/service/templates/login.html index 23f86ad..763c71c 100644 --- a/service/templates/login.html +++ b/service/templates/login.html @@ -4,14 +4,7 @@

-
- {% with tenant_id=tenant_id %} - {% include "./branding.html" %} - {% endwith %} - {% with tenant_id="tacc" %} - {% include "./branding.html" %} - {% endwith %} -
+ {% include "./content_figure.html" %} Log In

to continue to the {{ client_display_name }}

@@ -61,14 +54,7 @@

{% endif %} - + {% include "./content_footer.html" %}

{% endblock %} diff --git a/service/templates/logout.html b/service/templates/logout.html index 1023cd2..e41beb2 100644 --- a/service/templates/logout.html +++ b/service/templates/logout.html @@ -4,14 +4,7 @@

-
- {% with tenant_id=tenant_id %} - {% include "./branding.html" %} - {% endwith %} - {% with tenant_id="tacc" %} - {% include "./branding.html" %} - {% endwith %} -
+ {% include "./content_figure.html" %}

{% if logout_message %} diff --git a/service/templates/mfa.html b/service/templates/mfa.html index 8b66185..3df465c 100644 --- a/service/templates/mfa.html +++ b/service/templates/mfa.html @@ -4,14 +4,7 @@

-
- {% with tenant_id=tenant_id %} - {% include "./branding.html" %} - {% endwith %} - {% with tenant_id="tacc" %} - {% include "./branding.html" %} - {% endwith %} -
+ {% include "./content_figure.html" %} Enter MFA Token

@@ -47,6 +40,7 @@

+ {% include "./content_footer.html" %}

{% endblock %} diff --git a/service/templates/select_idp.html b/service/templates/select_idp.html index 05d595d..3896f42 100644 --- a/service/templates/select_idp.html +++ b/service/templates/select_idp.html @@ -4,14 +4,7 @@
{% endblock %} diff --git a/service/templates/success.html b/service/templates/success.html index a5f1a5e..f607fe2 100644 --- a/service/templates/success.html +++ b/service/templates/success.html @@ -4,14 +4,7 @@
{% endblock %} \ No newline at end of file