mirror of
https://github.com/searxng/searxng
synced 2024-01-01 19:24:07 +01:00
feat: Add first WIP for engine load time
This commit is contained in:
parent
3535377c9a
commit
d4dfec3f3e
3 changed files with 26 additions and 4 deletions
|
|
@ -35,7 +35,22 @@
|
|||
<div id="sidebar">
|
||||
|
||||
{%- if number_of_results != '0' -%}
|
||||
<p id="result_count"><small>{{ _('Number of results') }}: {{ number_of_results }}</small></p>
|
||||
<p id="result_count">
|
||||
<small>{{ _('Number of results') }}: {{ number_of_results }}</small>
|
||||
</p>
|
||||
<details>
|
||||
<summary>
|
||||
<small>Longest loading time: {{ longest_loading_time.load }} from {{ longest_loading_time.engine }}</small>
|
||||
</summary>
|
||||
<div>
|
||||
<ul>
|
||||
{% for timing in loading_times %}
|
||||
<li>
|
||||
<small>{{ timing.load }} from {{ timing.engine }}</small>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</details>
|
||||
{%- endif -%}
|
||||
|
||||
{%- if infoboxes -%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue