CHRIS / templates /base.html
3v324v23's picture
made links back to home page
f04fe94
Raw History Blame Contribute Delete
1.4 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{% block page_title %}{{ tool_title }}{% endblock %}</title>
<link rel="stylesheet"
href="{{ url_for('static', filename='10-theme.css') }}">
<link rel="stylesheet"
href="{{ url_for('static', filename='20-app.css') }}">
</head>
<body>
<header class="site-header">
<div class="site-container site-header-inner">
<a class="site-brand" href="https://www.fda.gov/">
<img class="fda-logo"
src="{{ url_for('static', filename='gov-fda-new-white.svg') }}"
alt="U.S. Food and Drug Administration">
</a>
<span class="site-tool-title">{{ tool_title }}</span>
<nav class="site-nav" aria-label="Main navigation">
<a href="/">Home</a>
{% for label, href in nav_links %}
<a href="{{ href }}">{{ label }}</a>
{% endfor %}
</nav>
</div>
</header>
<main class="site-main">
{% block content %}{% endblock %}
</main>
<footer class="site-footer">
<div class="site-container site-footer-inner">
<small>{{ footer_text }}</small>
<small>
<a href="mailto:david.saylor@fda.hhs.gov">Contact</a>
</small>
</div>
</footer>
</body>
</html>