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.

22 lines
1015 B

6 years ago
6 years ago
6 years ago
  1. <tr class="content-list-item color-primary">
  2. <td class="icon color-highlight-primary">${input.icon}</td>
  3. <td class="content color-primary color-highlight-dark">
  4. <div class="title">
  5. <a class="color-primary" href=input.link>${input.name}</a>
  6. </div>
  7. <div if(input.description) class="description color-text">
  8. <div class="content">${input.description}</div>
  9. </div>
  10. <div if(input.characters) class="characters">
  11. <div for(character in (input.characters || [])) class="character color-menu">
  12. <span class="name">${input.characters.length > 6 ? character.shortName : character.name}</span>
  13. <span class="comma">,</span>
  14. </div>
  15. </div>
  16. <div class="meta">
  17. <item-meta kind="date" value=input.createdDate updated=input.updatedDate />
  18. <item-meta kind="date" value=input.fictionalDate utc=true />
  19. <item-tag-list tags=input.tags enableAllTags=input.enableAllTags />
  20. <item-meta kind="author" value=input.author />
  21. </div>
  22. </td>
  23. </tr>