Files
Gardomatic/internal/web/templates/pages/settings.tmpl
T
kleiax 904d14b64c
CI / test (push) Canceled after 0s
Initial commit
2026-09-12 22:22:17 +02:00

38 lines
3.4 KiB
Cheetah

{{define "title"}}Einstellungen{{end}}
{{define "main"}}
<header class='page-heading'><div><p class='eyebrow'>Nutzerkonto</p><h2>Einstellungen</h2></div></header>
<div class='settings-layout'>
{{template "settings_nav" (dict "Kind" "user")}}
<form class='settings-content' data-view-settings>
<section class='panel' id='list-settings'>
<h3>Seitengröße</h3>
<p>Lege fest, wie viele Einträge auf Listen- und Übersichtsseiten erscheinen.</p>
<label for='entries-per-page'>Einträge pro Seite</label>
<select id='entries-per-page' name='entriesPerPage'><option value='10'>10</option><option value='20'>20</option><option value='50'>50</option><option value='100'>100</option></select>
</section>
<section class='panel' id='view-settings'>
<h3>Ansichten</h3>
<label for='view-default'>Standard für alle Seiten</label>
<select id='view-default' name='default'><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<fieldset><legend>Abweichungen je Seite</legend>
<label for='view-dashboard'>Gartenübersicht</label><select id='view-dashboard' name='dashboard'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<label for='view-gardens'>Gärten</label><select id='view-gardens' name='gardens'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<label for='view-plants'>Im Garten</label><select id='view-plants' name='plants'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<label for='view-species'>Pflanzen</label><select id='view-species' name='species'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<label for='view-locations'>Orte</label><select id='view-locations' name='locations'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<label for='view-tasks'>Aufgaben</label><select id='view-tasks' name='tasks'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<label for='view-location-plants'>Pflanzen an einem Ort</label><select id='view-location-plants' name='location-plants'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
<label for='view-search'>Suchergebnisse</label><select id='view-search' name='search'><option value='inherit'>Standard verwenden</option><option value='grid'>Kacheln</option><option value='list'>Liste</option></select>
</fieldset>
<p class='form-message' data-settings-message aria-live='polite'></p>
<button type='submit'>Einstellungen speichern</button>
</section>
<section class='panel' id='editor-settings'>
<h3>Texteingabe</h3>
<p>Wähle, wie Texte im Tagebuch und an der Pinnwand bearbeitet werden.</p>
<label for='journal-editor-mode'>Editor</label>
<select id='journal-editor-mode' name='journalEditor'><option value='rich'>Formatierter Editor</option><option value='plain'>Einfaches Textfeld</option></select>
</section>
</form>
</div>{{end}}