BAPSicle/ui-templates/alerts.html

15 lines
473 B
HTML
Raw Permalink Normal View History

2021-09-11 22:44:15 +00:00
{% extends 'base.html' %}
{% from 'parts/alert_list.html' import alert_list %}
2021-09-11 22:44:15 +00:00
{% block head %}
<meta http-equiv="refresh" content="15;url=/alerts" />
2021-09-11 22:44:15 +00:00
{% endblock %}
{% block content_inner %}
{% if data %}
2021-09-21 23:57:51 +00:00
<h3 class="h4">Current Alerts: {{ data.alerts_current | length }}</h3>
{{ alert_list(data.alerts_current) }}
2021-09-11 22:44:15 +00:00
<hr>
2021-09-21 23:57:51 +00:00
<h3 class="h4">Previous Alerts: {{ data.alerts_previous | length }}</h3>
{{ alert_list(data.alerts_previous) }}
2021-09-11 22:44:15 +00:00
{% endif %}
{% endblock %}