diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-09-22 22:42:29 +0200 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-10-05 14:40:46 +0200 |
| commit | c21a907cacbbfa8ce8a135362067086063a805f6 (patch) | |
| tree | bb1a6236036b1e226385aef80e5291b24c3ed14f /searx/templates/oscar/stats.html | |
| parent | 5d7b63223fc9242a5be030851d3f6f3dc05d7c8b (diff) | |
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
Diffstat (limited to 'searx/templates/oscar/stats.html')
| -rw-r--r-- | searx/templates/oscar/stats.html | 27 |
1 files changed, 27 insertions, 0 deletions
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 %} +<div class="container-fluid"> + <h1>{{ _('Engine stats') }}</h1> + <div class="row"> + {% for stat_name,stat_category in stats %} + <div class="col-xs-12 col-sm-12 col-md-6"> + <h3>{{ stat_name }}</h3> + <div class="container-fluid"> + {% for engine in stat_category %} + <div class="row"> + <div class="col-sm-4 col-md-4">{{ engine.name }}</div> + <div class="col-sm-8 col-md-8"> + <div class="progress"> + <div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="{{ '%i'|format(engine.avg) }}" aria-valuemin="0" aria-valuemax="100" style="width: {{ engine.percentage }}%;"> + {{ '%.02f'|format(engine.avg) }} + </div> + </div> + </div> + </div> + {% endfor %} + </div> + </div> + {% endfor %} + </div> +</div> +{% endblock %} |