feat(queue): publish queue with slots, /plan page and dry-run runner

This commit is contained in:
kpa39l
2026-10-30 19:10:51 +00:00
parent 6a78b6c0a2
commit fba0e395b6
23 changed files with 1013 additions and 69 deletions
+7
View File
@@ -79,6 +79,13 @@
<button class="btn btn-outline text-blue-600" type="submit" title="Сгенерировать черновик своего поста через модель — затем отредактируйте в поле справа">✍️ Переписать</button>
</form>
{% endif %}
{% if selected.status != 'published' %}
<form method="post" action="/posts/{{ selected.id }}/enqueue"
hx-post="/posts/{{ selected.id }}/enqueue" hx-swap="none">
{{ hid }}
<button class="btn btn-info" type="submit" title="Поставить в план публикации — пост уйдёт из «Отобранных» в очередь и будет опубликован в ближайший свободный слот">🗓 В очередь</button>
</form>
{% endif %}
{% if selected.status != 'rejected' and selected.status != 'published' %}
<form method="post" action="/posts/{{ selected.id }}/reject"
hx-post="/posts/{{ selected.id }}/reject" hx-swap="none">