summaryrefslogtreecommitdiffstats
path: root/templates/basic.html
blob: 6a0d4d853ec08231b097c8ee6caa99e06a10eb92 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  {% block head %}
    <meta charset="utf-8" />
    <!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><![endif]-->
    <title>{% block title %}{% endblock %}</title>
    <script src="https://static.hackerspace.pl/js/jquery.min.js"></script>
    {% block checkinator_script %}
      <script src="https://static.hackerspace.pl/js/checkinator-header.js"></script>
    {% endblock %}
    {% block page_scripts %}
    {% endblock %}
    {% block basic_style %}
      <meta name="viewport" content="width=device-width, initial-scale=1.0" />

      <link rel="shortcut icon" href="https://static.hackerspace.pl/img/favicon.ico"/>
      <link rel="apple-touch-icon" href="https://static.hackerspace.pl/img/glider.png"/>
      <link rel="stylesheet" href="https://static.hackerspace.pl/fonts/news-cycle/stylesheet.css"/>
      <link rel="stylesheet" href="https://static.hackerspace.pl/fonts/titillium/stylesheet.css"/>
      <link rel="stylesheet" href="https://static.hackerspace.pl/css/style.css"/>
    {% endblock %}
    {% block page_style %}
    {% endblock %}
  {% endblock %}
</head>
<body>
  {% block body %}
    <a name="top"></a>
    {% block header %}
      {% include 'header.html' %}
    {% endblock %}
    {% with messages = get_flashed_messages(with_categories=true) %}
      {% if messages %}
    <div class="flashes">
      <ul>
          {% for category, message in messages %}
            <li class="{{ category }}">{{ message }}</li>
          {% endfor %}
      </ul>
    </div>
      {% endif %}
    {% endwith %}
    <div id="hs_main">
      {% block main %}
      <div id="hs_rotimage">
        {% block rotimage %}
          {% include 'rotimage_at.html' %}
          {% block rotimage_login %}
            <div class="hs_login_bar">
              {% block login %}
                <ul>
                  <li><a class="action user" href="https://ldap.hackerspace.pl">Member profile</a></li>
                </ul>
              {% endblock %}
            </div>
          {% endblock %}
        {% endblock %}
      </div>
      {% endblock %}
      <div id="hs_content">
        {% block content %}
        {% endblock %}
      </div>
    </div>
    {% block footer %}
    {% endblock %}
  {% endblock %}
</body>
</html>