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