commit 32f23b86f1632231eb486ed8434cec36efbb52c7
parent 1313c68dccec2d34310834ae513af7c20302fa3e
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Fri, 20 Jan 2023 00:29:59 -0800
add "plain" theme (no background)
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/pkg/web/public/views/pages/chat.gohtml b/pkg/web/public/views/pages/chat.gohtml
@@ -23,6 +23,7 @@
body {
{{ if eq .AuthUser.Theme 1 }}
background-image: url("/public/img/trees_christmas.png");
+ {{ else if eq .AuthUser.Theme 2 }}
{{ else }}
background-image: url("/public/img/trees.gif");
{{ end }}
diff --git a/pkg/web/public/views/pages/settings/chat.gohtml b/pkg/web/public/views/pages/settings/chat.gohtml
@@ -205,6 +205,7 @@
<select id="theme" name="theme" class="form-control">
<option value="0"{{ if eq .Data.Theme 0 }} selected{{ end }}>Default</option>
<option value="1"{{ if eq .Data.Theme 1 }} selected{{ end }}>Christmas</option>
+ <option value="2"{{ if eq .Data.Theme 2 }} selected{{ end }}>Plain</option>
</select>
</div>
<!-- <div class="form-group">-->