From 6e102eb7360b2c7df5a8565486e3428e6ccf2ab8 Mon Sep 17 00:00:00 2001 From: Radek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl> Date: Fri, 29 Apr 2011 13:22:18 +0200 Subject: [PATCH] minor template fixes --- wolnelektury/static/css/facelist_2-0.css | 2 +- wolnelektury/templates/base.html | 6 +++--- .../templates/catalogue/folded_tag_list.html | 4 ++-- wolnelektury/templates/catalogue/main_page.html | 12 ++++++------ 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/wolnelektury/static/css/facelist_2-0.css b/wolnelektury/static/css/facelist_2-0.css index bd6d35e20..9f9ddc441 100644 --- a/wolnelektury/static/css/facelist_2-0.css +++ b/wolnelektury/static/css/facelist_2-0.css @@ -55,7 +55,7 @@ ul.facelist-selections li.facelist-selection-item a.facelist-close { margin: 1px 0 0 7px; padding: 0 2px; cursor: pointer; - color: #black; + color: black; font-family: "Helvetica", helvetica, arial, sans-serif; font-size: 14px; font-weight: bold; diff --git a/wolnelektury/templates/base.html b/wolnelektury/templates/base.html index adcdaf73e..d9eaee5e8 100644 --- a/wolnelektury/templates/base.html +++ b/wolnelektury/templates/base.html @@ -4,12 +4,12 @@ {% load i18n chunks compressed catalogue_tags sponsor_tags %} <head> <meta http-equiv="Content-type" content="text/html; charset=utf-8" /> - <meta http-equiv="Content-Style-Type" content="text/css"> + <meta http-equiv="Content-Style-Type" content="text/css" /> <meta name="description" - content="{% block metadescription %}Darmowe opracowane, peÅne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" > + content="{% block metadescription %}Darmowe opracowane, peÅne teksty lektur, e-booki, audiobooki i pliki DAISY na wolnej licencji.{% endblock %}" /> <title>{% block title %}WolneLektury.pl{% endblock %}</title> <link rel="icon" href="{{ STATIC_URL }}img/favicon.png" type="image/png" /> - <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml"> + <link rel="search" type="application/opensearchdescription+xml" title="Wolne Lektury" href="{{ STATIC_URL }}opensearch.xml" /> {% compressed_css "all" %} <script type="text/javascript">var LANGUAGE_CODE = "{{ LANGUAGE_CODE }}";</script> {% compressed_js "jquery" %} diff --git a/wolnelektury/templates/catalogue/folded_tag_list.html b/wolnelektury/templates/catalogue/folded_tag_list.html index 960a71717..a6ff53abd 100644 --- a/wolnelektury/templates/catalogue/folded_tag_list.html +++ b/wolnelektury/templates/catalogue/folded_tag_list.html @@ -10,7 +10,7 @@ {% endfor %} </ul> {% if some_tags_hidden %} - <p><a href="#" onClick="_gaq.push(['_trackEvent', 'tags-toogle', 'show', '{{ title }}']);" class="show-all-tags">{% trans "See more" %}</a></p> + <p><a href="#" class="show-all-tags">{% trans "See more" %}</a></p> {% endif %} </div> <div class="all-tags"> @@ -19,6 +19,6 @@ <li><a href="{% catalogue_url choices tag %}">{{ tag }} ({{ tag.count }})</a></li> {% endfor %} </ul> - <p><a href="#" onClick="_gaq.push(['_trackEvent', 'tags-toogle', 'hide', '{{ title }}']);" class="hide-all-tags">{% trans "Hide" %}</a></p> + <p><a href="#" class="hide-all-tags">{% trans "Hide" %}</a></p> </div> {% endif %} diff --git a/wolnelektury/templates/catalogue/main_page.html b/wolnelektury/templates/catalogue/main_page.html index 947675288..e908b13a2 100644 --- a/wolnelektury/templates/catalogue/main_page.html +++ b/wolnelektury/templates/catalogue/main_page.html @@ -24,8 +24,8 @@ <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> + <img src="/static/img/procent.png" alt="1%" 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> @@ -45,7 +45,7 @@ <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> + <p class="see-more"><a href="http://wolneokladki.pl/" title="Wolne OkÅadki">{%trans "See more" %} â</a></p> {% comment %} <h2>{% trans "Books for every school level" %}</h2> <ul> @@ -82,7 +82,7 @@ </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="#" onClick="_gaq.push(['_trackEvent', 'Dialogs', 'Login']);">{% trans "sign in" %}</a> {% trans "to manage your shelves." %}</p> + <p>{% trans "You need to " %} <a class="login-register-link" href="#">{% 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> @@ -126,7 +126,7 @@ <li>przyroda <span class="subcategories"><a href="/katalog/motyw/natura/">Natura</a>, <a href="/katalog/motyw/zywioly/">Å»ywioÅy</a>, <a href="/katalog/motyw/ogien/">OgieÅ</a>, <a href="/katalog/motyw/ziemia/">Ziemia</a>, <a href="/katalog/motyw/wiatr/">Wiatr</a>, <a href="/katalog/motyw/woda/">Woda</a>, <a href="/katalog/motyw/wiosna/">Wiosna</a>, <a href="/katalog/motyw/lato/">Lato</a>, <a href="/katalog/motyw/jesien/">JesieÅ</a>, <a href="/katalog/motyw/zima/">Zima</a>, <a href="/katalog/motyw/przemijanie/">Przemijanie</a>, <a href="/katalog/motyw/slonce/">SÅoÅce</a>, <a href="/katalog/motyw/ksiezyc/">KsiÄżyc</a>, <a href="/katalog/motyw/gwiazda/">Gwiazda</a>, <a href="/katalog/motyw/oblok/">ObÅok</a>, <a href="/katalog/motyw/noc/">Noc</a>, <a href="/katalog/motyw/swiatlo/">ÅwiatÅo</a>, <a href="/katalog/motyw/gora/">Góra</a>, <a href="/katalog/motyw/rzeka/">Rzeka</a>, <a href="/katalog/motyw/morze/">Morze</a>, <a href="/katalog/motyw/burza/">Burza</a>, <a href="/katalog/motyw/deszcz/">Deszcz</a>, <a href="/katalog/motyw/bloto/">BÅoto</a>, <a href="/katalog/motyw/przyroda-nieozywiona/">Przyroda nieożywiona</a>, <a href="/katalog/motyw/rosliny/">RoÅliny</a>, <a href="/katalog/motyw/kwiaty/">Kwiaty</a>, <a href="/katalog/motyw/ogrod/">Ogród</a>, <a href="/katalog/motyw/sielanka/">Sielanka</a>, <a href="/katalog/motyw/raj/">Raj</a>, <a href="/katalog/motyw/jablko/">JabÅko</a>, <a href="/katalog/motyw/drzewo/">Drzewo</a>, <a href="/katalog/motyw/zwierzeta/">ZwierzÄta</a>, <a href="/katalog/motyw/ptak/">Ptak</a>, <a href="/katalog/motyw/motyl/">Motyl</a>, <a href="/katalog/motyw/kot/">Kot</a>, <a href="/katalog/motyw/kon/">KoÅ</a>, <a href="/katalog/motyw/pies/">Pies</a>, <a href="/katalog/motyw/waz/">WÄ Å¼</a>, <a href="/katalog/motyw/potwor/">Potwór</a></span></li> </ol> - <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> + <p><a href="#" class="show-all-tags" title="{% trans "Themes and topics" %}">{% trans "See more" %}</a></p> </div> <div class="all-tags"> <ol> @@ -289,7 +289,7 @@ <li>żywioÅy <span class="subcategories"><a href="/katalog/motyw/zywioly/">Å»ywioÅy</a>, <a href="/katalog/motyw/ogien/">OgieÅ</a>, <a href="/katalog/motyw/ziemia/">Ziemia</a>, <a href="/katalog/motyw/wiatr/">Wiatr</a>, <a href="/katalog/motyw/woda/">Woda</a>, <a href="/katalog/motyw/przestrzen/">PrzestrzeÅ</a></span></li> </ol> - <p><a href="#" onClick="_gaq.push(['_trackEvent', 'tags-toogle', 'hide', 'Themes groups']);" class="hide-all-tags">{% trans "Hide" %}</a></p> + <p><a href="#" class="hide-all-tags">{% trans "Hide" %}</a></p> </div> </div> <div class="clearboth"></div> -- 2.20.1