rudimentary alert report page
This commit is contained in:
35
rowers/templates/alert_stats.html
Normal file
35
rowers/templates/alert_stats.html
Normal 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 %}
|
||||
Reference in New Issue
Block a user