-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Maintenance Banner and Error Page System (#4472)
* Maintenance banner implemenation * Maintenance banner for 2024/12/12 * Comment update * Linting! Yippee! * Adjust time for 2024/12/10 maintenance, better display banner dates * Remove comment from maintenance template * December 12 -> 10 * December 5th start date, rather than 7th.
- Loading branch information
Showing
7 changed files
with
100 additions
and
0 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
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,15 @@ | ||
<section class="usa-alert usa-alert--warning margin-top-0" aria-label="Site alert"> | ||
<div class="usa-alert__body"> | ||
<h4 class="usa-alert__heading">Scheduled system upgrade</h4> | ||
|
||
{% comment %} If a message is given, use it. If not, display a generic message with the timeframe. {% endcomment %} | ||
<p class="usa-alert__text"> | ||
{% if MAINTENANCE_BANNER_MESSAGE %} | ||
{{ MAINTENANCE_BANNER_MESSAGE }} | ||
{% else %} | ||
FAC.gov will be doing a site upgrade from {{ MAINTENANCE_BANNER_START_TIME|date:"N j, Y, f A" }} to {{ MAINTENANCE_BANNER_END_TIME|date:"N j, Y, f A" }}. | ||
During this period, the entire website will be unavailable. | ||
{% endif %} | ||
</p> | ||
</div> | ||
</section> |
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,13 @@ | ||
{% extends "base.html" %} | ||
{% load sprite_helper %} | ||
{% block content %} | ||
<div class="display-flex flex-column flex-align-center margin-y-15"> | ||
<svg class="usa-icon usa-icon--size-7 text-error" focusable="false" role="img"> | ||
{% uswds_sprite "error" %} | ||
</svg> | ||
<h1 class="font-sans-2xl">Temporarily Down for System Maintenance</h1> | ||
<p class="font-sans-lg margin-y-0">We are in the process of uploading historical audits to fac.gov.</p> | ||
<p class="font-sans-lg margin-y-0">We should be back after December 10, 2024 at 6:00 p.m. ET.</p> | ||
<p class="margin-top-10">Thank you for your patience. If you have any questions, please contact us via email at <a class="usa-link" href="mailto:FAC@gsa.gov">FAC@gsa.gov</a>.</p> | ||
</div> | ||
{% endblock content %} |