X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/aff5def884b3e0aeaafd7de454b68b4daa2c4f3d..fa5a185ce54eb7bacaadc34f05abb63e701d39d8:/wolnelektury/templates/catalogue/main_page.html diff --git a/wolnelektury/templates/catalogue/main_page.html b/wolnelektury/templates/catalogue/main_page.html index 15667500b..1cc920714 100644 --- a/wolnelektury/templates/catalogue/main_page.html +++ b/wolnelektury/templates/catalogue/main_page.html @@ -10,18 +10,63 @@ </div> <div class="clearboth"></div> <form action="{% url search %}" method="get" accept-charset="utf-8" id="search-form"> - <p>{{ form.q }} {{ form.tags }} <input type="submit" value="{% trans "Search" %}" /> <strong>{% trans "or" %}</strong> <a href="{% url catalogue.views.book_list %}">{% trans "check list of books" %}</a> {% trans "in our repository" %}</p> + <p>{{ form.q }} {{ form.tags }} <input type="submit" value="{% trans "Search" %}" /> + <strong>{% trans "or" %}</strong> {% trans "see" %}: + <span class='collections'> + <a href="{% url catalogue.views.book_list %}">{% trans "all books" %}</a> + <a href="{% url catalogue.views.audiobook_list %}">{% trans "audiobooks" %}</a> + <a href="{% url catalogue.views.daisy_list %}">{% trans "DAISY" %}</a> + </span></p> </form> - + <div id="intro"> <p id="tags-description">â {% trans "Browse books by categories" %} â</p> <div id="propaganda"> + <p style="margin-top:-1em; margin-bottom: 2em;"> + <a class="banner" href="http://nowoczesnapolska.org.pl/wesprzyj_nas/" style="line-height: 1.5em; font-size: 1.5em;"> + <img src="/static/img/procent.png" style="float:left; margin:.2em .7em 0 0;" /> + Twój 1% to <span style="color: rgb(191, 0, 26);">wiÄcej lektur</span><br> + KRS 0000070056 + </a> + </p> + + <h2>Nowy LeÅmianator na Walentynki</h2> + <a href="{% url lesmianator %}" title="Big Heart of Art - 1000 Visual Mashups by qthomasbower, on Flickr"> + <img style="float:left;padding:15px 10px 0 0" + src="http://farm4.static.flickr.com/3612/3470650293_60b27d6539_t.jpg" width="100" height="99" + alt="Big Heart of Art - 1000 Visual Mashups" /></a> + <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>Wolne OkÅadki</h2> + <p>Tworzymy okÅadki do utworów z biblioteki Wolne Lektury.</p> + <p><a href='http://wolneokladki.pl/'><img src='/static/img/wolneokladki-logo.png' alt='Wolne OkÅadki' width='250' height='98' /></a></p> + <p class="see-more"><a href="http://wolneokladki.pl/" title="Wolne OkÅadki">{%trans "See more" %} â</a> + + {% comment %} <h2>{% trans "Books for every school level" %}</h2> + <ul> + <li><a href="">{% trans "primary school" %}</a></li> + <li><a href="">{% trans "gymnasium" %}</a></li> + <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> <h2>{% trans "Your shelves with books" %}</h2> {% if user.is_authenticated %} {% if shelves %} <ul class="shelf-list"> {% for shelf in shelves %} - <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">{% trans "delete" %}</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }} ({{ shelf.book_count }})</a></li> + <li><a href="{% url delete_shelf shelf.slug %}" class="delete-shelf">{% trans "delete" %}</a> <a href="{{ shelf.get_absolute_url }}" class="visit-shelf">{{ shelf.name }} ({{ shelf.get_count }})</a></li> {% endfor %} </ul> {% else %} @@ -35,42 +80,37 @@ </form> {% 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> + <p>{% trans "You need to " %}<a class="login-register-link" href="#" onClick="_gaq.push(['_trackEvent', 'Dialogs', 'Login']);">{% trans "sign in" %}</a> {% trans "to manage your shelves." %}</p> {% endif %} <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> - <p class="see-more"><a href="{% url lessons_document_list %}">{% trans " See more" %} â</a></p> - </div> - <div id="czytamysluchajac"> - <a href="http://czytamysluchajac.pl/"><img src="/static/img/czytamysluchajac-logo-small.png" /></a> - <p><a href="http://czytamysluchajac.pl/">Czytamy SÅuchajÄ c</a> {% trans "are professional recordings of literary texts from our repository, available on free license in MP3 and Ogg Vorbis formats as well as in DAISY system." %}</p> - <p class="see-more"><a href="http://czytamysluchajac.pl/index.php/o-projekcie/">{% trans "See more" %} â</a></p> + <p class="see-more"><a href="{% url lessons_document_list %}" title="{% trans "Hand-outs for teachers" %}">{% trans "See more" %} â</a></p> </div> </div> <div id="tags-list"> <div id="categories-list"> {% if categories.author %} <h2>{% trans "Authors" %}</h2> - {% folded_tag_list categories.author %} + {% folded_tag_list categories.author 'Authors' %} {% endif %} {% if categories.kind %} <h2>{% trans "Kinds" %}</h2> - {% folded_tag_list categories.kind %} + {% folded_tag_list categories.kind 'Kinds' %} {% endif %} {% if categories.genre %} <h2>{% trans "Genres" %}</h2> - {% folded_tag_list categories.genre %} + {% folded_tag_list categories.genre 'Genres' %} {% endif %} {% if categories.epoch %} <h2>{% trans "Epochs" %}</h2> - {% folded_tag_list categories.epoch %} + {% folded_tag_list categories.epoch 'Epochs' %} {% endif %} </div> <div id="themes-list"> {% if fragment_tags %} <h2>{% trans "Themes and topics" %}</h2> - {% folded_tag_list fragment_tags %} + {% folded_tag_list fragment_tags 'Themes' %} {% endif %} <h2>{% trans "Themes groups" %}</h2> <div class="shown-tags"> @@ -80,11 +120,11 @@ <li>polityczny obraz Åwiata <span class="subcategories"><a href="/katalog/panstwo/">PaÅstwo</a>, <a href="/katalog/obowiazek/">ObowiÄ zek</a>, <a href="/katalog/cnota/">Cnota</a>, <a href="/katalog/obywatel/">Obywatel</a>, <a href="/katalog/patriota/">Patriota</a>, <a href="/katalog/ojczyzna/">Ojczyzna</a>, <a href="/katalog/narod/">Naród</a>, <a href="/katalog/przywodca/">Przywódca</a>, <a href="/katalog/wladza/">WÅadza</a>, <a href="/katalog/urzednik/">UrzÄdnik</a>, <a href="/katalog/krol/">Król</a>, <a href="/katalog/rycerz/">Rycerz</a>, <a href="/katalog/zolnierz/">Å»oÅnierz</a>, <a href="/katalog/wojna/">Wojna</a>, <a href="/katalog/wrog/">Wróg</a>, <a href="/katalog/zwyciestwo/">ZwyciÄstwo</a>, <a href="/katalog/walka/">Walka</a>, <a href="/katalog/sila/">SiÅa</a>, <a href="/katalog/historia/">Historia</a>, <a href="/katalog/powstanie/">Powstanie</a>, <a href="/katalog/smierc-bohaterska/">ÅmierÄ bohaterska</a>, <a href="/katalog/slawa/">SÅawa</a>, <a href="/katalog/rewolucja/">Rewolucja</a>, <a href="/katalog/sad/">SÄ d</a>, <a href="/katalog/zdrada/">Zdrada</a></span></li> - + <li>przyroda <span class="subcategories"><a href="/katalog/natura/">Natura</a>, <a href="/katalog/zywioly/">Å»ywioÅy</a>, <a href="/katalog/ogien/">OgieÅ</a>, <a href="/katalog/ziemia/">Ziemia</a>, <a href="/katalog/wiatr/">Wiatr</a>, <a href="/katalog/woda/">Woda</a>, <a href="/katalog/wiosna/">Wiosna</a>, <a href="/katalog/lato/">Lato</a>, <a href="/katalog/jesien/">JesieÅ</a>, <a href="/katalog/zima/">Zima</a>, <a href="/katalog/przemijanie/">Przemijanie</a>, <a href="/katalog/slonce/">SÅoÅce</a>, <a href="/katalog/ksiezyc/">KsiÄżyc</a>, <a href="/katalog/gwiazda/">Gwiazda</a>, <a href="/katalog/oblok/">ObÅok</a>, <a href="/katalog/noc/">Noc</a>, <a href="/katalog/swiatlo/">ÅwiatÅo</a>, <a href="/katalog/gora/">Góra</a>, <a href="/katalog/rzeka/">Rzeka</a>, <a href="/katalog/morze/">Morze</a>, <a href="/katalog/burza/">Burza</a>, <a href="/katalog/deszcz/">Deszcz</a>, <a href="/katalog/bloto/">BÅoto</a>, <a href="/katalog/przyroda-nieozywiona/">Przyroda nieożywiona</a>, <a href="/katalog/rosliny/">RoÅliny</a>, <a href="/katalog/kwiaty/">Kwiaty</a>, <a href="/katalog/ogrod/">Ogród</a>, <a href="/katalog/sielanka/">Sielanka</a>, <a href="/katalog/raj/">Raj</a>, <a href="/katalog/jablko/">JabÅko</a>, <a href="/katalog/drzewo/">Drzewo</a>, <a href="/katalog/zwierzeta/">ZwierzÄta</a>, <a href="/katalog/ptak/">Ptak</a>, <a href="/katalog/motyl/">Motyl</a>, <a href="/katalog/kot/">Kot</a>, <a href="/katalog/kon/">KoÅ</a>, <a href="/katalog/pies/">Pies</a>, <a href="/katalog/waz/">WÄ Å¼</a>, <a href="/katalog/potwor/">Potwór</a></span></li> </ol> - <p><a href="#" class="show-all-tags">{% trans "See more" %}</a></p> + <p><a href="#" onClick="_gaq.push(['_trackEvent', 'tags-toogle', 'show', 'Themes groups']);" class="show-all-tags" title="{% trans "Themes and topics" %}">{% trans "See more" %}</a></p> </div> <div class="all-tags"> <ol> @@ -247,19 +287,19 @@ <li>żywioÅy <span class="subcategories"><a href="/katalog/zywioly/">Å»ywioÅy</a>, <a href="/katalog/ogien/">OgieÅ</a>, <a href="/katalog/ziemia/">Ziemia</a>, <a href="/katalog/wiatr/">Wiatr</a>, <a href="/katalog/woda/">Woda</a>, <a href="/katalog/przestrzen/">PrzestrzeÅ</a></span></li> </ol> - <p><a href="#" class="hide-all-tags">{% trans "Hide" %}</a></p> + <p><a href="#" onClick="_gaq.push(['_trackEvent', 'tags-toogle', 'hide', 'Themes groups']);" class="hide-all-tags">{% trans "Hide" %}</a></p> </div> </div> <div class="clearboth"></div> </div> </div> <div class="clearboth"></div> - + <div id="site-info"> <div id="latest-blog-posts"> <h2>{% trans "News" %}</h2> {% cache 1800 latest-blog-posts %} - {% latest_blog_posts "http://www.nowoczesnapolska.org.pl/tematy/wolne-lektury/feed/" %} + {% latest_blog_posts "http://nowoczesnapolska.org.pl/category/wolne-lektury/feed/" %} {% endcache %} <p class="see-more"><a href="http://www.nowoczesnapolska.org.pl/">{% trans "See our blog" %} â</a></p> </div> @@ -267,16 +307,16 @@ <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 %}">{% trans "See more" %} â</a></p> + <p class="see-more"><a href="{% url help_us %}" title="{% trans "You can help us!" %}">{% trans "See more" %} â</a></p> </div> <div id="about-us"> <h2>{% trans "About us" %}</h2> <p> {% blocktrans %} - Internet library with school readings âWolne Lekturyâ (<a href="http://wolnelektury.pl">www.wolnelektury.pl</a>) is a project made by Modern Poland Foundation. It started in 2007 and shares school readings, which are recommended by Ministry of National Education and are in public domain. + Internet library with school readings âWolne Lekturyâ (<a href="http://wolnelektury.pl">www.wolnelektury.pl</a>) is a project made by Modern Poland Foundation. It started in 2007 and shares school readings, which are recommended by Ministry of National Education and are in public domain. {% endblocktrans %} </p> - <p class="see-more"><a href="{% url about_us %}">{% trans "See more" %} â</a></p> + <p class="see-more"><a href="{% url about_us %}" title="{% trans "About us" %}">{% trans "See more" %} â</a></p> </div> </div> -{% endblock %} \ No newline at end of file +{% endblock %}