Show ERD in settings tab

This commit is contained in:
Peter Stockings
2025-12-01 09:53:21 +11:00
parent 1402723a6e
commit 0f26545c51
4 changed files with 256 additions and 1 deletions

View File

@@ -13,6 +13,11 @@
class="border-b-2 border-blue-500 text-blue-600 dark:text-blue-400 py-4 px-1 text-sm font-medium cursor-pointer">
Export Data
</a>
<a hx-get="{{ url_for('settings.database_schema') }}" hx-target="#container" hx-swap="innerHTML"
hx-push-url="true"
class="border-b-2 border-transparent text-gray-500 hover:text-gray-700 hover:border-gray-300 dark:text-gray-400 dark:hover:text-gray-300 py-4 px-1 text-sm font-medium cursor-pointer">
Database Schema
</a>
</nav>
</div>
@@ -29,7 +34,7 @@
<svg class="w-5 h-5 text-green-500 mt-0.5" fill="currentColor" viewBox="0 0 20 20">
<path fill-rule="evenodd"
d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.707-9.293a1 1 0 00-1.414-1.414L9 10.586 7.707 9.293a1 1 0 00-1.414 1.414l2 2a1 1 0 001.414 0l4-4z"
clip-rule="evenodd" />
clip-rule="even odd" />
</svg>
<div>
<h3 class="font-medium text-gray-900 dark:text-white">HTTP Functions</h3>