This commit is contained in:
2025-11-11 15:51:54 +00:00
parent 99ae905cb0
commit 3e0c5d2ecc
114 changed files with 9278 additions and 929 deletions

View File

@@ -19,6 +19,9 @@ module.exports = {
* Adjust the following line to match your project structure.
*/
'../../templates/**/*.html',
// Ensure admin overrides are scanned
'../../templates/admin/**/*.html',
'../../templates/admin/*.html',
/*
* Templates in other django apps (BASE_DIR/<any_app_name>/templates).
@@ -41,6 +44,9 @@ module.exports = {
*/
// '../../**/*.py'
],
// corePlugins: {
// preflight: false,
// },
theme: {
extend: {},
},

View File

@@ -1,13 +0,0 @@
{% extends "unfold/admin/base_site.html" %}
{% block content %}
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="bg-white dark:bg-gray-900 p-6 rounded-2xl shadow">
<h2 class="text-xl font-semibold mb-2">Users</h2>
<p class="text-3xl font-bold">{{ user_count }}</p>
</div>
<div class="bg-white dark:bg-gray-900 p-6 rounded-2xl shadow">
<h2 class="text-xl font-semibold mb-2">Groups</h2>
<p class="text-3xl font-bold">{{ group_count }}</p>
</div>
</div>
{% endblock %}