Refactored file structure to fix docker build, fixed Unfold configuration.
This commit is contained in:
13
app/theme/templates/unfold/dashboard.html
Normal file
13
app/theme/templates/unfold/dashboard.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% 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 %}
|
||||
Reference in New Issue
Block a user