main.mustache 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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. <script type="text/javascript" src="/static/jquery-3.5.0.min.js"></script>
  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. <div class="srclink">
  23. <a href="https://git.infinitenegativeutility.com/getty/lament-configuration">source</a>
  24. </div>
  25. {{#user}}
  26. <div class="addlink">
  27. <a href="/u/{{name}}/l">add link</a>
  28. </div>
  29. <div>
  30. <a href="/u/{{name}}/config">settings</a>
  31. </div>
  32. <div class="login">
  33. <a href="/logout">log out</a>
  34. </div>
  35. {{/user}}
  36. {{^user}}
  37. <div class="login">
  38. <a href="/login">log in</a>
  39. </div>
  40. {{/user}}
  41. </div>
  42. </div>
  43. <div class="content">
  44. {{{ content }}}
  45. </div>
  46. </body>
  47. </html>