Fix question
[edumed.git] / edumed / templates / base_super.html
index 1339b68..8f2886b 100644 (file)
@@ -2,7 +2,6 @@
 {% load i18n static %}
 {% load fnp_common fnp_share fnp_lang macros %}
 {% load compressed static %}
-{% load sponsor_tags %}
 {% load subdomainurls %}
 
 {% macro title %}{% block title %}{% endblock %}{% endmacro %}
@@ -26,7 +25,7 @@
     </head>
     <body id="{% block body-id %}body{% endblock %}">
         <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"
                 <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 %}
@@ -50,7 +51,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>
                 – Na tych samych warunkach 3.0</a>.
                 </p>
             </div>
-            {% sponsor_page "footer" %}
+            {% block sponsors %}
+            {% endblock %}
             <div class="clr"></div>
             <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' %}
     {% block extra_script %}{% endblock %}
     {{ piwik_tag|safe }}
     </body>