2021-09-11 22:44:15 +00:00
|
|
|
{% extends 'base.html' %}
|
2021-09-21 23:15:17 +00:00
|
|
|
{% from 'parts/alert_list.html' import alert_list %}
|
2021-09-11 22:44:15 +00:00
|
|
|
{% block head %}
|
2021-09-16 22:41:29 +00:00
|
|
|
<meta http-equiv="refresh" content="15;url=/alerts" />
|
2021-09-11 22:44:15 +00:00
|
|
|
{% endblock %}
|
|
|
|
{% block content_inner %}
|
|
|
|
{% if data %}
|
|
|
|
<h2>Current Alerts: {{ data.alert_count_current }}</h2>
|
|
|
|
<div class="accordion" id="accordionExample">
|
2021-09-21 23:15:17 +00:00
|
|
|
{{ alert_list(data.alerts_current) }}
|
2021-09-11 22:44:15 +00:00
|
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<h2>Previous Alerts: {{ data.alert_count_previous }}</h2>
|
2021-09-21 23:15:17 +00:00
|
|
|
<div class="accordion" id="accordionExample">
|
|
|
|
{{ alert_list(data.alerts_previous) }}
|
|
|
|
</div>
|
2021-09-11 22:44:15 +00:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|