1
0
Fork 0
mirror of https://github.com/Eggbertx/gochan.git synced 2025-08-13 15:26:23 -07:00
gochan/templates/threadpage.html

41 lines
1.8 KiB
HTML
Raw Normal View History

{{template "page_header.html" .}}
2018-10-22 22:02:06 -07:00
<header>
<h1 id="board-title">/{{$.board.Dir}}/ - {{$.board.Title}}</h1>
2018-11-28 17:27:28 -08:00
<span id="board-subtitle">{{$.board.Subtitle}}</span>
</header><hr />
2013-05-29 12:15:44 -07:00
<div id="threadlinks-top">
<a href="{{$.webroot}}{{$.board.Dir}}/1.html" >Return</a><br />
2013-05-29 12:15:44 -07:00
</div>
<div id="right-sidelinks">
<a href="{{$.webroot}}{{$.board.Dir}}/catalog.html">Board catalog</a><br />
2013-05-29 12:15:44 -07:00
</div>
{{template "postbox.html" .}}<hr />
2013-07-26 17:49:38 -07:00
<form action="/util" method="POST" id="main-form">
2018-04-06 01:03:57 -07:00
<div class="thread" id="{{$.op.ID}}">
2022-01-27 21:02:37 -08:00
{{$global := .}}
{{- template "post.html" map "global" $global "board" .board "post" .op -}}
{{range $reply_num,$reply := .posts -}}
2022-01-27 21:02:37 -08:00
{{- template "post.html" map "global" $global "board" $global.board "post" $reply -}}
{{- end -}}
</div><hr />
2013-05-29 12:15:44 -07:00
<div id="right-bottom-content">
<div id="report-delbox">
2018-04-06 01:03:57 -07:00
<input type="hidden" name="board" value="{{.board.Dir}}" />
<input type="hidden" name="boardid" value="{{.board.ID}}" />
2016-01-04 20:53:56 -08:00
<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" />
2013-05-29 12:15:44 -07:00
</div>
</div>
2015-12-24 23:26:13 -08:00
</form>
<div id="left-bottom-content">
<a href="{{.webroot}}{{.board.Dir}}/">Return</a><br /><br />
2016-01-04 20:53:56 -08:00
<span id="boardmenu-bottom">
[<a href="{{$.webroot}}">home</a>]&nbsp;
[{{range $i, $boardlink := .boards -}}
{{if gt $i 0}}/{{end -}} <a href="/{{$boardlink.Dir}}/">{{$boardlink.Dir}}</a>
{{- end}}]
2016-01-04 20:53:56 -08:00
</span>
</div>
{{template "page_footer.html" .}}