main.mustache 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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/lc.js"></script>
  10. </head>
  11. <body>
  12. <div class="header">
  13. <div class="left">
  14. <span class="logo">
  15. <a href="/"><img src="/static/lc_32.png" alt="Lament Configuration" /></a></span>
  16. <span class="sitename"><a href="/">Lament Configuration</a></span>
  17. {{#user}}
  18. <span class="user">(<a href="/u/{{name}}">@{{name}}</a>)</span>
  19. {{/user}}
  20. </div>
  21. <div class="right">
  22. {{#user}}
  23. <div class="search">
  24. <input data-user="{{name}}" type="text" id="search_text"/>
  25. </div>
  26. {{/user}}
  27. <div class="srclink">
  28. <a href="https://git.infinitenegativeutility.com/getty/lament-configuration">source</a>
  29. </div>
  30. {{#user}}
  31. <div class="addlink">
  32. <a href="/u/{{name}}/l">add link</a>
  33. </div>
  34. <div>
  35. <a href="/u/{{name}}/config">settings</a>
  36. </div>
  37. <div class="login">
  38. <a href="/logout">log out</a>
  39. </div>
  40. {{/user}}
  41. {{^user}}
  42. <div class="login">
  43. <a href="/login">log in</a>
  44. </div>
  45. {{/user}}
  46. </div>
  47. </div>
  48. <div class="content">
  49. {{{ content }}}
  50. </div>
  51. </body>
  52. </html>