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