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.
47 lines
1.1 KiB
47 lines
1.1 KiB
extends ../layout.pug
|
|
include ../mixins/boardheader.pug
|
|
|
|
block head
|
|
script(src='/js/theme.js')
|
|
title /#{board._id}/ - Logs
|
|
|
|
block content
|
|
+boardheader('Logs')
|
|
br
|
|
include ../includes/stickynav.pug
|
|
nav.pages
|
|
a(href=`/${board._id}/index.html`) [Index]
|
|
|
|
|
a(href=`/${board._id}/catalog.html`) [Catalog]
|
|
|
|
|
a(href=`/${board._id}/banners.html`) [Banners]
|
|
|
|
|
a.bold(href=`/${board._id}/logs.html`) [Logs]
|
|
hr(size=1)
|
|
if dates.length === 0
|
|
p No Logs.
|
|
else
|
|
.table-container.flex-center.mv-10.text-center
|
|
table
|
|
tr
|
|
th Date
|
|
th Events
|
|
for row in dates
|
|
tr
|
|
-
|
|
const { date, count } = row;
|
|
const day = ('0'+date.day).slice(-2);
|
|
const month = ('0'+date.month).slice(-2);
|
|
const year = date.year;
|
|
const logName = `${month}-${day}-${year}`;
|
|
td: a(href=`logs/${logName}.html`) #{logName}
|
|
td #{count}
|
|
hr(size=1)
|
|
nav.pages
|
|
a(href=`/${board._id}/index.html`) [Index]
|
|
|
|
|
a(href=`/${board._id}/catalog.html`) [Catalog]
|
|
|
|
|
a(href=`/${board._id}/banners.html`) [Banners]
|
|
|
|
|
a.bold(href=`/${board._id}/logs.html`) [Logs]
|
|
|