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