Show warning text when a graph img couldn't be loaded.

This commit is contained in:
A. Svensson 2015-05-25 14:08:01 +02:00
parent 04301db79f
commit 4792581d4d

View File

@ -54,14 +54,14 @@
</table> </table>
<h3>History</h3> <h3>History</h3>
<img src="{% static 'graphs/' %}week-time-{{graph_file}}.png" /> <img src="{% static 'graphs/' %}week-time-{{graph_file}}.png" alt="(No data)" />
<b>Last week (players / hour)</b> <b>Last week (players / hour)</b>
<br /> <br />
<img src="{% static 'graphs/' %}month-time-{{graph_file}}.png" /> <img src="{% static 'graphs/' %}month-time-{{graph_file}}.png" alt="(No data)" />
<b>Last month (players / 6 hours)</b> <b>Last month (players / 6 hours)</b>
<h3>Average per day</h3> <h3>Average per day</h3>
<img src="{% static 'graphs/' %}month-avg_day-{{graph_file}}.png" /> <img src="{% static 'graphs/' %}month-avg_day-{{graph_file}}.png" alt="(No data)" />
<b>Last month</b> <b>Last month</b>
{% endblock %} {% endblock %}