Added new graphs to templates.

This commit is contained in:
A. Svensson 2015-05-19 19:48:34 +02:00
parent 9abe182765
commit 43aae333e2

View File

@ -55,9 +55,10 @@
</table> </table>
<h3>Weekly history</h3> <h3>Weekly history</h3>
<img src="{% static 'graphs/' %}{{graph_file}}.png" /> <img src="{% static 'graphs/' %}week-{{graph_file}}.png" />
<div id="weekly_history"></div> <div id="weekly_history"></div>
<h3>Average per day</h3> <h3>Average per day</h3>
<img src="{% static 'graphs/' %}avg_days-{{graph_file}}.png" />
<div id="weekday_averages"></div> <div id="weekday_averages"></div>
<div id="tooltip"></div> <div id="tooltip"></div>