Add update of timezone setting
This commit is contained in:
parent
65c0984348
commit
22f6b6a413
3 changed files with 33 additions and 1 deletions
|
|
@ -95,11 +95,17 @@
|
|||
</div>
|
||||
|
||||
<h1>Theme</h1>
|
||||
<form action="/configuration/theme" id="theme-set">
|
||||
<form action="/configuration/theme">
|
||||
<select name="theme" onchange="console.log(this.form.submit())">
|
||||
<option value="default_light" {{ if eq "default_light" .CONFIG.THEME }}selected{{ end }}>Default light</option>
|
||||
<option value="gruvbox" {{ if eq "gruvbox" .CONFIG.THEME }}selected{{ end }}>Gruvbox</option>
|
||||
</select>
|
||||
</form>
|
||||
|
||||
<h1>Timezone</h1>
|
||||
<form action="/configuration/timezone" method="post">
|
||||
<input name="timezone" type="text" value="{{ .CONFIG.TIMEZONE }}">
|
||||
<button style="margin-left: 8px;">Update</button>
|
||||
</form>
|
||||
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue