main.mustache 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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. {{#user}}
  25. <div class="search">
  26. <input data-user="{{name}}" type="text" id="search_text"/>
  27. </div>
  28. {{/user}}
  29. <div class="srclink">
  30. <a href="https://git.infinitenegativeutility.com/getty/lament-configuration">source</a>
  31. </div>
  32. {{#user}}
  33. <div class="addlink">
  34. <a href="/u/{{name}}/l">add link</a>
  35. </div>
  36. <div>
  37. <a href="/u/{{name}}/config">settings</a>
  38. </div>
  39. <div class="login">
  40. <a href="/logout">log out</a>
  41. </div>
  42. {{/user}}
  43. {{^user}}
  44. <div class="login">
  45. <a href="/login">log in</a>
  46. </div>
  47. {{/user}}
  48. </div>
  49. </div>
  50. <div class="content">
  51. {{{ content }}}
  52. </div>
  53. </body>
  54. </html>