Report PDF emailing
This commit is contained in:
@@ -15,10 +15,20 @@
|
||||
<nav class="nav">
|
||||
<a href="/" {% if request.path == "/" %}aria-current="page"{% endif %}>Dashboard</a>
|
||||
<a href="/reports" {% if request.path == "/reports" %}aria-current="page"{% endif %}>Reports</a>
|
||||
<a href="/report-settings" {% if request.path == "/report-settings" %}aria-current="page"{% endif %}>Settings</a>
|
||||
</nav>
|
||||
<p class="refresh-status" id="refreshStatus" aria-live="polite"></p>
|
||||
</header>
|
||||
<main class="page">
|
||||
{% with messages = get_flashed_messages(with_categories=true) %}
|
||||
{% if messages %}
|
||||
<div class="flash-stack" aria-live="polite">
|
||||
{% for category, message in messages %}
|
||||
<p class="flash {{ category }}">{{ message }}</p>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endwith %}
|
||||
{% block content %}{% endblock %}
|
||||
</main>
|
||||
<script src="{{ url_for('static', filename='auto_refresh.js') }}"></script>
|
||||
|
||||
Reference in New Issue
Block a user