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