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.
40 lines
1.2 KiB
40 lines
1.2 KiB
extends ../layout.pug
|
|
include ../mixins/post.pug
|
|
include ../mixins/ban.pug
|
|
include ../mixins/managenav.pug
|
|
include ../mixins/boardheader.pug
|
|
|
|
block head
|
|
title /#{board._id}/ - Manage
|
|
|
|
block content
|
|
+boardheader('Recent Posts')
|
|
br
|
|
.wrapbar
|
|
+managenav('recent')
|
|
if page === 1
|
|
.jsonly#livetext(data-perm-level=permLevel data-room=`${board._id}-manage-recent-${permLevel > ipHashPermLevel ? 'hashed' : 'raw'}`)
|
|
.dot#livecolor
|
|
| Connecting...
|
|
input.postform-style.ml-5.di#updatepostsbutton(type='button' value='Update')
|
|
hr(size=1)
|
|
form(action=`/forms/board/${board._id}/modactions` method='POST' enctype='application/x-www-form-urlencoded')
|
|
input(type='hidden' name='_csrf' value=csrf)
|
|
if posts.length === 0
|
|
p No posts.
|
|
else
|
|
- const ip = permLevel > ipHashPermLevel ? posts[0].ip.single.slice(-10) : posts[0].ip.raw;
|
|
if postId || (queryIp && queryIp === ip)
|
|
h4.no-m-p Post history for #{ip}
|
|
|
|
|
if permLevel < 2
|
|
|
|
|
a(href=`/globalmanage/recent.html?ip=${encodeURIComponent(ip)}`) [See Global Post History]
|
|
hr(size=1)
|
|
for p in posts
|
|
.thread
|
|
+post(p, true, true)
|
|
hr(size=1)
|
|
.pages.mv-5
|
|
include ../includes/pages.pug
|
|
include ../includes/actionfooter_manage.pug
|
|
|