From 5ea4ebb6aed109f6c6fff2d98f667abbddb0c4a0 Mon Sep 17 00:00:00 2001 From: Lukasz Anwajler Date: Mon, 20 Sep 2010 17:54:28 -0500 Subject: [PATCH] Ticket 775 - Table of Contens (books listing) --- wolnelektury/static/css/master.css | 11 ++++++++++- wolnelektury/templates/catalogue/book_list.html | 4 ++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/wolnelektury/static/css/master.css b/wolnelektury/static/css/master.css index e9c42dce9..263a4face 100644 --- a/wolnelektury/static/css/master.css +++ b/wolnelektury/static/css/master.css @@ -785,7 +785,7 @@ div.shown-tags p, div.all-tags p { /* = Alphabetic book list = */ /* ======================== */ #book-list-nav { - position: fixed; + position: absolute; right: 50px; width: 200px; border: 2px #325F70 solid; @@ -816,6 +816,15 @@ div.shown-tags p, div.all-tags p { color: black; } +#book-list-up { + position: fixed; + bottom: 50px; + right: 50px; + border: 2px #325F70 solid; + padding: 10px; + background-color: white; +} + #top-message { background-color: #2F4110; color: #FFF; diff --git a/wolnelektury/templates/catalogue/book_list.html b/wolnelektury/templates/catalogue/book_list.html index f385a19f8..be7045b88 100644 --- a/wolnelektury/templates/catalogue/book_list.html +++ b/wolnelektury/templates/catalogue/book_list.html @@ -11,6 +11,7 @@

{{ form.q }} {% trans "or" %} {% trans "return to main page" %}

+
{% trans "Table of Content" %} {% for index, authors in books_nav.items %} @@ -36,4 +37,7 @@ {% endif %} {% endfor %}
+
+

{% trans "↑ top ↑" %}

+
{% endblock %} -- 2.20.1