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