Manage posts on dashboard and templates fixes

This commit is contained in:
Alphonse Paix
2025-10-03 19:18:15 +02:00
parent ce8c602ddb
commit af9cbdcafb
9 changed files with 65 additions and 55 deletions

View File

@@ -13,16 +13,16 @@
<path d="M23 21v-2a4 4 0 0 0-3-3.87"/>
<path d="M16 3.13a4 4 0 0 1 0 7.75"/>
</svg>
Subscribers management
Subscribers management ({{ count }})
</h2>
<p class="text-sm text-gray-600 mt-1">View and manage your subscribers.</p>
</div>
</div>
</div>
<div id="subscribers-list" class="py-6 space-y-6">
<div id="subscribers-list" class="space-y-6">
{% block subs %}
{% if subscribers.is_empty() %}
<div class="bg-gray-50 rounded-lg p-8 border-2 border-dashed border-gray-300 text-center">
<div class="g p-8 text-center">
<div class="w-16 h-16 bg-gray-200 rounded-full flex items-center justify-center mx-auto mb-4">
<svg class="w-8 h-8 text-gray-500"
fill="none"
@@ -42,7 +42,7 @@
{% endfor %}
</div>
{% endif %}
<div class="flex items-center justify-center space-x-2">
<div class="flex items-center justify-center space-x-2 mb-6">
<button hx-get="/admin/subscribers?page={{ current_page - 1 }}"
hx-target="#subscribers-list"
hx-swap="innerHTML"