|
|
|
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
|