Added theme to configuration page
This commit is contained in:
parent
c77737a20e
commit
54ba7b160b
6 changed files with 29 additions and 0 deletions
|
|
@ -93,4 +93,12 @@
|
|||
{{ end }}
|
||||
</div>
|
||||
|
||||
<h1>Theme</h1>
|
||||
<form action="/configuration/theme" id="theme-set">
|
||||
<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>
|
||||
|
||||
{{ end }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue