1 {% extends "base.html" %}
3 {% load catalogue_tags chunks %}
5 {% block bodyid %}document-list-body{% endblock %}
7 {% block title %}{% trans "Hand-outs for teachers on " %}WolneLektury.pl{% endblock %}
9 {% block metadescription %}Scenariusze lekcji. MateriaĆy dla nauczycieli na wolnej licencji.{% endblock %}
12 <script type="text/javascript" charset="utf-8">
14 $("#document-list a").click(function(e){
16 if($("#presentation-frame").length == 0){
17 $("<iframe id='presentation-frame' width='600' height='500' border='0' src=''>").appendTo($("#document-detail"));
19 $("#presentation-frame").attr("src", this.href);
20 $('#document-list li').css('background-color', 'white');
21 $('#document-list li a').css('background-color', 'white');
22 $(this).closest('li').css('background-color', '#EEEEEE');
23 $(this).css('background-color', '#EEEEEE');
24 $(this).next('a').css('background-color', '#EEEEEE');
25 $('.download-doc').hide();
26 $(this).next('.download-doc').show();
30 {% endblock extrahead %}
32 <h1>{% trans "Hand-outs for teachers" %}</h1>
33 <form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
34 <p>{{ form.q }} <input type="submit" value="{% trans "Search" %}" /> <strong>{% trans "or" %}</strong> <a href="{% url main_page %}">{% trans "return to main page" %}</a></p>
36 <div id="document-list">
37 {% chunk "document-list" %}
39 <div id="document-detail">