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