aboutsummaryrefslogtreecommitdiff
path: root/static/main.html
diff options
context:
space:
mode:
Diffstat (limited to 'static/main.html')
-rw-r--r--static/main.html13
1 files changed, 11 insertions, 2 deletions
diff --git a/static/main.html b/static/main.html
index 3fa1b66..9a88afc 100644
--- a/static/main.html
+++ b/static/main.html
@@ -8,8 +8,10 @@
<meta property="og:locale" content="en_US" />
<meta property="og:type" content="website" />
<link rel="icon" type="image/png" href="/static/favicon.png">
- <link rel="stylesheet" type="text/css" href="/static/css/style.css" title="default">
- <link rel="alternate stylesheet" type="text/css" href="/static/css/gruvbox.css" title="gruvbox">
+ <link rel="stylesheet" type="text/css" href="/static/css/themes/default.css" title="default">
+ {{ range .Themes }}
+ <link rel="alternate stylesheet" type="text/css" href="/static/css/themes/{{.}}.css" title="{{.}}">
+ {{ end }}
{{ template "header" . }}
</head>
<body {{ if not .Board.Restricted }}class="nsfw"{{ end }} onload="applyTheme()">
@@ -38,6 +40,13 @@
{{ template "content" . }}
{{ template "bottom" . }}
+
+ <select onchange="setTheme(this.options[this.selectedIndex].value)">
+ {{ range .Themes }}
+ <option value="{{.}}">{{.}}</option>
+ {{ end }}
+ </select>
+
<div align="center" style="width: 500px; margin:0 auto; margin-top: 50px;">
<a href="/">[Home]</a><a href="/static/rules.html">[Rules]</a><a href="/static/faq.html">[FAQ]</a>
<p>All trademarks and copyrights on this page are owned by their respective parties.</p>