Add USA header to base templates

This commit is contained in:
Andrew Croce
2018-10-02 11:14:39 -04:00
parent ad49d3f71f
commit 943be0707d
5 changed files with 46 additions and 0 deletions

View File

@@ -16,6 +16,8 @@
{% block template_vars %}{% endblock %}
{% include 'components/usa_header.html' %}
{% include 'navigation/topbar.html' %}
<div class='global-layout'>

View File

@@ -16,6 +16,8 @@
<div id='app-root'>
{% include 'components/usa_header.html' %}
<header class="topbar topbar--public">
<nav class="topbar__navigation">
<a href="{{ url_for('atst.home') }}" class="topbar__link topbar__link--home">
@@ -61,6 +63,10 @@
</div>
{% assets "js_all" %}
<script src="{{ ASSET_URL }}"></script>
{% endassets %}
</body>
</html>

View File

@@ -0,0 +1,10 @@
{% from "components/tooltip.html" import Tooltip %}
<aside class='usa-banner'>
<img src='{{ url_for("static", filename="img/us_flag_small.png") }}' alt='U.S. Flag' />
<p>An official website of the United States government</p>
{{ Tooltip('<p><strong>The .mil means its official.</strong> Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure youre on a federal government site.</p><br/><p><strong>The site is secure.</strong><br>The <strong>https://</strong> ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.</p>',
title='Heres how you know') }}
</aside>