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.
64 lines
1.8 KiB
64 lines
1.8 KiB
extends ../layout.pug
|
|
|
|
block head
|
|
script(src='/js/theme.js')
|
|
title #{meta.siteName}
|
|
|
|
block content
|
|
h1.board-title Board List
|
|
section.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)
|
|
.row
|
|
.label PPH
|
|
select(name='pph_sort')
|
|
option(value='') -
|
|
option(value='-1' selected=sort.pph === -1) Descending
|
|
option(value='1' selected=sort.pph === 1) Ascending
|
|
.row
|
|
.label Users
|
|
select(name='ips_sort')
|
|
option(value='') -
|
|
option(value='-1' selected=sort.ips === -1) Descending
|
|
option(value='1' selected=sort.ips === 1) Ascending
|
|
.row
|
|
.label Posts
|
|
select(name='posts_sort')
|
|
option(value='') -
|
|
option(value='-1' selected=sort.sequence_value === -1) Descending
|
|
option(value='1' selected=sort.sequence_value === 1) Ascending
|
|
|
|
input(type='submit', value='Filter')
|
|
if localBoards && localBoards.length > 0
|
|
h4.board-description Local Boards
|
|
include ../includes/boardtable.pug
|
|
each board in localBoards
|
|
tr
|
|
td
|
|
if board.settings.sfw
|
|
span.user-id.sfw SFW
|
|
|
|
|
a(href=`/${board._id}/index.html`) /#{board._id}/ - #{board.settings.name}
|
|
td #{board.settings.description}
|
|
td #{board.pph}
|
|
td #{board.ips}
|
|
td #{board.sequence_value-1}
|
|
if webringBoards && webringBoards.length > 0
|
|
h4.board-description Webring Boards
|
|
include ../includes/boardtable.pug
|
|
each board in webringBoards
|
|
tr
|
|
td
|
|
if !board.nsfw
|
|
span.user-id.sfw SFW
|
|
|
|
|
a(href=board.path) #{board.siteName} /#{board.uri}/ - #{board.title}
|
|
td #{board.subtitle || '-'}
|
|
td #{board.postsPerHour}
|
|
td #{board.uniqueUsers}
|
|
td #{board.totalPosts}
|
|
nav.pages.text-center.mt-5.mv-0
|
|
include ../includes/boardlistpages.pug
|
|
|