main.mustache 1.3 KB

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