mirror of https://gitgud.io/fatchan/jschan.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
1003 B
41 lines
1003 B
extends ../layout.pug
|
|
include ../mixins/catalogtile.pug
|
|
include ../mixins/boardnav.pug
|
|
include ../mixins/managenav.pug
|
|
include ../mixins/boardheader.pug
|
|
|
|
block head
|
|
title /#{board._id}/ - Catalog
|
|
|
|
block content
|
|
+boardheader('Catalog')
|
|
br
|
|
include ../includes/postform.pug
|
|
br
|
|
include ../includes/announcements.pug
|
|
include ../includes/stickynav.pug
|
|
if modview
|
|
+managenav('catalog')
|
|
else
|
|
.pages
|
|
+boardnav('catalog', true, false)
|
|
form(target='_blank' action=`/forms/board/${board._id}/${modview ? 'mod' : ''}actions` method='POST' enctype='application/x-www-form-urlencoded')
|
|
if modview
|
|
input(type='hidden' name='_csrf' value=csrf)
|
|
hr(size=1)
|
|
if threads.length === 0
|
|
p No posts.
|
|
else
|
|
.catalog
|
|
for thread, i in threads
|
|
+catalogtile(board, thread, i+1)
|
|
hr(size=1)
|
|
if modview
|
|
+managenav('catalog')
|
|
else
|
|
.pages
|
|
+boardnav('catalog', true, false)
|
|
if modview
|
|
include ../includes/actionfooter_manage.pug
|
|
else
|
|
include ../includes/actionfooter.pug
|
|
|