1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 
   2     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
   3 <html xmlns="http://www.w3.org/1999/xhtml">
 
   4         {% load i18n compressed catalogue_tags sponsor_tags %}
 
   6         <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
 
   7         <meta http-equiv="Content-Style-Type" content="text/css" />
 
   8         <meta name="description" 
 
   9             content="{% block metadescription %}Darmowe opracowane, pełne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" />
 
  10         <title>{% block title %}WolneLektury.pl{% endblock %}</title>
 
  11         <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" />
 
  12         <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml" />
 
  13         {% compressed_css "all" %}
 
  14         <script type="text/javascript">var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";</script>
 
  15         {% compressed_js "jquery" %}
 
  16         {% compressed_js "all" %}
 
  20     <body id="{% block bodyid %}base{% endblock %}">
 
  22         {% block bodycontent %}
 
  24         <div id="header" class="grid-line">
 
  26         <div id="header-content">
 
  28                 <a class="logo" href="/">
 
  33                 <a href=''>1666</a> darmowych lektur do których masz <a href=''>prawo</a>
 
  36             <p id="user-info" class="mono">
 
  37                 {% if user.is_authenticated %}
 
  38                     {% trans "Welcome" %}, <strong>{{ user.username }}</strong>
 
  39                     | <a href="{% url user_shelves %}" id="user-shelves-link">{% trans "Your shelves" %}</a>
 
  40                     {% if user.is_staff %}
 
  41                     | <a href="/admin/">{% trans "Administration" %}</a>
 
  43                     | <a href="{% url logout %}?next={{ request.get_full_path }}">{% trans "Logout" %}</a>
 
  45                     <a href="{% url login %}" class="login-register-link">{% trans "Sign in" %} / {% trans "Register" %}</a>
 
  50             <div class="clearboth"></div>
 
  55         <div id="half-header">
 
  56         <div id="half-header-content">
 
  62                 <span id="search-field" class="grid-line">
 
  63                     <input title="np. Leśmian" name="q" autocomplete="off">
 
  64                 </span><span id="search-button">
 
  65                     <button type='submit'><span class="mono">{% trans "Search" %}</span></button>
 
  72             <div class="clearboth"></div>
 
  78         <div id="main-content">
 
  82                 <li><a href="{% url book_list %}"><span class='mono'>{% trans "All books" %}</span></a></li>
 
  83                 <li><a href="{% url audiobook_list %}"><span class='mono'>{% trans "Audiobooks" %}</span></a></li>
 
  84                 <li><a href="{% url daisy_list %}"><span class='mono'>{% trans "DAISY" %}</span></a></li>
 
  85                 <li><a href="{% url catalogue %}#autorzy"><span class='mono'>{% trans "Authors" %}</span></a></li>
 
  86                 <li><a href="{% url catalogue %}#epoki"><span class='mono'>{% trans "Epochs" %}</span></a></li>
 
  87                 <li><a href="{% url catalogue %}#rodzaje"><span class='mono'>{% trans "Kinds" %}</span></a></li>
 
  88                 <li><a href="{% url catalogue %}#gatunki"><span class='mono'>{% trans "Genres" %}</span></a></li>
 
  89                 <li><a href="{% url catalogue %}#motywy"><span class='mono'>{% trans "Themes" %}</span></a></li>
 
  92             <form action="{% url django.views.i18n.set_language %}" method="post">
 
  94                 <span id='lang-button' class='mono-small'>
 
  95                     {% trans "Language versions" %}</span>
 
  96                 <div id="lang-menu-items">
 
  97                 {% for lang in LANGUAGES %}
 
  98                     <button type="submit" name="language"
 
  99                         class="{% ifequal lang.0 LANGUAGE_CODE %}active{% endifequal %} {% if forloop.last %}last{% endif %}"
 
 100                         value="{{ lang.0 }}">{{ lang.1 }}</button>
 
 107             <div class="clearboth"></div>
 
 117         <div class="clearboth"></div>
 
 124                                 Wolne Lektury is a project lead by <a href="http://nowoczesnapolska.org.pl/">Modern Poland Foundation</a>.
 
 125                                 Digital reproductions are made by <a href="http://www.bn.org.pl/">The National Library</a>, <a href="http://www.bs.katowice.pl/">Biblioteka Śląska</a> and <a href="http://www.bibliotekaelblaska.pl/">Biblioteka Elbląska</a>, based on TNL, BŚ and BE resources.
 
 126                                 Hosting: <a href="http://www.icm.edu.pl/">ICM</a>.
 
 131                                 Modern Poland Foundation, 00-514 Warsaw, ul. Marszałkowska 84/92 lok. 125, tel/fax: (22) 621-30-17
 
 132                 e-mail: <a href="mailto:fundacja@nowoczesnapolska.org.pl">fundacja@nowoczesnapolska.org.pl</a>
 
 136             {% block add_footer %}{% endblock %}
 
 138                         {% sponsor_page "footer" %}
 
 141         </div>{# end main-content #}
 
 144         <!--div id="login-register-window">
 
 145             <div class="header"><a href="#" class="jqmClose">{% trans "Close" %}</a></div>
 
 147                 <form method="post" action="{% url login %}" id="login-form" class="cuteform">
 
 148                     <h2>{% trans "Sign in" %} / <a href="#" id="show-registration-form" style="font-size: 0.85em; font-weight: normal">{% trans "Register" %}</a></h2>
 
 149                     <p><span id="id_login-__all__"></span></p>
 
 151                         {% authentication_form %}
 
 152                         <li><input type="submit" value="{% trans "Sign in" %}" /></li>
 
 155                 <form method="post" action="{% url register %}" id="registration-form" class="cuteform" style="display: none;">
 
 156                     <h2><a href="#" id="show-login-form" style="font-size: 0.85em; font-weight: normal">{% trans "Sign in" %}</a> / {% trans "Register" %}</h2>
 
 157                     <p><span id="id_registration-__all__"></span></p>
 
 159                         {% user_creation_form %}
 
 160                         <li><input type="submit" value="{% trans "Register" %}" /></li>
 
 167         {% endblock bodycontent %}
 
 169         <!--{{ piwik_tag|safe }}
 
 170         <script type="text/javascript">
 
 171         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
 
 172         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
 
 174         <script type="text/javascript">
 
 175         var pageTracker = _gat._getTracker("UA-2576694-1");
 
 176         pageTracker._trackPageview();