aboutsummaryrefslogtreecommitdiff
path: root/templates/settings.tmpl
diff options
context:
space:
mode:
authorr <r@freesoftwareextremist.com>2020-02-18 22:15:37 +0000
committerr <r@freesoftwareextremist.com>2020-02-18 22:15:37 +0000
commitfe31d4197b66cced9ca84779fac4fe69242d844b (patch)
tree775e8e76eddb3e86d4515369b9615d3c3a5bc762 /templates/settings.tmpl
parent39a3bb7f3566ca0b7020d10abd5d5815096b49cb (diff)
downloadbloat-fe31d4197b66cced9ca84779fac4fe69242d844b.tar.gz
bloat-fe31d4197b66cced9ca84779fac4fe69242d844b.zip
Add frame based navigation
Diffstat (limited to 'templates/settings.tmpl')
-rw-r--r--templates/settings.tmpl11
1 files changed, 7 insertions, 4 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl
index e7d49e9..d8ede87 100644
--- a/templates/settings.tmpl
+++ b/templates/settings.tmpl
@@ -1,6 +1,5 @@
{{with .Data}}
-{{template "header.tmpl" (WithContext .HeaderData $.Ctx)}}
-{{template "navigation.tmpl" (WithContext .NavbarData $.Ctx)}}
+{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<div class="page-title"> Settings </div>
<form id="settings-form" action="/settings" method="POST">
@@ -24,11 +23,15 @@
</div>
<div class="settings-form-field">
<input id="mask-nsfw" name="mask_nsfw" type="checkbox" value="true" {{if .Settings.MaskNSFW}}checked{{end}}>
- <label for="mask-nsfw"> Mask NSFW Attachments </label>
+ <label for="mask-nsfw"> Mask NSFW attachments </label>
+ </div>
+ <div class="settings-form-field">
+ <input id="auto-refresh-notifications" name="auto_refresh_notifications" type="checkbox" value="true" {{if .Settings.AutoRefreshNotifications}}checked{{end}}>
+ <label for="auto-refresh-notifications"> Auto refresh notifications </label>
</div>
<div class="settings-form-field">
<input id="fluoride-mode" name="fluoride_mode" type="checkbox" value="true" {{if .Settings.FluorideMode}}checked{{end}}>
- <label for="fluoride-mode"> Enable Fluoride Mode </label>
+ <label for="fluoride-mode"> Enable fluoride mode </label>
</div>
<div class="settings-form-field">
<input id="dark-mode" name="dark_mode" type="checkbox" value="true" {{if .Settings.DarkMode}}checked{{end}}>