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

Fix lightbox loading with pages that have full HTML

Also fix invalid HTML in template for board pages
This commit is contained in:
Darren VanBuren 2019-02-24 01:14:01 -08:00
parent d558bcc0d0
commit 14798cbeeb
2 changed files with 9 additions and 8 deletions

View file

@ -3,7 +3,7 @@
<table id="board-options">
<tr><th class="option-column">Option</th><th class="value-column">Value</th></tr>
<tr><td>Directory</td><td><input type="text" name="dir" value="" /></td></tr>
<tr><td>Section</td><td><select name="section" selected="0">{{range $_, $section := .section_arr}}
<tr><td>Section</td><td><select name="section">{{range $_, $section := .section_arr}}
<option value="{{$section.ID}}">{{$section.Name}}</option>{{end}}
</select></td></tr>
<tr><td>Order</td><td><input type="text" name="order" value="0" /></td></tr>
@ -12,7 +12,7 @@
<tr><td>Description</td><td><input type="text" name="description" value="" /></td></tr>
<tr><td>Max image size</td><td><input type="text" name="maximagesize" value="4718592" /></td></tr>
<tr><td>Max pages</td><td><input type="text" name="maxpages" value="11" /></td></tr>
<tr><td>Default style</td><td><select name="defaultstyle" selected="">{{range $_, $style := $.config.Styles}}
<tr><td>Default style</td><td><select name="defaultstyle">{{range $_, $style := $.config.Styles}}
<option value="{{$style}}">{{$style}}</option>{{end}}
</select></td></tr>
<tr><td>Locked</td><td><input type="checkbox" name="locked" {{if $.board.Locked}}checked{{end}}/></td></tr>