logs-content: Added add post form

This commit is contained in:
2018-09-30 15:59:28 +02:00
parent 3c35f75f62
commit 3466b1a707
7 changed files with 144 additions and 6 deletions
@@ -0,0 +1,5 @@
module.exports = class {
select(value) {
this.emit("select", value)
}
}
@@ -1,5 +1,9 @@
<menu user=input.user>
<menu-header>Log</menu-header>
<menu-link dark key="_create" on-click("select", "add", null) icon="+">Add Post</menu-link>
<menu-gap />
<menu-header>Links</menu-header>
<menu-link href=("/logs/?channels="+input.log.channel.name) icon="#">${input.log.channel.name}</menu-link>
<menu-link if(input.log.channel.eventName) href=("/logs/?channels="+input.log.channel.eventName) icon="E">${input.log.channel.eventName}</menu-link>
<for(character in input.log.characters)>