Dodanie strony 1procent i bannera 1procent na górze każdej strony w katalogu.
[wolnelektury.git] / wolnelektury / templates / base.html
index 7f08ed0..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">
@@ -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"));