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