2013-10-27 01:02:50 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
{% block head %} {% endblock %}
|
|
|
|
{% block content %}
|
2014-01-22 00:17:49 +01:00
|
|
|
<h2>{{ _('Engine stats') }}</h2>
|
2013-10-27 01:02:50 +02:00
|
|
|
|
2013-10-27 02:50:24 +02:00
|
|
|
{% for stat_name,stat_category in stats %}
|
2013-10-27 02:59:32 +02:00
|
|
|
<div class="left">
|
2013-10-27 02:50:24 +02:00
|
|
|
<table>
|
|
|
|
<tr colspan="3">
|
|
|
|
<th>{{ stat_name }}</th>
|
|
|
|
</tr>
|
|
|
|
{% for engine in stat_category %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ engine.name }}</td>
|
2013-10-27 02:59:32 +02:00
|
|
|
<td>{{ '%.02f'|format(engine.avg) }}</td>
|
|
|
|
<td class="percentage"><div style="width: {{ engine.percentage }}%"> </div></td>
|
2013-10-27 02:50:24 +02:00
|
|
|
</tr>
|
2013-10-27 01:02:50 +02:00
|
|
|
{% endfor %}
|
2013-10-27 02:50:24 +02:00
|
|
|
</table>
|
2013-10-27 01:02:50 +02:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endblock %}
|