{% extends "base.html" %}
{% load i18n %}
-{% load catalogue_tags chunks cache %}
+{% load catalogue_tags chunks cache reporting_stats %}
+
+
+{% block tagline %}
+<div id='tagline'>
+
+{% count_books_nonempty count_books %}
+{% blocktrans count count_books as c %}
+{{c}} book from <a href='http://domenapubliczna.org'>public domain</a> or under
+a <a href='http://creativecommons.org/licenses/by-sa/3.0/deed.pl'>free license</a>.
+{% plural %}
+{{c}} books from <a href='http://domenapubliczna.org'>public domain</a> or under
+a <a href='http://creativecommons.org/licenses/by-sa/3.0/deed.pl'>free license</a>.
+{% endblocktrans %}
+
+</div>
+{% endblock %}
+
{% block bodyid %}main-page{% endblock %}
<div id="intro">
<p id="tags-description">↓ {% trans "Browse books by categories" %} ↓</p>
<div id="propaganda">
- <h2>Galeria Wolnych Okładek</h2>
- <p><a target="_blank" href='https://picasaweb.google.com/kasia.wok/WolneOkAdkiProjekty?authkey=Gv1sRgCMfun_rW2e_XigE#slideshow/5608420225382712658'>
- <img src='/static/img/wolneokladki-galeria.png' alt='Galeria Wolnych Okładek' width='252' height='116' />
- </a></p>
- <p class="see-more"><a href="https://picasaweb.google.com/kasia.wok/WolneOkAdkiProjekty?authkey=Gv1sRgCMfun_rW2e_XigE#slideshow/5608420225382712658" title="Wolne Okładki">Zobacz galerię ⇒</a></p>
-
- <h2>Nowy Leśmianator</h2>
- <p>Tym razem to Ty decydujesz, co wpadnie do miksera – a efekt możesz pokazać znajomym!
- </p>
- <p class="see-more" style="clear:both"><a href="{% url lesmianator %}">{% trans "Twórzże się!" %} ⇒</a></p>
+
+ <h2>Spot promocyjny</h2>
+ <p><iframe width="260" height="162"
+ src="http://www.youtube.com/embed/IteV_EoTrZE"
+ frameborder="0" allowfullscreen></iframe></p>
+
+
+ <h2>Turniej Elektrybałtów</h2>
+ <p><a target="_blank" href='http://turniej.wolnelektury.pl'>
+ <img src='{{ STATIC_URL }}img/turniej-maly.png' alt='Logo Turnieju' width='60' height='64' style='float:left;margin:1em;' />
+ </a>
+ Trwa otwarty konkurs na najlepszego <strong>automatycznego poetę</strong>!
+ Zobacz, co potrafią nadesłane programy.
+ </p>
+ <p class="see-more"><a target="_blank" href="http://turniej.wolnelektury.pl" >Idź do strony konkursu ⇒</a></p>
+
{% comment %} <h2>{% trans "Books for every school level" %}</h2>
<ul>
<li><a href="">{% trans "high school" %}</a></li>
</ul> {% endcomment %}
- <h2>{% trans "Wolne Lektury Widget" %}</h2>
- <p>{% trans "Place our widget - search engine for Wolne Lektury which gives access to free books and audiobooks - on your homepage! Just copy the HTML code below onto your page:" %}</p>
- <textarea rows="1" cols="35" class='widget-code' title='widget'><!-- START {% trans "Insert this element in place where you want display the widget" %} -->
-<div id="wl" />
-<!-- END -->
-<!-- START {% trans "Place this element just before closing body tag: </body>" %} -->
-<script type="text/javascript" src="http://www.wolnelektury.pl/static/js/widget.js"></script>
-<!-- END --></textarea>
- <p class="see-more"><a href="{% url widget %}" title="{% trans "Wolne Lektury Widget" %}">{% trans "See more" %} ⇒</a></p>
+ <br/>
<h2>{% trans "Your shelves with books" %}</h2>
{% if user.is_authenticated %}
{% if shelves %}
<li>{{ new_set_form.name }} <input type="submit" value="{% trans "Create shelf" %}"/></li>
</ol>
</form>
+ <br/>
{% else %}
<p>{% trans "Create your own book set. You can share it with friends by sending them link to your shelf." %}</p>
<p>{% trans "You need to " %} <a class="login-register-link" href="#">{% trans "sign in" %}</a> {% trans "to manage your shelves." %}</p>
{% endif %}
+
+ <h2>Leśmianator</h2>
+ <p>Wybierz, co wpadnie do miksera, i pokaż efekt znajomym!
+ </p>
+ <p class="see-more" style="clear:both"><a href="{% url lesmianator %}">{% trans "Twórzże się!" %} ⇒</a></p>
+
+ <h2>{% trans "Wolne Lektury Widget" %}</h2>
+ <p>{% trans "Place our widget - search engine for Wolne Lektury which gives access to free books and audiobooks - on your homepage! Just copy the HTML code below onto your page:" %}</p>
+ <textarea rows="1" cols="35" class='widget-code' title='widget'><!-- START {% trans "Insert this element in place where you want display the widget" %} -->
+<div id="wl" />
+<!-- END -->
+<!-- START {% trans "Place this element just before closing body tag: </body>" %} -->
+<script type="text/javascript" src="http://www.wolnelektury.pl/static/js/widget.js"></script>
+<!-- END --></textarea>
+ <p class="see-more"><a href="{% url widget %}" title="{% trans "Wolne Lektury Widget" %}">{% trans "See more" %} ⇒</a></p>
+
<div id="lessons">
<h2><a href="{% url lessons_document_list %}">{% trans "Hand-outs for teachers" %}</a></h2>
<p>{% trans "Lessons' prospects and other ideas for using Wolnelektury.pl for teaching." %}</p>
</div>
<div id="you-can-help">
<h2>{% trans "You can help us!" %}</h2>
- <p>{% trans "We try our best to elaborate works appended to our library. It is possible only due to support of our volunteers." %}</p>
- <p>{% trans "We invite people who want to take part in developing Internet school library Wolne Lektury." %}</p>
- <p class="see-more"><a href="{% url help_us %}" title="{% trans "You can help us!" %}">{% trans "See more" %} ⇒</a></p>
+ <ul>
+ <li>{% trans "Become a volunteer – an editor, developer or translator." %}</li>
+ <li>{% trans "Gain new skills and experience." %}</li>
+ <li>{% trans "Join an open project of creating an innovative online library." %}</li>
+ </ul>
+ <p class="see-more"><a href="{% url help_us %}" title="{% trans "You can help us!" %}">{% trans "You can help us!" %} ⇒</a></p>
</div>
<div id="about-us">
<h2>{% trans "About us" %}</h2>
</div>
</div>
{% endblock %}
+
+
+{% block add_footer %}
+
+<p>
+{% blocktrans %}
+Portions of this page are modifications based on work created and <a href="http://code.google.com/policies.html">shared by Google</a> and used
+according to terms described in the <a href="http://creativecommons.org/licenses/by/3.0/">Creative Commons
+3.0 Attribution License</a>.
+{% endblocktrans %}
+</p>
+
+{% endblock %}