logo

searx

My custom branche(s) on searx, a meta-search engine git clone https://hacktivis.me/git/searx.git

stats.html (600B)


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