wip: adds clear cache button

This commit is contained in:
2025-06-21 08:17:55 -05:00
parent be7b610111
commit 9714cf1749
2 changed files with 14 additions and 1 deletions

View File

@@ -19,7 +19,12 @@
</div>
<div class="col-span-5 h-screen overflow-y-scroll">
<twig:Header />
<h2 class="px-4 my-2 text-3xl font-bold text-gray-50">{% block h2 %}{% endblock %}</h2>
<div class="px-4 mt-3 flex flex-row justify-between">
<h2 class="text-3xl font-bold text-gray-50">{% block h2 %}{% endblock %}</h2>
<div class="flex flex-row gap-1 align-end justify-end items-end">
{% block action_buttons %}{% endblock %}
</div>
</div>
{% block body %}{% endblock %}
</div>
</div>

View File

@@ -2,6 +2,14 @@
{% block title %}Preferences{% endblock %}
{% block h2 %}Preferences{% endblock %}
{% block action_buttons %}
<button
class="px-1.5 py-1 my-2 text-white text-sm bg-blue-950 hover:bg-black/80 border-2 border-blue-500/90 rounded-md inline-block"
>
Clear Cache
</button>
{% endblock %}
{% block body %}
<div class="p-4 flex flex-row gap-2">
<twig:Card title="Media Preferences" class="w-full">