base.html 6.12 KB
Newer Older
1
{% load i18n static compile_static menu %}
Luuk Scholten's avatar
Luuk Scholten committed
2
3
4
5
6
7
8
9
10
11
12
13
14
15

<!DOCTYPE html>
<!--[if IE 9]><html dir="ltr" lang="{{ get_current_language }}"  class="lt-ie10"> <![endif]-->
<!--[if gt IE 9]><!--><html dir="ltr" lang="{{ get_current_language }}" class="gt-ie9 non-ie"><!--<![endif]-->
<head>
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><![endif]-->

<!-- mobile -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

<!-- favicon -->
<link rel="icon" href="{% static "images/favicon.ico" %}" type="image/png">

<!-- css stylesheets -->
16
{% block css_head %}
Luuk Scholten's avatar
Luuk Scholten committed
17
18
19
20
21
22
23
24
25
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400italic,400,700" rel="stylesheet" type="text/css">
<link href="{% static "fonts/gillsans.css" %}" rel="stylesheet" type="text/css">

<link href="{% static "css/bootstrap.min.css" %}" rel="stylesheet" type="text/css">
<link href="{% static "plugins/magnific-popup/magnific-popup.css" %}" rel="stylesheet" type="text/css">
<link href="{% static "css/jquery.fancybox.css" %}" rel="stylesheet" type="text/css">

<link href="{% static "css/style.less"|compile %}" rel="stylesheet" type="text/css">
<link href="{% static "css/skin.less"|compile %}" rel="stylesheet" type="text/css">
26
{% endblock %}
Luuk Scholten's avatar
Luuk Scholten committed
27
28

<!-- js head -->
29
{% block js_head %}
Luuk Scholten's avatar
Luuk Scholten committed
30
31
32
33
<script type="text/javascript" src="{% static "plugins/jquery-1.8.1.min.js" %}"></script>
<script type="text/javascript" src="{% static "js/jquery.jscroll.min.js" %}"></script>
<script type="text/javascript" src="{% static "js/jquery.fancybox.pack.js" %}"></script>
<script type="text/javascript" src="{% static "js/scripts.js" %}"></script>
34
{% endblock %}
Luuk Scholten's avatar
Luuk Scholten committed
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

</head>

<!-- body -->
<body id="top" class="stickymenu">

    <!-- #wrapper -->
    <div class="thimbus-page">
        <!-- #header -->
        <div id="header" class="wrapper">

            <!-- #logo-header -->
            <div id="logo-header">
                <!-- #logo -->
                <div id="logo" class="container fullwidth">
                    <a href="{% url 'index' %}">
                        <img width="300" alt="" src="{% static "images/site_logo.png" %}" />
                    </a>
                </div>
                <!-- /#logo -->

                <!-- #sponsor-left -->
                <div id="sponsor-left" class="sponsor-header">
                    {% block sponsor_header_left %}{% endblock sponsor_header_left %}
                </div>
                <!-- /#sponsor-left -->

                <!-- #sponsor-right -->
                <div id="sponsor-right" class="sponsor-header">
                    {% block sponsor_header_right %}{% endblock sponsor_header_right %}
                </div>
                <!-- /#sponsor-right -->
            </div>
            <!-- /#logo-header -->

            <div class="clearfix"></div>

            <!-- #primary-navigation -->
73
            {% render_main_menu %}
Luuk Scholten's avatar
Luuk Scholten committed
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
            <!-- /#primary-navigation -->

        </div>
        <!-- #/header -->
        <!-- #header panel -->
        <div id="header-panel" class="wrapper header-parallax">

            {# todo header image #}
            <div class="header-image container" style="background-image: url('{% static "images/header_default.jpg" %}')"></div>
            <div class="page-title">
                <h1>{% block page_title %}{% trans "Study Association Thalia" %}{% endblock %}</h1>
            </div>
        </div>
        <!-- /#header panel -->

        <!-- content -->
90
91
92
93
94
        <div id="main" class="wrapper">
            <div class="main-content container">
                {% block body %}{% endblock body %}
            </div>
        </div>
Luuk Scholten's avatar
Luuk Scholten committed
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
        <!-- end content -->

        <!-- #top-footer -->
        <div id="top-footer" class="wrapper">
        </div>
        <!-- /#top-footer -->

        <!-- #footer -->
        <div id="footer" class="wrapper">
            <div class="container">
                <div class="row">
                </div>
            </div>
        </div>
        <!-- /#footer -->

        <!-- #bottom -->
        <div id="bottom" class="wrapper">
            <div class="container">
                <div class="social-icons">
                    <div class="social-icon-twitter"><a href="https://twitter.com/svThalia"><img src="{% static "images/social_icons/social_twitter.png" %}" alt="twitter"></a></div>
                    <div class="social-icon-facebook"><a href="https://www.facebook.com/svThalia"><img src="{% static "images/social_icons/social_facebook.png" %}" alt="facebook"></a></div>
                    <div class="social-icon-linkedin"><a href="http://www.linkedin.com/groups?gid=54887"><img src="{% static "images/social_icons/social_linkedin.png" %}" alt="linkedin"></a></div>
                    <div class="social-icon-tor"><a href="http://thaliawww7dzhrlu.onion"><img src="{% static "images/social_icons/tor.png" %}" alt="tor"></a></div>
                </div>
                <div class="clearfix"></div>
121
                <p class="copyright">Copyright {% now "Y" %} {% trans 'Study Association Thalia' %}</p>
Luuk Scholten's avatar
Luuk Scholten committed
122
123
124
125
126
127
128
129
            </div>
        </div>
        <!-- /#bottom -->
        <div id="scroll-top"><a href="#top"></a></div>
    </div>
    <!-- /#wrapper -->

    <!-- js body -->
130
    {% block js_body %}
Luuk Scholten's avatar
Luuk Scholten committed
131
132
133
134
135
136
    <script type="text/javascript" src="{% static "plugins/jquery.inview.js" %}"></script>
    <script type="text/javascript" src="{% static "plugins/jquery.carouFredSel-6.2.1-packed.js" %}"></script>
    <script type="text/javascript" src="{% static "plugins/jquery.lavalamp-1.3.5.min.js" %}"></script>
    <script type="text/javascript" src="{% static "plugins/jquery.easing.1.3.js" %}"></script>
    <script type="text/javascript" src="{% static "plugins/jquery.isotope.min.js" %}"></script>
    <script type="text/javascript" src="{% static "plugins/magnific-popup/jquery.magnific-popup.min.js" %}"></script>
137
    {% endblock %}
Luuk Scholten's avatar
Luuk Scholten committed
138
139
140
141
142
143
144
145
146
147
148
149
150
151

    {% if not user.is_authenticated %}
    <div class="thimbus-ui" id="thimbus-account-menu-container">
        <div class="btn-group open" id="thimbus-account-menu">
            <a class="btn btn-default" href="/account"><i class="fa fa-user"></i> <?php echo t("Login"); ?></a>
        </div>
    </div>
    {% endif %}
<?php endif; ?>

</body>
<!-- /body -->

</html>