Split up settings sub pages into templates loaded by htmx to reduce initial load
This commit is contained in:
14
templates/partials/settings/activity.html
Normal file
14
templates/partials/settings/activity.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="bg-white shadow rounded-lg p-4 sm:p-6 lg:p-8 mb-8">
|
||||
<div class="mb-6 border-b border-gray-100 pb-4">
|
||||
<h3 class="text-xl font-bold text-gray-900">Activity Logs</h3>
|
||||
<p class="text-sm text-gray-500">Review recent actions and administrative changes.</p>
|
||||
</div>
|
||||
<div id="activity-logs-container" hx-get="/settings/activity_logs" hx-trigger="load">
|
||||
<div class="flex justify-center p-12">
|
||||
<div class="flex flex-col items-center">
|
||||
<div class="animate-spin rounded-full h-10 w-10 border-b-2 border-cyan-600 mb-4"></div>
|
||||
<p class="text-sm text-gray-500">Loading activity history...</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user