extends ../layout.pug include ../mixins/ban.pug include ../mixins/globalmanagenav.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 input(type='submit', value='Filter') if localBoards && localBoards.length > 0 h4.text-center.mv-10 Board List: include ../includes/webringboardtable.pug 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.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