Move settings endpoints to separate blueprint

This commit is contained in:
Peter Stockings
2026-02-08 18:48:03 +11:00
parent 31078b181a
commit 8c08140ad0
6 changed files with 80 additions and 69 deletions

View File

@@ -192,8 +192,8 @@
</svg>
<span class="ml-3">Endpoints</span>
</a>
<a hx-get="{{ url_for('settings') }}" hx-push-url="true" hx-target="#container"
class="text-base text-gray-900 font-normal rounded-lg hover:bg-gray-100 group transition duration-75 flex items-center p-2 cursor-pointer {{ is_selected_page(url_for('settings')) }} page-link"
<a hx-get="{{ url_for('settings.settings') }}" hx-push-url="true" hx-target="#container"
class="text-base text-gray-900 font-normal rounded-lg hover:bg-gray-100 group transition duration-75 flex items-center p-2 cursor-pointer {{ is_selected_page(url_for('settings.settings')) }} page-link"
_="on click add .hidden to #sidebar then remove .ml-64 from #main
on htmx:afterRequest go to the top of the body">
<svg class="w-6 h-6 text-gray-500 group-hover:text-gray-900 transition duration-75"