54bdb933a7f04a7755d977568239fed9e58e409b
[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 id="sidebar-box-categories" class="sidebar-box">
68                     {% categories 'topics' %}
69                     {% categories 'types' %}
70                 </div>
71                 <div class="sidebar-box social">
72                     <a href="{% url 'migdal_main_feed' %}" title="RSS feed">
73                         <img src="{% static 'img/rss.png' %}" alt="RSS feed" /></a>
74                     {% url 'migdal_main' as main_url %}
75                     {% trans "Right to Culture" as site_name %}
76                     {% share main_url site_name "big" %}
77                 </div>
78                 <div class="sidebar-box">
79                     <h3>{% trans "Latest comments" %}</h3>
80                     {% last_comments %}
81                 </div>
82             {% endblock %}
83         </div>
84         <div id="content" class="bar-left">
85             {% block "body" %}{% endblock %}
86         </div>
87         <div style="clear: both;"></div>
88         </div>
89
90         <div id="footer-bar">
91             <p class="footer-item">
92                 <strong>Fundacja Nowoczesna Polska</strong><br/>
93                 <br/>
94                 ul. Marszałkowska 84/92 lok. 125<br/>
95                 00-514 Warszawa<br/>
96                 tel/fax: +48 22 621 30 17<br/>
97                 e-mail: fundacja@nowoczesnapolska.org.pl<br/>
98             </p>
99             <p class="footer-item">
100                 <br/><br/>
101                 KRS: 0000070056<br/>
102                 REGON: 017423865<br/>
103                 Nr konta: 46 10201097 0000 7502 0001 6766
104             </p>
105             <p class="footer-item">
106                 <br/><br/>
107                 {% 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." %}
108             </p>
109
110             <div style="clear: both;"></div>
111         </div>
112
113     </div>
114     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
115     {% compressed_js 'base' %}
116     {{ piwik_tag|safe }}
117     </body>
118 </html>