mirror of
https://github.com/Eggbertx/gochan.git
synced 2025-08-13 03:06:24 -07:00
40 lines
1.8 KiB
HTML
40 lines
1.8 KiB
HTML
{{template "page_header.html" .}}
|
|
<header>
|
|
<h1 id="board-title">/{{$.board.Dir}}/ - {{$.board.Title}}</h1>
|
|
<span id="board-subtitle">{{$.board.Subtitle}}</span>
|
|
</header><hr />
|
|
<div id="threadlinks-top">
|
|
<a href="{{$.webroot}}{{$.board.Dir}}/1.html" >Return</a><br />
|
|
</div>
|
|
<div id="right-sidelinks">
|
|
<a href="{{$.webroot}}{{$.board.Dir}}/catalog.html">Board catalog</a><br />
|
|
</div>
|
|
{{template "postbox.html" .}}<hr />
|
|
<form action="/util" method="POST" id="main-form">
|
|
<div class="thread" id="{{$.op.ID}}">
|
|
{{$global := .}}
|
|
{{- template "post.html" map "global" $global "board" .board "post" .op -}}
|
|
{{range $reply_num,$reply := .posts -}}
|
|
{{- template "post.html" map "global" $global "board" $global.board "post" $reply -}}
|
|
{{- end -}}
|
|
</div><hr />
|
|
<div id="right-bottom-content">
|
|
<div id="report-delbox">
|
|
<input type="hidden" name="board" value="{{.board.Dir}}" />
|
|
<input type="hidden" name="boardid" value="{{.board.ID}}" />
|
|
<label>[<input type="checkbox" name="fileonly"/>File only]</label> <input type="password" size="10" name="password" id="delete-password" /> <input type="submit" name="delete_btn" value="Delete" onclick="return confirm('Are you sure you want to delete these posts?')" /><br />
|
|
Reason: <input type="text" size="10" name="reason" id="reason" /> <input type="submit" name="report_btn" value="Report" /><br />
|
|
Edit post <input type="submit" name="edit_btn" value="Edit" />
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div id="left-bottom-content">
|
|
<a href="{{.webroot}}{{.board.Dir}}/">Return</a><br /><br />
|
|
<span id="boardmenu-bottom">
|
|
[<a href="{{$.webroot}}">home</a>]
|
|
[{{range $i, $boardlink := .boards -}}
|
|
{{if gt $i 0}}/{{end -}} <a href="/{{$boardlink.Dir}}/">{{$boardlink.Dir}}</a>
|
|
{{- end}}]
|
|
</span>
|
|
</div>
|
|
{{template "page_footer.html" .}}
|