X-Git-Url: https://git.mdrn.pl/edumed.git/blobdiff_plain/736d94f6ac63f205be2967f013a15c457032fc2f..6e2ebe7bbbabddca6929ac2e02c5b8d72065db3a:/edumed/templates/base_super.html?ds=sidebyside

diff --git a/edumed/templates/base_super.html b/edumed/templates/base_super.html
index 211a6b7..b138191 100644
--- a/edumed/templates/base_super.html
+++ b/edumed/templates/base_super.html
@@ -3,6 +3,7 @@
 {% load fnp_common fnp_share fnp_lang macros %}
 {% load compressed static %}
 {% load subdomainurls %}
+{% load piwik_tags %}
 
 {% macro title %}{% block title %}{% endblock %}{% endmacro %}
 {% macro site_name %}Edukacja medialna{% endmacro %}
@@ -24,8 +25,15 @@
         <!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script></script><![endif]-->
     </head>
     <body id="{% block body-id %}body{% endblock %}">
+        {% load fnp_annoy %}{% annoy %}
+        <div id="banners">
+            <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
+                <img src="{% static 'img/banners/960x150_edukacjaMedialna.jpg' %}"
+                     alt="Wesprzyj działalność Nowoczesnej Polski"/>
+            </a>
+        </div>
         <div id="header-wrapper">
-        <header class="main" style="position:relative;">
+        <header class="main {% block header_class %}{% endblock %}" style="position:relative;">
             <!--img
                 src="{% static "tlo.png" %}"
                 style="position:absolute; opacity: 0.5; top:0; left: -83px; z-index:1000"
@@ -34,12 +42,14 @@
                 <a href="{% url 'logout' subdomain=None %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">Wyloguj</a>
             {% endif %}
             <div id="header-top">
-            <a id="logo" href="/"><img src="{% static "img/logo.png" %}" alt="Edukacja medialna"/></a>
+            <a id="logo" href="/">{% block logo %}<img src="{% static "img/logo.png" %}" alt="Edukacja medialna"/>{% endblock %}</a>
             <div id="organizer">
+                {% block organizer %}
                 Projekt prowadzi:<br/>
                 <a href="http://nowoczesnapolska.org.pl">
                     <img src="{% static "img/logo_fnp.png" %}" alt="Fundacja Nowoczesna Polska" />
                 </a>
+                {% endblock %}
             </div>
             <nav><ul>
                 {% block top_navigation %}
@@ -49,7 +59,7 @@
 
             <div id="tagline">{% block tagline %}{% endblock %}</div>
             <div id="search">
-                <form action="">
+                <form action="{% url 'haystack_search' None %}">
                     <input name="q" placeholder="szukaj" /><button><span>&rarr;</span></button>
                 </form>
             </div>
@@ -63,7 +73,7 @@
             {# chunks? #}
             <div class="footer-item">
                 <p>
-                Fundacja Nowoczesna Polska<br/>
+                fundacja Nowoczesna Polska<br/>
                 <br/>
                 ul. Marszałkowska 84/92 lok. 125<br/>
                 00-514 Warszawa<br/>
@@ -93,9 +103,8 @@
             <div class="footer-extra">{% block footer_extra %}{% endblock %}</div>
         </footer>
 
-    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
-    {% compressed_js 'base' %}
+    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
     {% block extra_script %}{% endblock %}
-    {{ piwik_tag|safe }}
+    {% tracking_code %}
     </body>
 </html>