Added settings and API key stuff

Signed-off-by: Marcel Müller <neikos@neikos.email>
This commit is contained in:
Marcel Müller 2026-01-23 19:31:53 +01:00
parent 9d08e23352
commit a80ad57ca9
14 changed files with 396 additions and 45 deletions

View file

@ -1,6 +1,6 @@
{% macro text_input(label, name, id="",type="text") %}
{% macro text_input(label, name, id="",type="text",value="") %}
<div class="flex flex-col">
<label for="{{id}}" class="font-bold">{{label}}:</label>
<input class="border rounded p-1 bg-gray-50" type="{{type}}" name="{{name}}" id="{{id}}" />
<input class="border rounded p-1 bg-gray-50" type="{{type}}" name="{{name}}" id="{{id}}" {% if value %}value="{{value}}"{% endif %} />
</div>
{% endmacro text_input %}