summaryrefslogtreecommitdiff
path: root/searx/templates/stats.html
diff options
context:
space:
mode:
authorasciimoo <asciimoo@gmail.com>2013-10-27 01:02:50 +0200
committerasciimoo <asciimoo@gmail.com>2013-10-27 01:02:50 +0200
commit3c3d9b0467e358e3edadeaafa9611693a093b356 (patch)
treec07f3ced78082cb469b71a1793d172f2655bab65 /searx/templates/stats.html
parentb8191f43e772f2dd04f9309536005cf1dfe5315f (diff)
[enh] template for stats
Diffstat (limited to 'searx/templates/stats.html')
-rw-r--r--searx/templates/stats.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/searx/templates/stats.html b/searx/templates/stats.html
new file mode 100644
index 000000000..3b5ad844b
--- /dev/null
+++ b/searx/templates/stats.html
@@ -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 %}