Move http endpoints into seperate route

This commit is contained in:
Peter Stockings
2025-07-21 22:05:58 +10:00
parent 917189b3d9
commit 2ec44252bb
12 changed files with 552 additions and 304 deletions

View File

@@ -42,8 +42,8 @@
{% if show_client|default(false, true) %}
<button
class="group flex flex-col items-center {% if active_tab == 'client' %}text-blue-600{% else %}text-gray-500 hover:text-blue-600{% endif %}"
hx-get="{{ url_for('client', function_id=function_id) }}" hx-target="#container" hx-swap="innerHTML"
hx-push-url="true">
hx-get="{{ url_for('http.client', function_id=function_id) }}" hx-target="#container"
hx-swap="innerHTML" hx-push-url="true">
<div
class="p-2 rounded-lg {% if active_tab == 'client' %}bg-blue-50{% else %}group-hover:bg-blue-50{% endif %}">
<svg class="w-6 h-6" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"