fix: ingestion modal works on all pages

This commit is contained in:
Per Stark
2025-04-30 15:10:53 +02:00
parent 3f032c6930
commit 0169c9b525
3 changed files with 19 additions and 13 deletions

View File

@@ -32,7 +32,8 @@
</li>
{% endfor %}
<li>
<button class="btn btn-primary" hx-get="/ingress-form" hx-target="#modal" hx-swap="innerHTML">Add
<button class="btn btn-primary btn-outline w-full flex items-center gap-3 justify-start mt-2"
hx-get="/ingress-form" hx-target="#modal" hx-swap="innerHTML">{% include "icons/send_icon.html" %} Add
Content</button>
</li>
<div class="divider "></div>
@@ -78,7 +79,6 @@
</li>
{% endfor %}
{% else %}
<li><span class="text-xs italic text-base-content/60 px-4">No recent chats</span></li>
{% endif %}
</div>