This commit is contained in:
boris committed 2025-11-11 15:51:54 +00:00
1 parent 99ae905cb0
commit 3e0c5d2ecc
114 files changed
+9278 -929

No files matched your search

+6
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: {},
},
-13
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 %}