Logging: /stats-Zugriffe aus Statistiken entfernt - Zugriffe auf /stats werden nicht mehr geloggt und aus Aktivitäten gefiltert

This commit is contained in:
2025-08-26 08:44:53 +02:00
parent c0b383b08a
commit 243c756ef5
7 changed files with 1202 additions and 4 deletions

View File

@@ -191,18 +191,21 @@
<div class="bar-chart">
{% set max_count = [stats.searches_by_source.OT, stats.searches_by_source.WF, stats.searches_by_source.Both] | max %}
{% if stats.searches_by_source.OT > 0 %}
<!-- CSS-Linter: Jinja2-Template-Syntax wird ignoriert -->
<div class="bar" style="height: {{ (stats.searches_by_source.OT / max_count * 150) + 50 }}px;">
<div class="bar-value">{{ stats.searches_by_source.OT }}</div>
<div class="bar-label">OpenThesaurus</div>
</div>
{% endif %}
{% if stats.searches_by_source.WF > 0 %}
<!-- CSS-Linter: Jinja2-Template-Syntax wird ignoriert -->
<div class="bar" style="height: {{ (stats.searches_by_source.WF / max_count * 150) + 50 }}px;">
<div class="bar-value">{{ stats.searches_by_source.WF }}</div>
<div class="bar-label">Wordfreq</div>
</div>
{% endif %}
{% if stats.searches_by_source.Both > 0 %}
<!-- CSS-Linter: Jinja2-Template-Syntax wird ignoriert -->
<div class="bar" style="height: {{ (stats.searches_by_source.Both / max_count * 150) + 50 }}px;">
<div class="bar-value">{{ stats.searches_by_source.Both }}</div>
<div class="bar-label">Beide</div>