Added showing list of children books on book detail page.
[wolnelektury.git] / templates / base.html
index 03f8e19..8c8f1c6 100644 (file)
@@ -1,4 +1,4 @@
-{% load chunks compressed catalogue %}
+{% load chunks compressed catalogue_tags %}
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
@@ -12,6 +12,9 @@
         {% endblock %}
     </head>
     <body id="{% block bodyid %}base{% endblock %}">
+        <div id="top-message">
+            {% chunk "top-message" %}
+        </div>
         <div id="header">
             <div id="logo">
                 <a href="/"><img src="/media/img/logo.png" alt="WolneLektury.pl - logo" /></a>
@@ -20,6 +23,7 @@
                 {% if user.is_authenticated %}
                     <p>
                         Zalogowany jako <strong>{{ user.username }}</strong>
+                        | <a href="{% url user_shelves %}" id="user-shelves-link">Moje półki</a>
                         {% if user.is_staff %}
                         | <a href="/admin/">Administracja</a>
                         {% endif %}
                 </form>
             </div>
         </div>
+        <div id="user-shelves-window">
+            <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
+            <div class="target">
+                <p><img src="/media/img/indicator.gif" alt="*"/> Ładowanie</p>
+            </div>
+        </div>
     </body>
 </html>