mirror of
https://github.com/YunoHost-Apps/searx_ynh.git
synced 2024-09-03 20:16:30 +02:00
22 lines
599 B
HTML
22 lines
599 B
HTML
{% extends "default/base.html" %}
|
|
{% block head %} {% endblock %}
|
|
{% block content %}
|
|
<h2>{{ _('Engine stats') }}</h2>
|
|
|
|
{% for stat_name,stat_category in stats %}
|
|
<div class="left">
|
|
<table>
|
|
<tr colspan="3">
|
|
<th>{{ stat_name }}</th>
|
|
</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 %}
|
|
{% endblock %}
|