minor template fixes
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 29 Apr 2011 11:22:18 +0000 (13:22 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Fri, 29 Apr 2011 11:22:18 +0000 (13:22 +0200)
wolnelektury/static/css/facelist_2-0.css
wolnelektury/templates/base.html
wolnelektury/templates/catalogue/folded_tag_list.html
wolnelektury/templates/catalogue/main_page.html

index bd6d35e..9f9ddc4 100644 (file)
@@ -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;
index adcdaf7..d9eaee5 100644 (file)
@@ -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" %}
index 960a717..a6ff53a 100644 (file)
@@ -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 }}&nbsp;({{ 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 %}
index 9476752..e908b13 100644 (file)
@@ -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>
                         <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>
                     <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>