stats.html 665 B

1234567891011121314151617181920212223242526
  1. {% extends "simple/base.html" %}
  2. {% block head %} {% endblock %}
  3. {% block content %}
  4. <a href="{{ url_for('index') }}"><h1><span>searx</span></h1></a>
  5. <h2>{{ _('Engine stats') }}</h2>
  6. {% for stat_name,stat_category in stats %}
  7. <div class="left">
  8. <table>
  9. <tr colspan="3">
  10. <th>{{ stat_name }}</th>
  11. </tr>
  12. {% for engine in stat_category %}
  13. <tr>
  14. <td>{{ engine.name }}</td>
  15. <td>{{ '%.02f'|format(engine.avg) }}</td>
  16. <td class="percentage"><div style="width: {{ engine.percentage }}%">&nbsp;</div></td>
  17. </tr>
  18. {% endfor %}
  19. </table>
  20. </div>
  21. {% endfor %}
  22. {% endblock %}