2015-01-16 00:56:54 +01:00
|
|
|
{% extends "courgette/base.html" %}
|
2014-08-18 10:44:46 +02:00
|
|
|
{% block head %} {% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
<h2>{{ _('Engine stats') }}</h2>
|
|
|
|
|
|
|
|
{% for stat_name,stat_category in stats %}
|
|
|
|
<div class="left">
|
|
|
|
<table>
|
2015-01-16 00:56:54 +01:00
|
|
|
<tr>
|
|
|
|
<th colspan="3">{{ stat_name }}</th>
|
2014-08-18 10:44:46 +02:00
|
|
|
</tr>
|
|
|
|
{% for engine in stat_category %}
|
|
|
|
<tr>
|
|
|
|
<td>{{ engine.name }}</td>
|
|
|
|
<td>{{ '%.02f'|format(engine.avg) }}</td>
|
|
|
|
<td class="percentage"><div style="width: {{ engine.percentage }}%"> </div></td>
|
|
|
|
</tr>
|
|
|
|
{% endfor %}
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2015-01-16 00:56:54 +01:00
|
|
|
{% endblock %}
|