Private
Public Access
1
0

rudimentary alert report page

This commit is contained in:
Sander Roosendaal
2019-08-18 15:03:21 +02:00
parent f9231f94e0
commit 5015266ba8
5 changed files with 125 additions and 17 deletions

View File

@@ -0,0 +1,35 @@
{% extends "newbase.html" %}
{% load staticfiles %}
{% block title %}Metric Alert{% endblock %}
{% block main %}
<p>
<a href="/rowers/alerts/{{ alert.id }}/report/{{ nperiod|add:1 }}/user/{{ rower.user.id }}/">Previous</a>
{% if nperiod > 0 %}
<a href="/rowers/alerts/{{ alert.id }}/report/{{ nperiod|add:-1 }}/user/{{ rower.user.id }}/">Next</a>
{% endif %}
</p>
<ul class="main-content">
<li class="grid_2">
<h2>Alert</h2>
<p>{{ alert }}</p>
<p>This is a page under construction. Currently with minimal information</p>
</li>
{% for key, value in stats.items %}
<li>
<h2>{{ key }}</h2>
<p>{{ value }}</p>
</li>
{% endfor %}
</ul>
{% endblock %}
{% block sidebar %}
{% include 'menu_analytics.html' %}
{% endblock %}