X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/709f6968bdd9cc4ed73f64efb50d2b0e97e2dfc5..4f8142e9c019b68f81e16e839025302957905d0a:/wolnelektury/templates/lessons/document_list.html diff --git a/wolnelektury/templates/lessons/document_list.html b/wolnelektury/templates/lessons/document_list.html index d61618e14..b4e44e2ce 100644 --- a/wolnelektury/templates/lessons/document_list.html +++ b/wolnelektury/templates/lessons/document_list.html @@ -4,7 +4,9 @@ {% block bodyid %}document-list-body{% endblock %} -{% block title %}{% trans "Hand-outs for teachers on " %}WolneLektury.pl{% endblock %} +{% block titleextra %}{% trans "Hand-outs for teachers" %}{% endblock %} + +{% block metadescription %}Scenariusze lekcji. MateriaÅy dla nauczycieli na wolnej licencji.{% endblock %} {% block extrahead %} <script type="text/javascript" charset="utf-8"> @@ -15,8 +17,11 @@ $("<iframe id='presentation-frame' width='600' height='500' border='0' src=''>").appendTo($("#document-detail")); } $("#presentation-frame").attr("src", this.href); - $('#document-list li').css('border', 'none'); - $(this).closest('li').css('border', '1px solid green'); + $('#document-list li').css('background-color', 'white'); + $('#document-list li a').css('background-color', 'white'); + $(this).closest('li').css('background-color', '#EEEEEE'); + $(this).css('background-color', '#EEEEEE'); + $(this).next('a').css('background-color', '#EEEEEE'); $('.download-doc').hide(); $(this).next('.download-doc').show(); }); @@ -25,9 +30,7 @@ {% endblock extrahead %} {% block body %} <h1>{% trans "Hand-outs for teachers" %}</h1> - <form action="{% url search %}" method="GET" accept-charset="utf-8" id="search-form"> - <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> - </form> + <div id="document-list"> {% chunk "document-list" %} </div>