ADS system
authorcain-ish <mariusz.machuta@gmail.com>
Tue, 22 Mar 2016 13:26:56 +0000 (14:26 +0100)
committercain-ish <mariusz.machuta@gmail.com>
Tue, 22 Mar 2016 13:26:56 +0000 (14:26 +0100)
lib/librarian
src/wolnelektury/static/img/ads/960x150_wolneLektury.jpg [deleted file]
src/wolnelektury/static/img/banners/960x150_wolneLektury.jpg [new file with mode: 0644]
src/wolnelektury/static/scss/main/header.scss
src/wolnelektury/templates/superbase.html

index 5085131..7dfc6d9 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 50851315ec74af3cad225137935de36904c4c29b
+Subproject commit 7dfc6d9f0ffa6fa6f66fafca857398ce821d8c0f
diff --git a/src/wolnelektury/static/img/ads/960x150_wolneLektury.jpg b/src/wolnelektury/static/img/ads/960x150_wolneLektury.jpg
deleted file mode 100644 (file)
index 038d390..0000000
Binary files a/src/wolnelektury/static/img/ads/960x150_wolneLektury.jpg and /dev/null differ
diff --git a/src/wolnelektury/static/img/banners/960x150_wolneLektury.jpg b/src/wolnelektury/static/img/banners/960x150_wolneLektury.jpg
new file mode 100644 (file)
index 0000000..038d390
Binary files /dev/null and b/src/wolnelektury/static/img/banners/960x150_wolneLektury.jpg differ
index ee7da24..251df9f 100755 (executable)
@@ -1,7 +1,7 @@
 $header_bg: #191919;
 $small_logo: .9;
 
 $header_bg: #191919;
 $small_logo: .9;
 
-#ads {
+#banners {
   display: inline-block;
   width: 100%;
 
   display: inline-block;
   width: 100%;
 
@@ -13,6 +13,7 @@ $small_logo: .9;
   img {
     display: block;
     margin: 0 auto;
   img {
     display: block;
     margin: 0 auto;
+    width: 100%
   }
 }
 
   }
 }
 
index 9a97864..139fc16 100644 (file)
             {{ current_offer.endif }}
         {% endif %}
 
             {{ current_offer.endif }}
         {% endif %}
 
-        <div id="ads">
-            <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
-                <img src="{% static 'img/ads/960x150_wolneLektury.jpg' %}"
-                     alt="Wesprzyj działalność Nowoczesnej Polski"/>
-            </a>
-        </div>
-
         <div id="whole-header">
             <div id="header-wrapper">
                 <header id="main">
         <div id="whole-header">
             <div id="header-wrapper">
                 <header id="main">
                             {{ user_username.if }}
                             <li><a href="{% url 'logout' %}?next=
 
                             {{ user_username.if }}
                             <li><a href="{% url 'logout' %}?next=
 
+
                                     {% block logout %}{{ request.get_full_path }}{% endblock %}">{% trans "Logout" %}</a>
                             </li>
                             {{ user_username.else }}
                                     {% block logout %}{{ request.get_full_path }}{% endblock %}">{% trans "Logout" %}</a>
                             </li>
                             {{ user_username.else }}
 
 
         <div id="main-content">
 
 
         <div id="main-content">
+            <div id="banners">
+                <a href="https://nowoczesnapolska.org.pl/pomoz-nam/wesprzyj-nas/">
+                    <img src="{% static 'img/banners/960x150_wolneLektury.jpg' %}"
+                         alt="Wesprzyj działalność Nowoczesnej Polski"/>
+                </a>
+            </div>
             {% block body %}
             {% endblock %}
             <div class="clearboth"></div>
             {% block body %}
             {% endblock %}
             <div class="clearboth"></div>