more english
[emels.git] / emels / templates / base_super.html
1 <!DOCTYPE html>
2 {% load i18n static %}
3 {% load fnp_common fnp_share fnp_lang macros %}
4 {% load pipeline static %}
5 {% load piwik_tags %}
6
7 {% macro title %}{% block title %}{% endblock %}{% endmacro %}
8 {% macro site_name %}Emels{% endmacro %}
9
10 <html prefix="og: http://ogp.me/ns#">
11     <head>
12        <title>{% block full_title %}{% usemacro title %} :: {% usemacro site_name %}{% endblock %}</title>
13        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
14         {% stylesheet 'base' %}
15
16         <meta charset="UTF-8" />
17         <meta property='og:url' content='{% block ogurl %}{{ "/"|build_absolute_uri:request }}{% endblock %}' />
18         <meta property='og:title' content='{% block og_title %}{% usemacro title %}{% endblock %}' />
19         <meta property='og:site_name' content='{% block og_site_name %}{% usemacro site_name %}{% endblock %}' />
20         <meta property='og:description' content='{% block og_description %}{% endblock %}' />
21         <meta property='og:type' content='{% block og_type %}website{% endblock %}' />
22         <meta property='og:image' content='{% block og_image %}http://emels.eu/static/img/logo.png{% endblock %}' />
23         <meta property='og:locale' content='pl_PL' />
24         <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script></script><![endif]-->
25     </head>
26     <body id="{% block body-id %}body{% endblock %}">
27         <div id="header-wrapper">
28         <header class="main {% block header_class %}{% endblock %}" style="position:relative;">
29             {% if request.user.is_authenticated %}
30                 <a href="{% url 'logout' %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">{% trans "Log out" %}</a>
31             {% endif %}
32             <div id="header-top">
33             <a id="logo" href="/">{% block logo %}<img src="{% static "img/logo.png" %}" alt="Emels"/>{% endblock %}</a>
34             <div id="organizer">
35                 {% block organizer %}
36                 {% trans "Project by:" %}<br/>
37                 <a href="http://nowoczesnapolska.org.pl">
38                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
39                 </a>
40                 {% endblock %}
41             </div>
42             <nav><ul>
43                 {% block top_navigation %}
44                 {% endblock %}
45             </ul></nav>
46             </div>
47
48             <div id="tagline">{% block tagline %}{% endblock %}</div>
49             {% comment %}
50             {% block searchbox %}
51               <div id="search">
52                   <form action="{% url 'haystack_search' None %}">
53                       <input name="q" placeholder="szukaj" /><button><span>&rarr;</span></button>
54                   </form>
55               </div>
56             {% endblock %}
57             {% endcomment %}
58             <div class="clr"></div>
59         </header>
60         </div>
61
62         <div id="content">{% block body %}{% endblock %}</div>
63
64         <footer class="main">
65             {# chunks? #}
66             {% block footer_contact %}
67                 <div class="footer-item">
68                     <p>
69                     fundacja Nowoczesna Polska<br/>
70                     <br/>
71                     ul. MarszaƂkowska 84/92 lok. 125<br/>
72                     00-514 Warszawa<br/>
73                     tel/fax: +48 22 621 30 17<br/>
74                     e-mail: fundacja@nowoczesnapolska.org.pl
75                     <br/><br/>
76                     KRS: 0000070056<br/>
77                     REGON: 017423865<br/>
78                     Nr konta: 59 1030 0019 0109 8530 0040 5685
79                     </p>
80                 </div>
81             {% endblock %}
82             <div class="footer-item" style="margin-right:0;">
83                 <p>
84                 Webdesign Ortografika<br/>
85                 <br/>
86                 {% trans "Unless stated otherwise, all materials on this site are available under" %}
87                 <a href="http://creativecommons.org/licenses/by-sa/3.0/deed.pl">{% trans "Creative Commons Attribution-ShareAlike 3.0" %}</a>.
88                 {% block copyrights %}{% endblock %}
89                 </p>
90             </div>
91             {% block sponsors %}
92             {% endblock %}
93             <div class="footer-item" style="margin-right:0">
94                 <p>
95                     <img src="{% static 'img/erasmus.jpg' %}" style="height:50px"/>
96                 </p>
97                 <p>
98                     This project has been funded with support from the European Commission.
99                 </p>
100                 <p>
101                     This webpage  reflects the views only of the author,
102                     and the Commission cannot be held responsible for any use which may be made of
103                     the information contained therein.
104                 </p>
105             </div>
106             <div class="clr"></div>
107         </footer>
108
109     <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
110     {% block extra_script %}{% endblock %}
111     {% tracking_code %}
112     </body>
113 </html>