logs: Added filter menu.
the build was successful

This commit is contained in:
2018-11-03 15:05:02 +01:00
parent 68a1a64fe3
commit 326e4478c0
14 changed files with 282 additions and 62 deletions
+3
View File
@@ -3,6 +3,7 @@ const router = express.Router()
const {logHeaderApi, eventNames} = require("../../rpdata/api/LogHeader")
const {charactersApi} = require("../../rpdata/api/Character")
const {channelApi} = require("../../rpdata/api/Channel")
const listTemplate = require("../../marko/page/logs/list.marko")
@@ -27,6 +28,8 @@ router.get("/", async(req, res) => {
filter: filter,
logs: logHeaderApi.list(filter),
characters: charactersApi.listHeaders(),
channels: channelApi.list(),
eventNames: logHeaderApi.eventNames(),
selected: {index: true},
})
} catch(err) {