update menu
[prawokultury.git] / prawokultury / templates / base.html
1 <!DOCTYPE html>
2 {% load url from future %}
3 {% load i18n %}
4 {% load static from staticfiles %}
5 {% load fnp_common menu_tags migdal_tags events_tags fnp_share fnp_lang %}
6 {% load compressed %}
7 {% load chunks %}
8 {% load piwik_tags %}
9 <html prefix="og: http://ogp.me/ns#">
10     <head>
11        <title>{% block "titleextra" %}{% endblock %}{% trans "Right to Culture" %}</title>
12        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
13         {% compressed_css 'base' %}
14         {% block "extra_css" %}{% endblock %}
15         <meta charset="UTF-8" />
16         <meta property='og:url' content='{% block "ogurl" %}{{ request.get_full_path|build_absolute_uri:request }}{% endblock %}' />
17         <meta property='og:title' content='{% block "ogtitle" %}{% trans "Right to Culture" %}{% endblock %}' />
18         <meta property='og:site_name' content='{% trans "Right to Culture" %}' />
19         <meta property='og:description' content='{% block "ogdescription" %}Prawokultury.pl to strona edukacyjna mająca za zadanie w przystępny i rzetelny sposób informować o wszelkich kwestiach związanych z prawem autorskim.{% endblock %}' />
20         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
21         <meta property='og:image' content='{% block "ogimage" %}{{ "/static/img/square-logo.png"|build_absolute_uri:request }}{% endblock %}' />
22         <meta property='og:locale' content='pl_PL' />
23         {% block "headextra" %}{% endblock %}
24     </head>
25     <body>
26     {% load fnp_annoy %}{% annoy %}
27     <div id="body">
28         <div id="header-bar">
29         <div class="bar-left">
30             <a id="logo" href="{% url "migdal_main" %}">
31                 <img alt="{% trans "Right to Culture" %}"
32                     src="{% static "img/logo.png" %}" /></a>
33         </div>
34         <div class="bar-right">
35             <div class="org-fnp">
36                 <span>{% trans "Organizer" %}</span><br/>
37                 <a href="//nowoczesnapolska.org.pl">
38                     <img src="{% static 'img/logo-fnp.png' %}"
39                         alt="{% trans "Modern Poland Foundation" %}" /></a>
40             </div><div class="org-trust">
41                 <span>{% trans "Sponsor" %}</span><br/>
42                 <a href="http://ceetrust.org">
43                     <img src="{% static 'img/logo-trust.png' %}"
44                         alt="{% trans "Trust for Civil Society in Central and Eastern Europe" %}" /></a>
45             </div>
46         </div>
47         <div style="clear: both;"></div>
48         </div>
49
50         <div id="menu-bar">
51         <div class="bar-right">
52             <form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
53                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
54             </button></form>
55         </div>
56         <ul id="menu" class="bar-left">
57             {% block "main_menu" %}
58                 {% main_menu %}
59             {% endblock %}
60             <li id="item-lang">{% lang_switcher %}</li>
61         </ul>
62         <div style="clear: both;"></div>
63         </div>
64
65         {% comment %}
66         <a style="width: 100%; display: inline-block;" href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
67             <img src="{% static 'img/960x150_ogolny.jpg' %}">
68         </a>
69         {% endcomment %}
70
71         <div id="main-bar" style='clear: both;'>
72         <div id="sidebar" class="bar-right">
73             {% block "sidebar" %}
74                 <div class="sidebar-box">
75                     <h3><a href="{% url 'events' %}">{% trans "Upcoming events" %}</a></h3>
76                     {% events_box %}
77                 </div>
78                 <div class="sidebar-box" style="text-align: center">
79                     {% chunk 'side_promo' %}
80                 </div>
81                 <div id="sidebar-box-categories" class="sidebar-box">
82                     {% categories 'topics' %}
83                     {% categories 'types' %}
84                 </div>
85                 <div class="sidebar-box social">
86                     <a href="{% url 'migdal_main_feed' %}" title="RSS feed">
87                         <img src="{% static 'img/rss.png' %}" alt="RSS feed" /></a>
88                     {% url 'migdal_main' as main_url %}
89                     {% trans "Right to Culture" as site_name %}
90                     {% share main_url site_name "big" %}
91                 </div>
92                 <div class="sidebar-box">
93                     <h3>{% trans "Latest comments" %}</h3>
94                     {% last_comments %}
95                 </div>
96             {% endblock %}
97         </div>
98         <div id="content" class="bar-left">
99             {% block "body" %}{% endblock %}
100         </div>
101         <div style="clear: both;"></div>
102         </div>
103
104         <div id="footer-bar">
105             <p class="footer-item">
106                 <strong>Fundacja Nowoczesna Polska</strong><br/>
107                 <br/>
108                 ul. Marszałkowska 84/92 lok. 125<br/>
109                 00-514 Warszawa<br/>
110                 tel/fax: +48 22 621 30 17<br/>
111                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
112             </p>
113             <p class="footer-item">
114                 <br/><br/>
115                 KRS: 0000070056<br/>
116                 REGON: 017423865<br/>
117                 Nr konta: 46 10201097 0000 7502 0001 6766
118             </p>
119             <p class="footer-item">
120                 <a href="https://nowoczesnapolska.org.pl/prywatnosc/">Polityka prywatności i ciasteczka</a>
121                 <br/><br/>
122                 {% trans "If not explicitly stated otherwise, all texts are licensed under the <a href='http://creativecommons.org/licenses/by-sa/3.0/'>Creative Commons Attribution-Share Alike</a> free license." %}
123             </p>
124
125             <div style="clear: both;"></div>
126         </div>
127
128     </div>
129     <script type="text/javascript" src="//code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
130     {% compressed_js 'base' %}
131     {% tracking_code %}
132     {% block "extra_js" %}{% endblock %}
133     </body>
134 </html>