Files
notifications-admin/app/templates/views/signin.html
T

76 lines
3.1 KiB
HTML
Raw Normal View History

{% extends "withoutnav_template.html" %}
2016-01-07 20:11:22 +00:00
{% from "components/page-footer.html" import page_footer %}
2018-09-19 12:39:36 +01:00
{% from "components/form.html" import form_wrapper %}
2017-02-13 10:45:15 +00:00
{% block per_page_title %}
2021-12-31 12:08:14 +00:00
{% if again %}
You need to sign in again
{% else %}
Sign in
{% endif %}
{% endblock %}
{% block maincolumn_content %}
2024-03-12 13:37:44 -04:00
{% if login_gov_enabled %}
2023-06-08 13:12:00 -04:00
<div class="grid-row">
2024-03-01 09:34:25 -05:00
<div id="countdown-container" class="usa-alert usa-alert--warning width-full margin-bottom-4">
2024-02-27 11:53:51 -05:00
<div class="usa-alert__body">
<h4 class="usa-alert__heading">Login.gov is required by April 16, 2024</h4>
2024-02-27 11:53:51 -05:00
<p class="usa-alert__text">
2024-03-01 09:34:25 -05:00
You have <span id="countdown"></span> left to use Login.gov to sign in
2024-02-27 11:53:51 -05:00
</p>
</div>
</div>
</div>
2024-03-12 13:37:44 -04:00
{% endif %}
2024-02-27 11:53:51 -05:00
<div class="grid-row margin-bottom-4">
2024-02-26 11:10:50 -05:00
<div class="tablet:grid-col-5">
{% if again %}
2023-06-06 15:28:24 -04:00
<h1 class="font-body-2xl margin-bottom-3">You need to sign in again</h1>
2017-02-17 14:06:09 +00:00
{% if other_device %}
2023-06-06 15:28:24 -04:00
<p>
2017-02-17 14:06:09 +00:00
We signed you out because you logged in to Notify on another device.
</p>
{% else %}
2023-06-06 15:28:24 -04:00
<p>
2019-09-13 12:53:22 +01:00
We signed you out because you have not used Notify for a while.
2017-02-17 14:06:09 +00:00
</p>
{% endif %}
{% else %}
2023-06-06 15:28:24 -04:00
<h1 class="font-body-2xl margin-bottom-3">Sign in</h1>
2023-12-14 07:34:33 -08:00
{% if login_gov_enabled %}
2024-02-26 11:10:50 -05:00
<p>You can access your account by signing in with one of the options below:</p>
<a class="usa-link usa-button usa-button--outline" href="{{ initial_signin_url }}">Sign in with Login.gov</a>
<p class="margin-y-3"><strong>Or:</strong></p>
2023-11-02 14:10:22 -07:00
{% endif %}
{% endif %}
2018-09-19 12:39:36 +01:00
{% call form_wrapper(autocomplete=True) %}
2020-08-07 15:16:04 +01:00
{{ form.email_address(param_extensions={"autocomplete": "email"}) }}
{{ form.password(param_extensions={"autocomplete": "current-password"}) }}
{{ page_footer("Continue", secondary_link=password_reset_url, secondary_link_text="Forgot your password?") }}
2018-09-19 12:39:36 +01:00
{% endcall %}
</div>
2024-03-12 13:37:44 -04:00
{% if login_gov_enabled %}
<div class="tablet:grid-col-6 tablet:grid-offset-1 margin-top-2 padding-y-2 padding-x-4 bg-base-lightest">
<h2 class="font-body-lg">Notify.gov is changing the sign-in experience to Login.gov effective<br>April 16, 2024</h2>
<p>Why are we doing this?</p>
<ul class="usa-list">
<li><strong>Enhanced security:</strong> Login.gov is really secure and trustworthy</li>
<li><strong>One single source for signing in:</strong> You can use Login.gov for other services within the federal government</li>
<li><strong>2FA flexibility:</strong> Login.gov supports multiple methods for users to verify their identity.</li>
</ul>
<p>What do I need to do?</p>
<ul class="usa-list">
<li>If you have a Login.gov account, start using it to sign in to Notify today.</li>
<li>If you dont have a Login.gov account, you must create one by April 16, 2024 to continue to access Notify.</li>
</ul>
<div class="border-bottom border-base-lighter margin-y-4"></div>
2024-03-15 11:41:30 -04:00
<a class="usa-link usa-button margin-bottom-3" href="{{ initial_signin_url }}">Create Login.gov account</a>
2024-03-12 13:37:44 -04:00
</div>
2024-02-26 11:10:50 -05:00
</div>
2024-03-12 13:37:44 -04:00
{% endif %}
2015-12-04 14:50:23 +00:00
{% endblock %}