chore: sync public repository
CI / checks (push) Has been cancelled

This commit is contained in:
maddin
2026-03-22 15:36:47 +00:00
parent 6fbd1bb3c2
commit 847f20c9d7
16 changed files with 402 additions and 23 deletions
+17 -9
View File
@@ -99,6 +99,15 @@
<p class="muted">Lege fest, wie viele Stunden du generell pro Woche arbeiten möchtest (Standard-Soll).</p>
<form method="post" action="/settings/weekly-target" class="stack" data-component="break-settings-form">
<input type="hidden" name="csrf_token" value="{{ csrf_token }}" />
<label>
Erfassungsmodus
<select name="entry_mode" required>
<option value="manual"
{% if user.entry_mode == 'manual' %}selected{% endif %}>Manuell (jeden Tag selbst erfassen)</option>
<option value="auto_until_today"
{% if user.entry_mode == 'auto_until_today' %}selected{% endif %}>Automatisch bis heute</option>
</select>
</label>
<label>
Wochenstunden
<input type="number"
@@ -145,17 +154,16 @@
</select>
</label>
<label>
Erfassungsmodus
<select name="entry_mode" required>
<option value="manual"
{% if user.entry_mode == 'manual' %}selected{% endif %}>Manuell (jeden Tag selbst erfassen)</option>
<option value="auto_until_today"
{% if user.entry_mode == 'auto_until_today' %}selected{% endif %}>Automatisch bis heute</option>
Theme
<select name="theme_preference" required>
<option value="auto"
{% if user.theme_preference == 'auto' %}selected{% endif %}>Automatisch</option>
<option value="dark"
{% if user.theme_preference == 'dark' %}selected{% endif %}>Dark</option>
<option value="light"
{% if user.theme_preference == 'light' %}selected{% endif %}>Light</option>
</select>
</label>
<p class="muted">
Im automatischen Modus werden fehlende Einträge für deine Arbeitstage bis einschließlich heute automatisch angelegt. Abweichungen kannst du danach einzeln anpassen.
</p>
<button type="submit" class="button">Speichern</button>
</form>
{% endcall %}