From c21a907cacbbfa8ce8a135362067086063a805f6 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Mon, 22 Sep 2014 22:42:29 +0200 Subject: initial commit of the new template 'oscar' * base.html mostly implemented * stats.html implemented * about.html implemented * most of preferences.html implemented * using bootstrap.js --- searx/templates/oscar/stats.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 searx/templates/oscar/stats.html (limited to 'searx/templates/oscar/stats.html') diff --git a/searx/templates/oscar/stats.html b/searx/templates/oscar/stats.html new file mode 100644 index 000000000..b78caaa93 --- /dev/null +++ b/searx/templates/oscar/stats.html @@ -0,0 +1,27 @@ +{% extends "oscar/base.html" %} +{% block content %} +
+

{{ _('Engine stats') }}

+
+ {% for stat_name,stat_category in stats %} +
+

{{ stat_name }}

+
+ {% for engine in stat_category %} +
+
{{ engine.name }}
+
+
+
+ {{ '%.02f'|format(engine.avg) }} +
+
+
+
+ {% endfor %} +
+
+ {% endfor %} +
+
+{% endblock %} -- cgit v1.2.3