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