alerts stats on alerts page
This commit is contained in:
@@ -12,6 +12,33 @@
|
||||
|
||||
<ul class="main-content">
|
||||
{% if alerts %}
|
||||
{% for alert in alerts %}
|
||||
<li class="rounder">
|
||||
<h2>{{ alert.name }}</h2>
|
||||
<a class="small" href="/rowers/alerts/{{ alert.id }}/edit/" title="Edit">
|
||||
<i class="fas fa-pencil-alt fa-fw"></i>
|
||||
</a>
|
||||
<a class="small" href="/rowers/alerts/{{ alert.id }}/delete/"
|
||||
title="Delete">
|
||||
<i class="fas fa-trash-alt fa-fw"></i>
|
||||
</a>
|
||||
<hr>
|
||||
<a href="/rowers/alerts/{{ alert.id }}/report/">
|
||||
<div id="id_alert_{{ forloop.counter }}">
|
||||
<h1>{{ stats|alertstatspercentage:forloop.counter }}%</h1>
|
||||
</div>
|
||||
</a>
|
||||
<p>
|
||||
{{ alert.description }}
|
||||
</p>
|
||||
<p>
|
||||
Workout type: {{ alert.workouttype }}
|
||||
</p>
|
||||
<p>
|
||||
Next Run: {{ alert.next_run }}
|
||||
</p>
|
||||
</li>
|
||||
{% endfor %}
|
||||
<li class="grid_4">
|
||||
<table width="100%" class="listtable shortpadded">
|
||||
<thead>
|
||||
@@ -68,6 +95,7 @@
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
{% block sidebar %}
|
||||
{% include 'menu_analytics.html' %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user