{% extends "base.html" %}
{% load i18n %}
-{% load catalogue_tags chunks cache %}
+{% load catalogue_tags chunks cache 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>Zabawnik</h2>
- <p><a target="_blank" href='http://zabawnik.org'>
- <img src='/static/img/zabawnik.png' alt='Zabawnik' width='260' height='108' />
- </a></p>
- <p>Zbiór scenariuszy gier i zabaw
-dla dzieci, od wyliczanek poprzez gry planszowe, aż po teatr.</p>
- <p class="see-more"><a href="http://zabawnik.org" title="Zabawnik">Przejdź do Zabawnika ⇒</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>
{% 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 %}