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.

13 lines
557 B

6 years ago
6 years ago
  1. <if(state.text != null && state.text != "")>
  2. <div class=["chapter-meta", input.kind, state.color, input.weak ? "weak" : null] title=state.tooltip>
  3. <a if(state.href != null) href=state.href>${state.text}</a>
  4. <span else class="tooltip">
  5. <span>${state.text}</span>
  6. <div if(input.character != null) class="tooltip-content color-highlight-dark color-primary">
  7. <h1>${input.character.name}</h1>
  8. <h2>${input.character.author}</h2>
  9. <markdown source=input.character.description />
  10. </div>
  11. </span>
  12. </div>
  13. </if>