public domain counter:
[wolnelektury.git] / wolnelektury / templates / base.html
index 3b4e8f3..f62f41d 100644 (file)
         <div id=infobar><a href=http://browsehappy.pl/infobar>
         Internet Explorer nie potrafi poprawnie wyświetlić tej strony. Kliknij tutaj, aby dowiedzieć się więcej...
         </a></div><div id=viewplot><script src=/static/infobar/infobar.js></script><![endif]-->
+        {% block bodycontent %}
         <div id="top-message">
             {% chunk "top-message" %}
         </div>
+        <div id="onepercent-banner" style="display:none">
+            <a href="{% url 1percent %}" id="onepercent-text"></a>
+            <a href="{% url 1percent %}" id="onepercent-see-more">Zobacz więcej</a>
+        </div>
         <div id="header">
             <div id="logo">
                 <a href="/"><img src="/static/img/logo.png" alt="WolneLektury.pl - logo" /></a>
                     <p><a href="{% url login %}" class="login-register-link">Zaloguj się / Załóż konto</a></p>
                 {% endif %}
             </div>
+            <div class="social-links" style="float:right">
+                <a href="http://pl-pl.facebook.com/pages/Wolne-Lektury/203084073268"><img src="/static/img/social/facebook.png" /></a>
+                <a href="http://twitter.com/wolnelektury"><img src="/static/img/social/twitter.png" /></a>
+                <a href="http://nasza-klasa.pl/profile/30441509"><img src="/static/img/social/naszaklasa.png" /></a>     
+            </div>
             <div class="clearboth"></div>
         </div>
         <div id="maincontent">
@@ -63,7 +73,7 @@
             <div class="target">
                 <form method="post" action="{% url login %}" id="login-form" class="cuteform">
                     <h2>Zaloguj się / <a href="#" id="show-registration-form" style="font-size: 0.85em; font-weight: normal">Załóż konto</a></h2>
-                    <p><span id="id_login-__all__" /></p>
+                    <p><span id="id_login-__all__"></span></p>
                     <ol>
                         {% authentication_form %}
                         <li><input type="submit" value="Zaloguj się" /></li>
@@ -71,7 +81,7 @@
                 </form>
                 <form method="post" action="{% url register %}" id="registration-form" class="cuteform" style="display: none;">
                     <h2><a href="#" id="show-login-form" style="font-size: 0.85em; font-weight: normal">Zaloguj się</a> / Załóż konto</h2>
-                    <p><span id="id_registration-__all__" /></p>
+                    <p><span id="id_registration-__all__"></span></p>
                     <ol>
                         {% user_creation_form %}
                         <li><input type="submit" value="Załóż konto" /></li>
@@ -85,6 +95,7 @@
                 <p><img src="/static/img/indicator.gif" alt="*"/> Ładowanie</p>
             </div>
         </div>
+        {% endblock bodycontent %}
         <script type="text/javascript">
         var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
         document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));