1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-04 03:56:24 -07:00

(Mostly) finish the configuration web interface, remove all _img fields since text boards won't happen

This commit is contained in:
Joshua Merrell 2018-08-09 00:04:45 -07:00
parent 0ef760dd61
commit c700e4c0ce
20 changed files with 415 additions and 379 deletions

View file

@ -3,10 +3,10 @@
<head>
<title>Banned</title>
<link rel="stylesheet" href="/css/global/front.css" />
{{range $i, $style := .config.Styles_img}}
<link rel="{{if not (isStyleDefault_img $style)}}alternate {{end}}stylesheet" href="/css/{{$style}}/front.css" />{{end}}
{{range $i, $style := .config.Styles}}
<link rel="{{if not (isStyleDefault $style)}}alternate {{end}}stylesheet" href="/css/{{$style}}/front.css" />{{end}}
<script type="text/javascript">
var styles = [{{range $i, $style := .config.Styles_img}}{{if gt $i 0}}, {{end}}"{{$style}}"{{end}}];
var styles = [{{range $i, $style := .config.Styles}}{{if gt $i 0}}, {{end}}"{{$style}}"{{end}}];
var webroot = "{{.config.SiteWebfolder}}"
</script>
<script type="text/javascript" src="/javascript/jquery-3.3.1.min.js"></script>