doodle out
[wolnelektury.git] / wolnelektury / templates / catalogue / main_page.html
index ec78130..f89e67d 100644 (file)
@@ -1,6 +1,23 @@
 {% 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>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>
+            Ogłaszamy <strong>otwarty konkurs na najlepszego automatycznego poetę</strong>! Konkurs startuje
+            12 września 2011 roku – z okazji 90 rocznicy urodzin Stanisława Lema.
+            Termin nadsyłania prac upływa z końcem października 2011 roku.
+            </p>
+            <p class="see-more"><a target="_blank" href="http://turniej.wolnelektury.pl" >Idź do strony konkursu ⇒</a></p>
+
+            <h2>Wolne Lektury na Androida</h2>
+            <p><a target="_blank" href='https://market.android.com/details?id=pl.org.nowoczesnapolska.wlmobi'>
+                <img src='{{ STATIC_URL }}img/android-poster.png' alt='Wolne Lektury na Androida' width='260' height='260' />
+            </a></p>
+            <p>Aplikacja Wolnych Lektur już w Android Market. Pobierz na swój telefon lub tablet!</p>
+            <p class="see-more"><a href="https://market.android.com/details?id=pl.org.nowoczesnapolska.wlmobi" >Zobacz aplikację ⇒</a></p>
+
+{% comment %}
             <h2>Zabawnik</h2>
             <p><a target="_blank" href='http://zabawnik.org'>
                 <img src='/static/img/zabawnik.png' alt='Zabawnik' width='260' height='108' />
             <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 &ndash; 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>
+{% endcomment %}
 
             {% comment %}    <h2>{% trans "Books for every school level" %}</h2>
             <ul>
@@ -42,15 +73,6 @@ dla dzieci, od wyliczanek poprzez gry planszowe, aż po teatr.</p>
                 <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" %} -->
-&lt;div id="wl" /&gt;
-&lt;!-- END --&gt;
-&lt;!-- START {% trans "Place this element just before closing body tag: &lt;/body&gt;" %} --&gt;
-&lt;script type="text/javascript" src="http://www.wolnelektury.pl/static/js/widget.js"&gt;&lt;/script&gt;
-&lt;!-- END --&gt;</textarea>
-                <p class="see-more"><a href="{% url widget %}" title="{% trans "Wolne Lektury Widget" %}">{% trans "See more" %} ⇒</a></p>
             <h2>{% trans "Your shelves with books" %}</h2>
             {% if user.is_authenticated %}
                 {% if shelves %}
@@ -72,6 +94,22 @@ dla dzieci, od wyliczanek poprzez gry planszowe, aż po teatr.</p>
                 <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>Nowy Leśmianator</h2>
+            <p>Tym razem to Ty decydujesz, co wpadnie do miksera &ndash; 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>{% 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" %} -->
+&lt;div id="wl" /&gt;
+&lt;!-- END --&gt;
+&lt;!-- START {% trans "Place this element just before closing body tag: &lt;/body&gt;" %} --&gt;
+&lt;script type="text/javascript" src="http://www.wolnelektury.pl/static/js/widget.js"&gt;&lt;/script&gt;
+&lt;!-- END --&gt;</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>
@@ -295,9 +333,12 @@ dla dzieci, od wyliczanek poprzez gry planszowe, aż po teatr.</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 &ndash; 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>
@@ -310,3 +351,16 @@ dla dzieci, od wyliczanek poprzez gry planszowe, aż po teatr.</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 %}