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 %}
10 <script type="text/javascript" charset="utf-8">
12 $("#document-list a").click(function(e){
14 if($("#presentation-frame").length == 0){
15 $("<iframe id='presentation-frame' width='600' height='500' border='0' src=''>").appendTo($("#document-detail"));
17 $("#presentation-frame").attr("src", this.href);
18 $('#document-list li').css('background-color', 'white');
19 $('#document-list li a').css('background-color', 'white');
20 $(this).closest('li').css('background-color', '#EEEEEE');
21 $(this).css('background-color', '#EEEEEE');
22 $(this).next('a').css('background-color', '#EEEEEE');
23 $('.download-doc').hide();
24 $(this).next('.download-doc').show();
28 {% endblock extrahead %}
30 <h1>{% trans "Hand-outs for teachers" %}</h1>
31 <form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
32 <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>
34 <div id="document-list">
35 {% chunk "document-list" %}
37 <div id="document-detail">