Seasonal annoying.
[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 fnp_annoy %}
6 {% load compressed %}
7 {% load chunks %}
8 <html prefix="og: http://ogp.me/ns#">
9     <head>
10        <title>{% block "titleextra" %}{% endblock %}{% trans "Right to Culture" %}</title>
11        <link rel="shortcut icon" type="image/png" href="{% static "img/favicon.png" %}" />
12         {% compressed_css 'base' %}
13         {% block "extra_css" %}{% endblock %}
14         <meta charset="UTF-8" />
15         <meta property='og:url' content='{% block "ogurl" %}{{ request.get_full_path|build_absolute_uri:request }}{% endblock %}' />
16         <meta property='og:title' content='{% block "ogtitle" %}{% trans "Right to Culture" %}{% endblock %}' />
17         <meta property='og:site_name' content='{% trans "Right to Culture" %}' />
18         <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 %}' />
19         <meta property='og:type' content='{% block "ogtype" %}website{% endblock %}' />
20         <meta property='og:image' content='{% block "ogimage" %}{{ "/static/img/square-logo.png"|build_absolute_uri:request }}{% endblock %}' />
21         <meta property='og:locale' content='pl_PL' />
22         {% block "headextra" %}{% endblock %}
23     </head>
24     <body>
25     {% annoy %}
26     <div id="body">
27         <div id="header-bar">
28         <div class="bar-left">
29             <a id="logo" href="{% url "migdal_main" %}">
30                 <img alt="{% trans "Right to Culture" %}"
31                     src="{% static "img/logo.png" %}" /></a>
32         </div>
33         <div class="bar-right">
34             <div class="org-fnp">
35                 <span>{% trans "Organizer" %}</span><br/>
36                 <a href="http://nowoczesnapolska.org.pl">
37                     <img src="{% static 'img/logo-fnp.png' %}"
38                         alt="{% trans "Modern Poland Foundation" %}" /></a>
39             </div><div class="org-trust">
40                 <span>{% trans "Sponsor" %}</span><br/>
41                 <a href="http://ceetrust.org">
42                     <img src="{% static 'img/logo-trust.png' %}"
43                         alt="{% trans "Trust for Civil Society in Central and Eastern Europe" %}" /></a>
44             </div>
45         </div>
46         <div style="clear: both;"></div>
47         </div>
48
49         <div id="menu-bar">
50         <div class="bar-right">
51             <form id="search-form" method="GET" action="{% url 'search' %}"><input name="q" /><button>
52                 <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
53             </button></form>
54         </div>
55         <ul id="menu" class="bar-left">
56             {% block "main_menu" %}
57                 {% main_menu %}
58             {% endblock %}
59             <li id="item-lang">{% lang_switcher %}</li>
60         </ul>
61         <div style="clear: both;"></div>
62         </div>
63
64         <div id="main-bar">
65         <div id="sidebar" class="bar-right">
66             {% block "sidebar" %}
67                 <div class="sidebar-box">
68                     <h3><a href="{% url 'events' %}">{% trans "Upcoming events" %}</a></h3>
69                     {% events_box %}
70                 </div>
71                 <div class="sidebar-box" style="text-align: center">
72                     {% chunk 'side_promo' %}
73                 </div>
74                 <div id="sidebar-box-categories" class="sidebar-box">
75                     {% categories 'topics' %}
76                     {% categories 'types' %}
77                 </div>
78                 <div class="sidebar-box social">
79                     <a href="{% url 'migdal_main_feed' %}" title="RSS feed">
80                         <img src="{% static 'img/rss.png' %}" alt="RSS feed" /></a>
81                     {% url 'migdal_main' as main_url %}
82                     {% trans "Right to Culture" as site_name %}
83                     {% share main_url site_name "big" %}
84                 </div>
85                 <div class="sidebar-box">
86                     <h3>{% trans "Latest comments" %}</h3>
87                     {% last_comments %}
88                 </div>
89             {% endblock %}
90         </div>
91         <div id="content" class="bar-left">
92             {% block "body" %}{% endblock %}
93         </div>
94         <div style="clear: both;"></div>
95         </div>
96
97         <div id="footer-bar">
98             <p class="footer-item">
99                 <strong>Fundacja Nowoczesna Polska</strong><br/>
100                 <br/>
101                 ul. Marszałkowska 84/92 lok. 125<br/>
102                 00-514 Warszawa<br/>
103                 tel/fax: +48 22 621 30 17<br/>
104                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
105             </p>
106             <p class="footer-item">
107                 <br/><br/>
108                 KRS: 0000070056<br/>
109                 REGON: 017423865<br/>
110                 Nr konta: 46 10201097 0000 7502 0001 6766
111             </p>
112             <p class="footer-item">
113                 <a href="http://nowoczesnapolska.org.pl/prywatnosc/">Polityka prywatności i ciasteczka</a>
114                 <br/><br/>
115                 {% 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." %}
116             </p>
117
118             <div style="clear: both;"></div>
119         </div>
120
121     </div>
122     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
123     {% compressed_js 'base' %}
124     {{ piwik_tag|safe }}
125     {% block "extra_js" %}{% endblock %}
126     </body>
127 </html>