feat: complete UI redesign of admin dashboard with custom Tailwind
This commit is contained in:
@@ -2,14 +2,21 @@
|
||||
{% block body %}
|
||||
<div class="mb-6 flex flex-col md:flex-row justify-between items-start md:items-center gap-4">
|
||||
<div>
|
||||
<h1 class="text-3xl font-bold">Редакторская</h1>
|
||||
<div class="text-base-content/60 mt-1">Посты после AI-рерайта: быстрая проверка, правка и принятие.</div>
|
||||
<h1 class="text-3xl font-bold tracking-tight text-white flex items-center gap-3">
|
||||
<i data-lucide="edit-3" class="text-app-primary w-8 h-8"></i>
|
||||
Редакторская
|
||||
</h1>
|
||||
<div class="text-app-textMuted mt-1 text-sm">Проверка, правка и публикация сгенерированных постов.</div>
|
||||
</div>
|
||||
<div class="tabs tabs-boxed bg-base-200">
|
||||
|
||||
<!-- Status Tabs -->
|
||||
<div class="tabs p-1">
|
||||
{% for st in status_options %}
|
||||
<a class="tab {% if st.value in editorial_statuses %}tab-active{% endif %}" href="/editor?editorial_status={{ st.value }}">
|
||||
{{ st.label }}
|
||||
<span class="badge badge-sm ml-2 {% if st.value in editorial_statuses %}badge-primary{% else %}badge-ghost{% endif %}">{{ counts.get(st.value, 0) }}</span>
|
||||
<span class="ml-2 px-1.5 py-0.5 rounded-full text-xs font-semibold {% if st.value in editorial_statuses %}bg-app-primary/20 text-app-primary{% else %}bg-app-surface text-app-textMuted{% endif %}">
|
||||
{{ counts.get(st.value, 0) }}
|
||||
</span>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user