The frontend/UI server, written in JS using the MarkoJS library
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.
|
|
<menu user=input.user> <if-permitted user=input.user permission="post.add"> <menu-header>Log</menu-header> <menu-link dark key="_create" on-click("select", "post.add", null) icon="+">Add Post</menu-link> <menu-gap /> </if-permitted> <menu-header>Links</menu-header> <menu-link href=("/logs/?channels="+encodeURIComponent(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)> <menu-link href=("/logs/?characters="+character.id) icon="C">${character.name} <span class="weak">(${character.author})</span></menu-link> </for> </menu>
|