Deannoy.
[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     {# 1%  {% 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         <div id="main-bar">
66         <div id="sidebar" class="bar-right">
67             {% block "sidebar" %}
68                 <div class="sidebar-box">
69                     <h3><a href="{% url 'events' %}">{% trans "Upcoming events" %}</a></h3>
70                     {% events_box %}
71                 </div>
72                 <div class="sidebar-box" style="text-align: center">
73                     {% chunk 'side_promo' %}
74                 </div>
75                 <div id="sidebar-box-categories" class="sidebar-box">
76                     {% categories 'topics' %}
77                     {% categories 'types' %}
78                 </div>
79                 <div class="sidebar-box social">
80                     <a href="{% url 'migdal_main_feed' %}" title="RSS feed">
81                         <img src="{% static 'img/rss.png' %}" alt="RSS feed" /></a>
82                     {% url 'migdal_main' as main_url %}
83                     {% trans "Right to Culture" as site_name %}
84                     {% share main_url site_name "big" %}
85                 </div>
86                 <div class="sidebar-box">
87                     <h3>{% trans "Latest comments" %}</h3>
88                     {% last_comments %}
89                 </div>
90             {% endblock %}
91         </div>
92         <div id="content" class="bar-left">
93             {% block "body" %}{% endblock %}
94         </div>
95         <div style="clear: both;"></div>
96         </div>
97
98         <div id="footer-bar">
99             <p class="footer-item">
100                 <strong>Fundacja Nowoczesna Polska</strong><br/>
101                 <br/>
102                 ul. Marszałkowska 84/92 lok. 125<br/>
103                 00-514 Warszawa<br/>
104                 tel/fax: +48 22 621 30 17<br/>
105                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
106             </p>
107             <p class="footer-item">
108                 <br/><br/>
109                 KRS: 0000070056<br/>
110                 REGON: 017423865<br/>
111                 Nr konta: 46 10201097 0000 7502 0001 6766
112             </p>
113             <p class="footer-item">
114                 <a href="https://nowoczesnapolska.org.pl/prywatnosc/">Polityka prywatności i ciasteczka</a>
115                 <br/><br/>
116                 {% 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." %}
117             </p>
118
119             <div style="clear: both;"></div>
120         </div>
121
122     </div>
123     <script type="text/javascript" src="//code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
124     {% compressed_js 'base' %}
125     {% tracking_code %}
126     {% block "extra_js" %}{% endblock %}
127     </body>
128 </html>