[enh] template for stats

This commit is contained in:
asciimoo 2013-10-27 01:02:50 +02:00
parent b8191f43e7
commit 3c3d9b0467
1 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
{% extends "base.html" %}
{% block head %} {% endblock %}
{% block content %}
<h2>Engine stats</h2>
{% for engine,engine_stats in stats.items() %}
<div>
<h3>{{ engine }}</h3>
<ul>
{% for statname,value in engine_stats.items() %}
<li>{{ statname }}: {{ value }}</li>
{% endfor %}
</ul>
</div>
{% endfor %}
{% endblock %}