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.

70 lines
2.1 KiB

extends ../layout.pug
include ../mixins/boardtable.pug
block head
title Board List
block content
h1.board-title Board List
.flexcenter.mv-10
form.form-post(action='/boards.html' method='GET')
input(type='hidden' value=page)
.row
.label Search
input(type='text' name='search' value=search placeholder='Uri or tags')
.row
.label Sort
select(name='sort')
option(value='popularity') Popularity
option(value='activity' selected=query.sort === 'activity') Latest Activity
.row
.label Order
select(name='direction')
option(value='desc') Descending
option(value='asc' selected=query.direction === 'asc') Ascending
input(type='submit', value='Filter')
if localBoards && localBoards.length > 0
h4.board-description Local Boards
+boardtable(true, true)
each board in localBoards
tr
td
span.left
if board.settings.sfw === true
span.help(title='SFW') 💼
|
if board.settings.unlistedLocal === true
span.help(title='Unlisted') 👁️
|
a(href=`/${board._id}/index.html`) /#{board._id}/ - #{board.settings.name}
td #{board.settings.description}
td #{board.pph}
td #{board.ppd}
td #{board.ips}
td #{board.sequence_value-1}
if board.lastPostTimestamp
td(style=`background-color: ${board.lastPostTimestamp.color}`) #{board.lastPostTimestamp.text}
else
td -
if webringBoards && webringBoards.length > 0
h4.board-description Webring Boards
+boardtable(false, true)
each board in webringBoards
tr
td
span.left
if !board.nsfw
span.help(title='SFW') 💼
|
a(href=board.path) #{board.siteName} /#{board.uri}/ - #{board.title}
td #{board.subtitle || '-'}
td #{board.postsPerHour}
td #{board.uniqueUsers}
td #{board.totalPosts}
if board.lastPostTimestamp
td(style=`background-color: ${board.lastPostTimestamp.color}`) #{board.lastPostTimestamp.text}
else
td -
.pages.text-center.mt-5.mv-0
include ../includes/pages.pug