sample solr config, add action to search form
[prawokultury.git] / prawokultury / templates / base.html
1 {% load url from future %}
2 {% load i18n static %}
3 {% load migdal_tags events_tags %}
4 {% load compressed %}
5 <html>
6     <head>
7         <title>{% trans "Culture's right" %}</title>
8         {% compressed_css 'base' %}
9     </head>
10     <body>
11     <div id="body">
12         <!--img src="/static/a.jpg" style="position:absolute; opacity: .5;z-index: 1000;" /-->
13
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://osi">
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="/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>{% trans "Upcoming events" %}</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
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         </div>
92
93     </div>
94     <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
95     {% compressed_js 'base' %}
96     </body>
97 </html>