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.

11 lines
663 B

  1. <menu user=input.user>
  2. <menu-header>Log</menu-header>
  3. <menu-link dark key="_create" on-click("select", "add", null) icon="+">Add Post</menu-link>
  4. <menu-gap />
  5. <menu-header>Links</menu-header>
  6. <menu-link href=("/logs/?channels="+input.log.channel.name) icon="#">${input.log.channel.name}</menu-link>
  7. <menu-link if(input.log.channel.eventName) href=("/logs/?channels="+input.log.channel.eventName) icon="E">${input.log.channel.eventName}</menu-link>
  8. <for(character in input.log.characters)>
  9. <menu-link href=("/logs/?characters="+character.id) icon="C">${character.name} <span class="weak">(${character.author})</span></menu-link>
  10. </for>
  11. </menu>