2024-03-01 10:38:07 -08:00
{% from "../components/banner.html" import banner %}
{% from "../components/components/skip-link/macro.njk" import usaSkipLink -%}
{% from "../components/components/footer/macro.njk" import usaFooter -%}
2024-02-29 16:36:11 -08:00
2024-02-29 10:49:30 -08:00
<!DOCTYPE html>
< html lang = "{{ htmlLang | default('en') }}" class = "{{ htmlClasses }}" >
2024-03-21 12:48:36 -04:00
{% include "new/components/head/head.html" %}
2024-02-29 10:49:30 -08:00
< body class = "usa-template__body {{ bodyClasses }}" >
< script nonce = "{{ csp_nonce() }}" > document . body . className = ( ( document . body . className ) ? document . body . className + ' js-enabled' : 'js-enabled' ) ; < / script >
2024-02-29 16:36:11 -08:00
{% block bodyStart %}
{% block extra_javascripts_before_body %}
<!-- Google Tag Manager (noscript) -->
< noscript > < iframe src = "https://www.googletagmanager.com/ns.html?id=GTM-WX5NGWF"
height="0" width="0" style="display:none;visibility:hidden">< / iframe > < / noscript >
<!-- End Google Tag Manager (noscript) -->
{% endblock %}
{% endblock %}
2024-03-01 10:38:07 -08:00
2024-02-29 10:49:30 -08:00
{% block skipLink %}
{{ usaSkipLink({
"href": '#main-content',
"text": 'Skip to main content'
}) }}
{% endblock %}
2024-03-26 18:00:01 -07:00
{# region header #}
2024-02-29 10:49:30 -08:00
{% block header %}
2024-02-29 16:36:11 -08:00
{% if current_user.is_authenticated %}
2024-03-26 18:00:01 -07:00
{% include 'new/components/usa_banner.html' %}
{% include 'new/components/header.html' %}
2024-02-29 16:36:11 -08:00
{% endif %}
2024-02-29 10:49:30 -08:00
{% endblock %}
2024-03-01 10:38:07 -08:00
<!-- \\#region block main -->
2024-02-29 10:49:30 -08:00
{% block main %}
2024-02-29 16:36:11 -08:00
< div class = "grid-container" >
{% block beforeContent %}
{% block backLink %}{% endblock %}
{% endblock %}
{% block mainClasses %}
<!-- notes set mainClasses = "margin - top - 5 padding - bottom - 5" where withoutnav_template was used and maybe templates that are using content_template -->
< main class = "{{ mainClasses }}" id = "main-content" role = "main" >
{% endblock %}
{% block content %}
{% block flash_messages %}
<!-- flash_message.html was from the withoutnav_template and is only included on child templates that was using withoutnav_template. Now, we can add in flash_message blocks and include 'flash_messages.html' to child templates that was using withoutnav_template. This will help to eliminate the use of a whole other parent template. -->
{% endblock %}
{% block maincolumn_content %}
{% block fromContentTemplatetwoColumnGrid %}
< div class = "grid-row" >
{% if navigation_links %}
< div class = "tablet:grid-col-2" >
{{ sub_navigation(navigation_links) }}
< / div >
< div class = "tablet:grid-col-10 padding-left-4 usa-prose site-prose" >
{% else %}
< div class = "tablet:grid-col-10" >
{% endif %}
{% block content_column_content %}{% endblock %}
< / div >
< / div >
<!-- content_column_content block is from the content_template.html. We do not need this template. We can consolidate and move it to the base.html template. We can call on this block where child templates were using the content_template.html -->
{% endblock %}
{% endblock %}
{% endblock %}
< / main >
< / div >
2024-02-29 10:49:30 -08:00
{% endblock %}
2024-03-01 10:38:07 -08:00
<!-- \\#endregion -->
2024-02-29 10:49:30 -08:00
2024-03-01 10:38:07 -08:00
<!-- \\#region block footer -->
2024-02-29 10:49:30 -08:00
{% block footer %}
2024-02-29 16:36:11 -08:00
{% if current_service and current_service.research_mode %}
{% set meta_suffix = 'Built by the < a href = "https://www.gsa.gov/about-us/organization/federal-acquisition-service/technology-transformation-services/tts-solutions" class = "usa-link" > Technology Transformation Services< / a > < span id = "research-mode" class = "research-mode" > research mode< / span > ' %}
{% else %}
{% set meta_suffix = 'Built by the < a href = "https://www.gsa.gov/about-us/organization/federal-acquisition-service/technology-transformation-services/tts-solutions" class = "usa-link" > Technology Transformation Services< / a > ' %}
{% endif %}
{{ usaFooter({
"classes": "js-footer",
"navigation": [
{
"title": "About Notify",
"columns": 1,
"items": [
{
"href": url_for("main.features"),
"text": "Features"
},
{
"href": url_for("main.roadmap"),
"text": "Roadmap"
},
{
"href": url_for("main.security"),
"text": "Security"
},
{
"href": url_for("main.terms"),
"text": "Terms of use"
},
]
},
{
"title": "Using Notify",
"columns": 1,
"items": [
{
"href": url_for("main.get_started"),
"text": "Get started"
},
{
"href": url_for("main.pricing"),
"text": "Pricing"
},
{
"href": url_for("main.trial_mode_new"),
"text": "Trial mode"
},
{
"href": url_for("main.message_status"),
"text": "Delivery status"
},
{
"href": url_for("main.guidance_index"),
"text": "Guidance"
},
{
"href": url_for("main.documentation"),
"text": "API documentation"
}
]
},
{
"title": "Support",
"columns": 1,
"items": [
{
"href": url_for('main.support'),
"text": "Contact us"
},
]
},
],
"meta": {
"items": meta_items,
"html": meta_suffix
}
}) }}
{% if current_user.is_authenticated %}
{% block sessionUserWarning %}
< dialog class = "usa-modal" id = "sessionTimer" aria-labelledby = "sessionTimerHeading" aria-describedby = "timerWarning" >
< div class = "usa-modal__content" >
< div class = "usa-modal__main" >
< h2 class = "usa-modal__heading" id = "sessionTimerHeading" >
Your session will end soon.
< span class = "usa-sr-only" > Please choose to extend your session or sign out. Your session will expire in 5 minutes or less.< / span >
< / h2 >
< div class = "usa-prose" >
< p > You have been inactive for too long.
Your session will expire in < span id = "timeLeft" role = "timer" > < / span > .
< / p >
< / div >
< div class = "usa-modal__footer" >
< ul class = "usa-button-group" >
< li class = "usa-button-group__item" >
< button type = "button" class = "usa-button" id = "extendSessionTimer" data-close-modal >
Extend Session
< / button >
< / li >
< li class = "usa-button-group__item" >
< button type = "button" class = "usa-button usa-button--unstyled padding-105 text-center" id = "logOutTimer"
data-close-modal>
Sign out
< / button >
< / li >
< / ul >
< / div >
< / div >
< / div >
< / dialog >
{% endblock %}
{% endif %}
2024-02-29 10:49:30 -08:00
{% endblock %}
2024-03-01 10:38:07 -08:00
<!-- \\#endregion -->
2024-02-29 10:49:30 -08:00
2024-02-29 16:36:11 -08:00
{% block bodyEnd %}
{% block extra_javascripts %}
{% endblock %}
<!-- [if gt IE 8]><! -->
< script type = "text/javascript" src = "{{ asset_url('javascripts/all.js') }}" > < / script >
< script type = "text/javascript" src = "{{ asset_url('js/uswds.min.js') }}" > < / script >
<!-- <![endif] -->
{% endblock %}
2024-02-29 10:49:30 -08:00
< / body >
< / html >