Pozamykanie tagów <div> i <span>, które nie mogą być standalone wg WebKit.
[wolnelektury.git] / wolnelektury / templates / base.html
1 {% load chunks compressed catalogue_tags sponsor_tags %}
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml">
5     <head>
6         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
7         <title>{% block title %}WolneLektury.pl{% endblock %}</title>
8         <link rel="icon" href="/static/img/favicon.png" type="image/x-icon" />
9         {% compressed_css "all" %}
10         {% compressed_js "jquery" %}
11         {% compressed_js "all" %}
12         {% block extrahead %}
13         {% endblock %}
14     </head>
15     <body id="{% block bodyid %}base{% endblock %}">
16         <!--[if lt IE 7]><link href=/static/infobar/infobar.css rel=stylesheet>
17         <div id=infobar><a href=http://browsehappy.pl/infobar>
18         Internet Explorer nie potrafi poprawnie wyświetlić tej strony. Kliknij tutaj, aby dowiedzieć się więcej...
19         </a></div><div id=viewplot><script src=/static/infobar/infobar.js></script><![endif]-->
20         <div id="top-message">
21             {% chunk "top-message" %}
22         </div>
23         <div id="header">
24             <div id="logo">
25                 <a href="/"><img src="/static/img/logo.png" alt="WolneLektury.pl - logo" /></a>
26             </div>
27             <div id="user-info" style="display:none">
28                 {% if user.is_authenticated %}
29                     <p>
30                         Witaj, <strong>{{ user.username }}</strong>
31                         | <a href="{% url user_shelves %}" id="user-shelves-link">Twoje półki</a>
32                         {% if user.is_staff %}
33                         | <a href="/admin/">Administracja</a>
34                         {% endif %}
35                         | <a href="{% url logout %}?next={{ request.get_full_path }}">Wyloguj</a>
36                     </p>
37                 {% else %}
38                     <p><a href="{% url login %}" class="login-register-link">Zaloguj się / Załóż konto</a></p>
39                 {% endif %}
40             </div>
41             <div class="clearboth"></div>
42         </div>
43         <div id="maincontent">
44             {% block body %}
45             {% endblock %}    
46         </div>
47         <div class="clearboth"></div>
48         <div id="footer">
49             <p>
50                 Wolne Lektury to projekt prowadzony przez <a href="http://nowoczesnapolska.org.pl/">Fundację Nowoczesna
51                 Polska</a>. Reprodukcje cyfrowe wykonane przez <a href="http://www.bn.org.pl/">Bibliotekę Narodową</a>
52                 z egzemplarzy pochodzących ze zbiorów BN. Hosting <a href="http://eo.pl/">EO Networks</a>.
53             </p>
54             <p>
55                 Fundacja Nowoczesna Polska, 00-514 Warszawa, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17,
56                 e-mail: <a href="mailto:fundacja@nowoczesnapolska.org.pl">fundacja@nowoczesnapolska.org.pl</a>
57             </p>
58
59                         {% sponsor_page "footer" %}
60         </div>
61         <div id="login-register-window">
62             <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
63             <div class="target">
64                 <form method="post" action="{% url login %}" id="login-form" class="cuteform">
65                     <h2>Zaloguj się / <a href="#" id="show-registration-form" style="font-size: 0.85em; font-weight: normal">Załóż konto</a></h2>
66                     <p><span id="id_login-__all__"></span></p>
67                     <ol>
68                         {% authentication_form %}
69                         <li><input type="submit" value="Zaloguj się" /></li>
70                     </ol>
71                 </form>
72                 <form method="post" action="{% url register %}" id="registration-form" class="cuteform" style="display: none;">
73                     <h2><a href="#" id="show-login-form" style="font-size: 0.85em; font-weight: normal">Zaloguj się</a> / Załóż konto</h2>
74                     <p><span id="id_registration-__all__"></span></p>
75                     <ol>
76                         {% user_creation_form %}
77                         <li><input type="submit" value="Załóż konto" /></li>
78                     </ol>
79                 </form>
80             </div>
81         </div>
82         <div id="user-shelves-window">
83             <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
84             <div class="target">
85                 <p><img src="/static/img/indicator.gif" alt="*"/> Ładowanie</p>
86             </div>
87         </div>
88         <script type="text/javascript">
89         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
90         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
91         </script>
92         <script type="text/javascript">
93         var pageTracker = _gat._getTracker("UA-2576694-1");
94         pageTracker._trackPageview();
95         </script>
96     </body>
97 </html>