1
2
3
4
5
6
7
8
9
10
11
12
|
{{define "content"}}
<div class="panel"><h3>Theme</h3>
<form method="post" action="/settings/appearance" class="stack">
<label>Theme <select name="theme">
<option value=""{{if eq .Theme ""}} selected{{end}}>System</option>
<option value="light"{{if eq .Theme "light"}} selected{{end}}>Light</option>
<option value="dark"{{if eq .Theme "dark"}} selected{{end}}>Dark</option>
</select></label>
<small>System follows the light or dark setting of your device.</small>
<div class="actions left"><button class="btn primary">Save ▸</button></div>
</form></div>
{{end}}
|