main.mustache 927 B

123456789101112131415161718192021222324252627282930313233
  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. <span class="logo">
  12. <a href="/"><img src="/static/lc_32.png" alt="Lament Configuration" /></a></span>
  13. <span class="sitename"><a href="/">Lament Configuration</a></span>
  14. {{#user}}
  15. <span class="user">(<a href="/u/{{name}}">@{{name}}</a>)</span>
  16. {{/user}}
  17. {{^user}}
  18. <span class="user">not logged in</span>
  19. {{/user}}
  20. <div class="login">
  21. {{#user}}
  22. <a href="/logout">log out</a>
  23. {{/user}}
  24. {{^user}}
  25. <a href="/login">log in</a>
  26. {{/user}}
  27. </div>
  28. </div>
  29. <div class="content">
  30. {{{ content }}}
  31. </div>
  32. </body>
  33. </html>