This repository has been archived by the owner on Aug 27, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
48 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{% extends "admin/change_form.html" %} | ||
{% load i18n %} | ||
|
||
{# This file is based on https://github.com/django/django/blob/master/django/contrib/admin/templates/admin/auth/user/add_form.html. #} | ||
|
||
{% block form_top %} | ||
{% if not is_popup %} | ||
<p>First, enter an email address. Then, you'll be able to edit more user options.</p> | ||
{% else %} | ||
<p>Enter an email address.</p> | ||
{% endif %} | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{% extends "web/base.html" %} | ||
|
||
{% block content %} | ||
<section class="usa-grid"> | ||
<div class="usa-width-one-full"> | ||
<h1>Logged out</h1> | ||
|
||
<div class="alert alert-success"> | ||
<h3>You have successfully logged out.</h3> | ||
<p>Return to the <a href="/">home page</a>.</p> | ||
</div> | ||
</div> | ||
</section> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "web/base.html" %} | ||
|
||
{% block content %} | ||
<section class="usa-grid"> | ||
<div class="usa-width-one-full"> | ||
<h1>Login Error</h1> | ||
{% if error_code == 'invalid_code_or_nonexistent_user' %} | ||
<p> | ||
Either you don't have permission to log in to this system, or | ||
an error occurred when trying to log you in. | ||
</p> | ||
{% else %} | ||
<p>Unfortunately, an error occurred when trying to log you in.</p> | ||
<p>Error code: <code>{{ error_code }}</code></p> | ||
{% endif %} | ||
</div> | ||
</section> | ||
{% endblock %} |