mirror of
https://gitverse.ru/kpa39l/email-assistant.git
synced 2026-11-27 06:30:08 +00:00
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,51 @@
|
||||
{% extends "base.html" %}
|
||||
{% block title %}Email Assistant — Поиск{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="hd">
|
||||
<div>
|
||||
<h1>🔍 Поиск по архиву</h1>
|
||||
<div class="sub">Полнотекстовый поиск в mail_index.db (FTS5)</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="page">
|
||||
<div class="searchbox">
|
||||
<form method="get" action="/search" id="search-form">
|
||||
<div class="qrow">
|
||||
<div class="bigq">
|
||||
<span class="si">🔍</span>
|
||||
<input type="text" name="q" placeholder="Поиск: текст, отправитель, тема…" value="{{ q }}">
|
||||
</div>
|
||||
<button class="go" type="submit">Найти</button>
|
||||
</div>
|
||||
<div class="filters">
|
||||
<label class="flt">Папка
|
||||
<select name="folder">
|
||||
<option value="">—</option>
|
||||
{% for f in folders or [] %}
|
||||
<option value="{{ f.path }}" {{ 'selected' if folder == f.path }}>{{ f.path }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
<label class="flt">Тэг
|
||||
<select name="tag">
|
||||
<option value="">—</option>
|
||||
{% for t in ['urgent','task','meeting','info'] %}
|
||||
<option value="{{ t }}" {{ 'selected' if tag == t }}>{{ t }}</option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
<span class="flt">От <input type="date" name="df" value="{{ df }}"></span>
|
||||
<span class="flt">по <input type="date" name="dt" value="{{ dt }}"></span>
|
||||
<label class="flt"><input type="checkbox" name="att" value="1" {{ 'checked' if att }}> 📎 с вложениями</label>
|
||||
<label class="flt"><input type="checkbox" name="body" value="1" {{ 'checked' if body }}> искать в теле</label>
|
||||
</div>
|
||||
<div class="hint">Подсказка: «Эвотор» — по всем полям · «from:Полякович» — отправитель · «2026-10» — месяц</div>
|
||||
</form>
|
||||
</div>
|
||||
|
||||
<div id="search-results">
|
||||
{% include "partials/search_results.html" %}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user