mirror of
https://github.com/searxng/searxng.git
synced 2024-12-23 01:36:29 +00:00
[enh] template for stats
This commit is contained in:
parent
b8191f43e7
commit
3c3d9b0467
1 changed files with 16 additions and 0 deletions
16
searx/templates/stats.html
Normal file
16
searx/templates/stats.html
Normal 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 %}
|
Loading…
Reference in a new issue