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.

72 lines
2.2 KiB

extends ../layout.pug
include ../mixins/ban.pug
include ../mixins/globalmanagenav.pug
include ../mixins/boardtable.pug
block head
title Manage
block content
h1.board-title Global Management
br
+globalmanagenav('boards')
hr(size=1)
h4.text-center.no-m-p Filter:
.flexcenter.mv-10
form.form-post(action='/globalmanage/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
.row
.label Unlisted
label.postform-style.ph-5
input(type='checkbox', name='filter_unlisted', value='1' checked=(query.filter_unlisted != null))
.row
.label SFW
label.postform-style.ph-5
input(type='checkbox', name='filter_sfw', value='1' checked=(query.filter_sfw != null))
.row
.label Abandoned
label.postform-style.ph-5
input(type='checkbox', name='filter_abandoned', value='1' checked=(query.filter_abandoned != null))
input(type='submit', value='Filter')
if localBoards && localBoards.length > 0
h4.text-center.mv-10 Board List:
+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') 👁️
|
if !board.owner && board.settings.moderators.length === 0
span.help(title='Abandoned') 🏚️
|
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 -
.pages.text-center.mt-5.mv-0
include ../includes/pages.pug