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