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('border', 'none');
19 $(this).closest('li').css('border', '1px solid green');
20 $('.download-doc').hide();
21 $(this).next('.download-doc').show();
25 {% endblock extrahead %}
27 <h1>{% trans "Hand-outs for teachers" %}</h1>
28 <form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form">
29 <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>
31 <div id="document-list">
32 {% chunk "document-list" %}
34 <div id="document-detail">