jschan - Anonymous imageboard software. Classic look, modern features and feel. Works without JavaScript and supports Tor, I2P, Lokinet, etc.
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.
 
 
 
 
 

51 lines
1.3 KiB

extends ../layout.pug
include ../mixins/catalogtile.pug
include ../mixins/boardnav.pug
include ../mixins/managenav.pug
include ../mixins/boardheader.pug
include ../mixins/announcements.pug
block head
title /#{board._id}/ - Catalog
block content
h1 locale test: #{__("test")}
+boardheader(modview ? 'Mod Catalog' : 'Catalog')
br
include ../includes/postform.pug
br
+announcements()
include ../includes/stickynav.pug
.wrapbar
if modview
+managenav('catalog')
else
.pages
+boardnav('catalog', true, false)
.pages.jsonly
input#catalogfilter(type='text' placeholder='Filter')
select.ml-5.right#catalogsort
option(value="" disabled selected hidden) Sort by
option(value="bump") Bump order
option(value="date") Creation date
option(value="replies") Reply count
form(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(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