sample solr config, add action to search form
[prawokultury.git] / prawokultury / templates / base.html
index a5d0325..c76ee4d 100755 (executable)
@@ -1,8 +1,7 @@
 {% load url from future %}
 {% load url from future %}
-{% load i18n %}
+{% load i18n static %}
 {% load migdal_tags events_tags %}
 {% load compressed %}
 {% load migdal_tags events_tags %}
 {% load compressed %}
-
 <html>
     <head>
         <title>{% trans "Culture's right" %}</title>
 <html>
     <head>
         <title>{% trans "Culture's right" %}</title>
     </head>
     <body>
     <div id="body">
     </head>
     <body>
     <div id="body">
+        <!--img src="/static/a.jpg" style="position:absolute; opacity: .5;z-index: 1000;" /-->
 
         <div id="header-bar">
         <div class="bar-left">
 
         <div id="header-bar">
         <div class="bar-left">
-            <a id="logo" href="{% url "migdal_main" %}">{% trans "Culture's right" %}</a>
+            <a id="logo" href="{% url "migdal_main" %}">
+                <img alt="{% trans "Culture's right" %}"
+                    src="{% static "img/logo.png" %}" /></a>
         </div>
         <div class="bar-right">
         </div>
         <div class="bar-right">
-            <a id="logo-fnp" href="http://nowoczesnapolska.org.pl">[Logo FNP]</a>
-            <a id="logo-osi" href="http://osi">[Logo OSI]</a>
+            <div class="org-fnp">
+                <span>{% trans "Organizer" %}</span><br/>
+                <a href="http://nowoczesnapolska.org.pl">
+                    <img src="{% static 'img/logo-fnp.png' %}"
+                        alt="{% trans "Modern Poland Foundation" %}" /></a>
+            </div><div class="org-trust">
+                <span>{% trans "Sponsor" %}</span><br/>
+                <a href="http://osi">
+                    <img src="{% static 'img/logo-trust.png' %}"
+                        alt="{% trans "Trust for Civil Society in Central and Eastern Europe" %}" /></a>
+            </div>
         </div>
         <div style="clear: both;"></div>
         </div>
 
         <div id="menu-bar">
         <div class="bar-right">
         </div>
         <div style="clear: both;"></div>
         </div>
 
         <div id="menu-bar">
         <div class="bar-right">
-            <form id="search-form"><input /><button>?</button></form>
+            <form id="search-form" method="GET" action="/search/"><input name="q" /><button>
+                <img src="{% static "img/search.png" %}" alt="{% trans "Search" %}" />
+            </button></form>
         </div>
         <ul id="menu" class="bar-left">
             {% block "main_menu" %}
         </div>
         <ul id="menu" class="bar-left">
             {% block "main_menu" %}
@@ -78,5 +91,7 @@
         </div>
 
     </div>
         </div>
 
     </div>
+    <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.0.min.js" charset="utf-8"></script>
+    {% compressed_js 'base' %}
     </body>
     </body>
-</html>
\ No newline at end of file
+</html>