Clarified time periods for graphs and use one less unneeded graph.
This commit is contained in:
parent
ff9e202df6
commit
e1a0eec442
@ -53,7 +53,8 @@ func main() {
|
||||
err := rows.Scan(&id, &title)
|
||||
checkerror(err)
|
||||
createtimegraph(db, "week-time-", id, title, LAST_WEEK)
|
||||
createweekdaygraph(db, "week-avg_day-", id, title, LAST_WEEK)
|
||||
createtimegraph(db, "month-time-", id, title, LAST_MONTH)
|
||||
createweekdaygraph(db, "month-avg_day-", id, title, LAST_MONTH)
|
||||
}
|
||||
err = rows.Err()
|
||||
checkerror(err)
|
||||
|
||||
@ -53,11 +53,16 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<h3>Weekly history</h3>
|
||||
<h3>History</h3>
|
||||
<img src="{% static 'graphs/' %}week-time-{{graph_file}}.png" />
|
||||
<b>Last week</b>
|
||||
<br />
|
||||
<img src="{% static 'graphs/' %}month-time-{{graph_file}}.png" />
|
||||
<b>Last month</b>
|
||||
|
||||
<h3>Average per day</h3>
|
||||
<img src="{% static 'graphs/' %}week-avg_day-{{graph_file}}.png" />
|
||||
<img src="{% static 'graphs/' %}month-avg_day-{{graph_file}}.png" />
|
||||
<b>Last month</b>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user