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