puppet node classifier
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

64 lines
3.0 KiB

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>{% if title %}{{ title }} :: {% endif %}Photo App</title>
  6. <link rel="stylesheet" href="/static/style.css" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1">
  8. </head>
  9. <body>
  10. <div id="layout" class="content pure-g">
  11. <div id="nav" class="pure-u">
  12. <a href="#" class="nav-menu-button">Menu</a>
  13. <div class="nav-inner">
  14. <div class="pure-menu">
  15. <ul class="pure-menu-list">
  16. <li class="pure-menu-item"><a href="/" class="pure-menu-link">Nodes</a></li>
  17. <li class="pure-menu-item"><a href="/objects" class="pure-menu-link">Objects</a></li>
  18. <li class="pure-menu-item"><a href="/classes" class="pure-menu-link">Classes</a></li>
  19. <li class="pure-menu-item"><a href="/lookup" class="pure-menu-link">Lookup</a></li>
  20. <li class="pure-menu-heading">Albums</li>
  21. {% for tag in all_albums %}
  22. <li class="pure-menu-item"><a href="/album/{{ tag.slug }}" class="pure-menu-link"><span class="tag-icon tag-icon-mod-6-{{ tag.id % 6 }}"></span>{{ tag.name }}</a></li>
  23. {% endfor %}
  24. <li class="pure-menu-heading">Tags</li>
  25. {% for tag in all_tags %}
  26. <li class="pure-menu-item"><a href="/tag/{{ tag.slug }}" class="pure-menu-link"><span class="tag-icon tag-icon-mod-6-{{ tag.id % 6 }}"></span>{{ tag.name }}</a></li>
  27. {% endfor %}
  28. </ul>
  29. </div>
  30. <div class="user-status">
  31. {% if auth %}
  32. <p>Authed as <span>{{ auth }}</span></p>
  33. <p><a href="/logout">Log out</a></p>
  34. {% else %}
  35. <p>Browsing as a guest</p>
  36. <p><a href="/login">Log in</a></p>
  37. {% endif %}
  38. </div>
  39. </div>
  40. </div>
  41. <div id="main" class="pure-u-1">
  42. <div class="email-content">
  43. <div class="email-content-header pure-g">
  44. <div class="pure-u-1-2">
  45. <h1 class="email-content-title">{% block title %}DEFAULT TITLE{% endblock %}</h1>
  46. <p class="email-content-subtitle">
  47. {% block subtitle %}DEFAULT SUBTITLE{% endblock %}
  48. </p>
  49. </div>
  50. {% if auth %}
  51. <div class="email-content-controls pure-u-1-2">
  52. {% block buttons %}{% endblock %}
  53. </div>
  54. {% endif %}
  55. </div>
  56. <div class="email-content-body">
  57. {% block body %}default body{% endblock %}
  58. </div>
  59. </div>
  60. </div>
  61. </div>
  62. </body>
  63. </html>