Add alert to log in page with csp disclaimer
This commit is contained in:
parent
7afc24deb1
commit
5049b8262d
@ -1,6 +1,6 @@
|
|||||||
{% from "components/icon.html" import Icon %}
|
{% from "components/icon.html" import Icon %}
|
||||||
|
|
||||||
{% macro Alert(title, message=None, actions=None, level='info', fragment=None, vue_template=False) -%}
|
{% macro Alert(title=None, message=None, actions=None, level='info', fragment=None, vue_template=False) -%}
|
||||||
{% set role = 'alertdialog' if actions else 'alert' %}
|
{% set role = 'alertdialog' if actions else 'alert' %}
|
||||||
{% set levels = {
|
{% set levels = {
|
||||||
'warning': {
|
'warning': {
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<div class='usa-alert-body'>
|
<div class='usa-alert-body'>
|
||||||
{% if vue_template %}
|
{% if vue_template %}
|
||||||
<h3 class='usa-alert-heading' v-html='title'></h3>
|
<h3 class='usa-alert-heading' v-html='title'></h3>
|
||||||
{% else %}
|
{% elif title %}
|
||||||
<h3 class='usa-alert-heading'>{{title}}</h3>
|
<h3 class='usa-alert-heading'>{{title}}</h3>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
@ -24,6 +24,8 @@
|
|||||||
{% include "fragments/dod_login.html" %}
|
{% include "fragments/dod_login.html" %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{{ Alert(message=("login.csp_disclaimer" | translate), level="warning") }}
|
||||||
|
|
||||||
{% with %}
|
{% with %}
|
||||||
{% set category_filter=["success", "info", "warning"] %}
|
{% set category_filter=["success", "info", "warning"] %}
|
||||||
{% include "fragments/flash.html" %}
|
{% include "fragments/flash.html" %}
|
||||||
|
@ -228,6 +228,7 @@ login:
|
|||||||
learn_more: Learn more
|
learn_more: Learn more
|
||||||
message: 'When you are prompted to select a certificate, please select Email Certificate from the provided choices.'
|
message: 'When you are prompted to select a certificate, please select Email Certificate from the provided choices.'
|
||||||
title: Certificate Selection
|
title: Certificate Selection
|
||||||
|
csp_disclaimer: This is one of two sites being used for both Azure and AWS integration. The URLs and hosting environments are being managed without knowledge of or input to the JEDI source selection and should not be considered an endorsement of any cloud vendor.
|
||||||
h1_title: Access the JEDI cloud
|
h1_title: Access the JEDI cloud
|
||||||
login_button: Sign in with CAC
|
login_button: Sign in with CAC
|
||||||
title_tag: Sign in | JEDI cloud
|
title_tag: Sign in | JEDI cloud
|
||||||
|
Loading…
x
Reference in New Issue
Block a user