jschan
Thomas Lynch 3 years ago
parent ed75519a7b
commit 69c2e32c54
  1. 42
      views/pages/boardlist.pug

@ -8,17 +8,37 @@ block content
h1.board-title Board List h1.board-title Board List
.flexcenter.mv-10 .flexcenter.mv-10
form.form-post(action='/boards.html' method='GET') form.form-post(action='/boards.html' method='GET')
.col input(type='hidden' value=page)
.row .row.wrap.sb
.label Include Boards div(class=`col${enableWebring ? ' mr-5' : ''}`)
input(type='text' name='in' value=includeBoards.join(',') placeholder='comma separated') .row
.row .label Search
.label Exclude Boards input(type='text' name='search' value=search placeholder='Uri or tags')
input(type='text' name='ex' value=excludeBoards.join(',') placeholder='comma separated') .row
.row .label Sort
.label Include Default Boards select(name='sort')
label.postform-style.ph-5 option(value='popularity') Popularity
input(type='checkbox', name='include_default', value='true' checked=includeDefault) 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 Local First
label.postform-style.ph-5
input(type='checkbox', name='local_first', value='true' checked=localFirst)
if enableWebring
.col
.row
.label Sites
select(name='sites' size='5' multiple)
optgroup(label='Shown')
each site in shown
option(value=site selected=true) #{site}
optgroup(label='Not Shown')
each site in notShown
option(value=site) #{site}
input(type='submit', value='Filter') input(type='submit', value='Filter')
if boards && boards.length > 0 if boards && boards.length > 0
+boardtable(true, true) +boardtable(true, true)

Loading…
Cancel
Save