docs: session close 2026-10-22 — Docker, metrics, auth-log, Task 6 (VTODO-create). feat: webui/radicale.py create/toggle_task, CalDAV REPORT, api endpoints. fix: login cookie (HTMX, method=post, stale cleanup). fix: SQLite WAL read-only mount.
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
<div id="search-results">
|
||||
{% if q or folder or tag or df or dt %}
|
||||
<div class="ch" style="border:none;padding:8px 4px">
|
||||
<span>Найдено: {{ rows|length }}{% if body_fallback %} <span style="color:var(--fg3);font-weight:400">(поиск по полному телу — индекс FTS отстаёт)</span>{% endif %}</span>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% for r in rows %}
|
||||
<div class="res-row" hx-get="/emails/{{ r.path }}" hx-target="#c3" hx-swap="innerHTML"
|
||||
onclick="this.querySelector('a') && (location='/emails?path={{ r.path }}')">
|
||||
<span class="d">{{ (r.date or '')[:10] }}</span>
|
||||
<span class="f">{{ r.from_addr.split('<')[0].strip() or r.from_addr }}</span>
|
||||
<span class="s">{{ r.subject or '(без темы)' }}
|
||||
{% for t in r.tags %}<span class="tag {{ TAG_COLORS.get(t, 'i') }}">{{ t }}</span>{% endfor %}
|
||||
<span style="color:var(--fg3)">— {{ r.body_preview[:60] }}</span></span>
|
||||
</div>
|
||||
{% else %}
|
||||
<div class="empty">Ничего не найдено</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
Reference in New Issue
Block a user