2019-11-29 15:08:18 -08:00
{{template "page_header.html" .}}
2019-12-06 20:03:37 -08:00
< header >
< h1 id = "board-title" > /{{$.board.Dir}}/ - {{$.board.Title}}< / h1 >
2022-12-24 23:35:08 -08:00
< div id = "board-subtitle" >
{{$.board.Subtitle}}< br / >
< a href = "{{.webroot}}{{.board.Dir}}/catalog.html" > Catalog< / a > | < a href = "#footer" > Bottom< / a >
< / div >
2019-12-06 20:03:37 -08:00
< / header > < hr / >
2022-01-27 21:02:37 -08:00
{{- template "postbox.html" . -}}< hr / >
2022-09-23 15:50:18 -07:00
< form action = "{{.webroot}}util" method = "POST" id = "main-form" >
2022-01-27 21:02:37 -08:00
{{$global := .}}
2022-11-28 16:15:20 -08:00
{{- range $t, $thread := .threads}}{{$op := index $thread.Posts 0}}
2022-01-27 21:02:37 -08:00
< div class = "thread" >
{{- template "post.html" map "global" $global "board" $.board "post" $op "is_board_page" true -}}
2022-11-28 16:15:20 -08:00
{{- if gt $thread.Replies 3 -}}
< b > {{subtract $thread.Replies 3}} post{{if gt $thread.Replies 4}}s{{end}} omitted< / b > < br / >
2022-01-27 21:02:37 -08:00
{{- end -}}
2022-11-28 16:15:20 -08:00
{{- range $r,$reply := $thread.Posts -}}
{{if gt $r 0}}
{{- template "post.html" map "global" $global "board" $.board "post" $reply -}}
{{end}}
2022-01-27 21:02:37 -08:00
{{- end -}}
< / div > < hr / >
{{- end}}
< 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 / >
2022-09-23 15:50:18 -07:00
Report reason: < input type = "text" size = "10" name = "reason" id = "reason" / > < input type = "submit" name = "report_btn" value = "Report" / > < br / >
< input type = "submit" name = "edit_btn" value = "Edit post" / >
< input type = "submit" name = "move_btn" value = "Move thread" / >
2015-12-24 23:26:13 -08:00
< / div >
2018-04-06 01:03:57 -07:00
< / div >
2022-01-27 21:02:37 -08:00
< / form >
< div id = "left-bottom-content" >
2022-08-23 13:22:16 -07:00
< a href = "#" > Scroll to top< / a > < br / >
2022-01-27 21:02:37 -08:00
< table id = "pages" >
< tr >
2022-11-28 12:29:15 -08:00
< td > {{range $_,$i := makeLoop .numPages 1 -}}
2022-11-28 16:15:20 -08:00
{{- if eq $.currentPage $i -}}
2022-01-27 21:02:37 -08:00
[< b > {{$i}}< / b > ]
{{- else -}}
2022-12-24 12:25:23 -08:00
[< a href = "{{boardPagePath $.board $i}}" > {{$i}}< / a > ]
2022-01-27 21:02:37 -08:00
{{- end -}}
{{- end}}< / td >
< / tr >
< / table >
< span id = "boardmenu-bottom" >
[< a href = "{{$.webroot}}" > home< / a > ]
[{{range $i, $boardlink := $.boards -}}
2022-08-23 13:22:16 -07:00
{{- if gt $i 0}}/{{end}} < a href = "{{$boardlink.WebPath `` `boardPage`}}/" > {{$boardlink.Dir}}< / a > {{end}}]
2022-01-27 21:02:37 -08:00
< / span >
2019-12-06 20:03:37 -08:00
< / div >
2022-01-27 21:02:37 -08:00
{{- template "page_footer.html" .}}