main.mustache 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8"/>
  5. <link rel="icon" type="image/png" href="/static/lc_64.png" />
  6. <title>Lament Configuration</title>
  7. <link rel="stylesheet" type="text/css" href="/static/main.css" />
  8. <link rel="stylesheet" type="text/css" href="/static/tagify.css" />
  9. <script type="text/javascript" src="/static/jquery-3.5.0.min.js"></script>
  10. <script type="text/javascript" src="/static/tagify.min.js"></script>
  11. <script type="text/javascript" src="/static/lc.js"></script>
  12. </head>
  13. <body>
  14. <div class="header">
  15. <div class="left">
  16. <span class="logo">
  17. <a href="/"><img src="/static/lc_32.png" alt="Lament Configuration" /></a></span>
  18. <span class="sitename"><a href="/">Lament Configuration</a></span>
  19. {{#user}}
  20. <span class="user">(<a href="/u/{{name}}">@{{name}}</a>)</span>
  21. {{/user}}
  22. </div>
  23. <div class="right">
  24. <div class="srclink">
  25. <a href="https://git.infinitenegativeutility.com/getty/lament-configuration">source</a>
  26. </div>
  27. {{#user}}
  28. <div class="addlink">
  29. <a href="/u/{{name}}/l">add link</a>
  30. </div>
  31. <div>
  32. <a href="/u/{{name}}/config">settings</a>
  33. </div>
  34. <div class="login">
  35. <a href="/logout">log out</a>
  36. </div>
  37. {{/user}}
  38. {{^user}}
  39. <div class="login">
  40. <a href="/login">log in</a>
  41. </div>
  42. {{/user}}
  43. </div>
  44. </div>
  45. <div class="content">
  46. {{{ content }}}
  47. </div>
  48. </body>
  49. </html>