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">
 
   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" %}
 
  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         {% block bodycontent %}
 
  21         <div id="top-message">
 
  22             {% chunk "top-message" %}
 
  24         <div id="onepercent-banner" style="display:none">
 
  25             <a href="{% url 1percent %}" id="onepercent-text"></a>
 
  26             <a href="{% url 1percent %}" id="onepercent-see-more">Zobacz więcej</a>
 
  30                 <a href="/"><img src="/static/img/logo.png" alt="WolneLektury.pl - logo" /></a>
 
  32             <div id="user-info" style="display:none">
 
  33                 {% if user.is_authenticated %}
 
  35                         Witaj, <strong>{{ user.username }}</strong>
 
  36                         | <a href="{% url user_shelves %}" id="user-shelves-link">Twoje półki</a>
 
  37                         {% if user.is_staff %}
 
  38                         | <a href="/admin/">Administracja</a>
 
  40                         | <a href="{% url logout %}?next={{ request.get_full_path }}">Wyloguj</a>
 
  43                     <p><a href="{% url login %}" class="login-register-link">Zaloguj się / Załóż konto</a></p>
 
  46             <div class="social-links" style="float:right">
 
  47                 <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"><img src="/static/img/social/facebook.png" /></a>
 
  48                 <a href="http://twitter.com/wolnelektury"><img src="/static/img/social/twitter.png" /></a>
 
  49                 <a href="http://nasza-klasa.pl/profile/30441509"><img src="/static/img/social/naszaklasa.png" /></a>     
 
  51             <div class="clearboth"></div>
 
  53         <div id="maincontent">
 
  57         <div class="clearboth"></div>
 
  60                 Wolne Lektury to projekt prowadzony przez <a href="http://nowoczesnapolska.org.pl/">Fundację Nowoczesna
 
  61                 Polska</a>. Reprodukcje cyfrowe wykonane przez <a href="http://www.bn.org.pl/">Bibliotekę Narodową</a>
 
  62                 z egzemplarzy pochodzących ze zbiorów BN. Hosting <a href="http://eo.pl/">EO Networks</a>.
 
  65                 Fundacja Nowoczesna Polska, 00-514 Warszawa, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17,
 
  66                 e-mail: <a href="mailto:fundacja@nowoczesnapolska.org.pl">fundacja@nowoczesnapolska.org.pl</a>
 
  69                         {% sponsor_page "footer" %}
 
  71         <div id="login-register-window">
 
  72             <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
 
  74                 <form method="post" action="{% url login %}" id="login-form" class="cuteform">
 
  75                     <h2>Zaloguj się / <a href="#" id="show-registration-form" style="font-size: 0.85em; font-weight: normal">Załóż konto</a></h2>
 
  76                     <p><span id="id_login-__all__"></span></p>
 
  78                         {% authentication_form %}
 
  79                         <li><input type="submit" value="Zaloguj się" /></li>
 
  82                 <form method="post" action="{% url register %}" id="registration-form" class="cuteform" style="display: none;">
 
  83                     <h2><a href="#" id="show-login-form" style="font-size: 0.85em; font-weight: normal">Zaloguj się</a> / Załóż konto</h2>
 
  84                     <p><span id="id_registration-__all__"></span></p>
 
  86                         {% user_creation_form %}
 
  87                         <li><input type="submit" value="Załóż konto" /></li>
 
  92         <div id="user-shelves-window">
 
  93             <div class="header"><a href="#" class="jqmClose">Zamknij</a></div>
 
  95                 <p><img src="/static/img/indicator.gif" alt="*"/> Ładowanie</p>
 
  98         {% endblock bodycontent %}
 
  99         <script type="text/javascript">
 
 100         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 
 101         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 
 103         <script type="text/javascript">
 
 104         var pageTracker = _gat._getTracker("UA-2576694-1");
 
 105         pageTracker._trackPageview();