<!DOCTYPE html>
{% load i18n static %}
-{% load fnp_common fnp_share fnp_lang macros %}
+{% load fnp_common fnp_share fnp_lang macros fnp_annoy %}
{% load compressed static %}
-{% load sponsor_tags %}
+{% load subdomainurls %}
+{% load piwik_tags %}
{% macro title %}{% block title %}{% endblock %}{% endmacro %}
{% macro site_name %}Edukacja medialna{% endmacro %}
<!--[if lt IE 9]><script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script></script><![endif]-->
</head>
<body id="{% block body-id %}body{% endblock %}">
+ {% annoy %}
<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"
-->
{% if request.user.is_authenticated %}
- <a href="{% url 'logout' %}" style="position: absolute; top:5px; right: 10px; font-size: 12px;">Wyloguj</a>
+ <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 %}
<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>→</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' %}
+ <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>