mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 12:51:09 -05:00
Enhance moderation dashboard with Alpine.js for improved state management and event handling. Added x-data and event listener for retry functionality.
This commit is contained in:
@@ -50,3 +50,5 @@ tailwindcss, django, django-cotton, htmx, alpinejs, django-rest-framework, postg
|
|||||||
- Real database data only (NO MOCKING)
|
- Real database data only (NO MOCKING)
|
||||||
- RichChoiceField over Django choices
|
- RichChoiceField over Django choices
|
||||||
- Progressive enhancement required
|
- Progressive enhancement required
|
||||||
|
|
||||||
|
YOU ARE STRICTLY AND ABSOLUTELY FORBIDDEN FROM IGNORING, BYPASSING, OR AVOIDING THESE RULES IN ANY WAY WITH NO EXCEPTIONS!!!
|
||||||
@@ -145,7 +145,7 @@
|
|||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container max-w-6xl px-4 py-6 mx-auto">
|
<div class="container max-w-6xl px-4 py-6 mx-auto" x-data="moderationDashboard()" @retry-load="retryLoad()">
|
||||||
<div id="dashboard-content" class="relative transition-all duration-200">
|
<div id="dashboard-content" class="relative transition-all duration-200">
|
||||||
{% block moderation_content %}
|
{% block moderation_content %}
|
||||||
{% include "moderation/partials/dashboard_content.html" %}
|
{% include "moderation/partials/dashboard_content.html" %}
|
||||||
|
|||||||
Reference in New Issue
Block a user