main.mustache 1.6 KB

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