changeset 6:bb7334ff114a

Add the Greenbone Logo to the footer.
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 25 Sep 2014 15:49:33 +0200
parents b75c494e6140
children 8f41bb7f4681
files MANIFEST.in farol/static/greenbone.png farol/static/greenbone_bw.png farol/static/style.css farol/templates/base.j2
diffstat 5 files changed, 19 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/MANIFEST.in	Thu Sep 25 09:38:26 2014 +0200
+++ b/MANIFEST.in	Thu Sep 25 15:49:33 2014 +0200
@@ -1,5 +1,4 @@
-include farol/static/*.css
-include farol/static/*.js
+include farol/static/*
 include farol/templates/*.j2
 include farol/templates/producttree/*.j2
 include farol/templates/vulnerability/*.j2
Binary file farol/static/greenbone.png has changed
Binary file farol/static/greenbone_bw.png has changed
--- a/farol/static/style.css	Thu Sep 25 09:38:26 2014 +0200
+++ b/farol/static/style.css	Thu Sep 25 15:49:33 2014 +0200
@@ -13,8 +13,19 @@
 }
 */
 .footer {
-  height: 50px;
+  height: 130px;
   margin-top: 20px;
   background-color: rgb(52,52,52);
   color: #AAA;
 }
+
+#greenbone.logo_img {
+  display: block;
+  width: 100px;
+  height: 107px;
+  background-image: url(greenbone_bw.png);
+}
+
+#greenbone.logo_img:hover {
+  background-image: url(greenbone.png);
+}
--- a/farol/templates/base.j2	Thu Sep 25 09:38:26 2014 +0200
+++ b/farol/templates/base.j2	Thu Sep 25 15:49:33 2014 +0200
@@ -122,8 +122,12 @@
     {% endif %}
   </div>
   <footer class="footer container-fluid">
-    <a class="pull-right" href="{{ url_for('about') }}">About ...</a>
-    <p class="text-muted">Copyright &copy; 2014 <a href="http://greenbone.net">Greenbone Networks GmbH</a></p>
+    <div class="text-center">
+      <span class="text-muted">Copyright &copy; 2014 Greenbone Networks GmbH</span>
+      |
+      <span><a href="{{ url_for('about') }}">About ...</a></span>
+    </div>
+    <a href="http://greenbone.net/" id="greenbone" class="logo_img text-hide center-block">Greenbone Networks GmbH</a>
   </footer>
 </body>
 </html>

http://farol.wald.intevation.org