[damned-lies] One ending div was too much in base.html



commit b837ea33961ab0db3c28ed05389d3d9d605229cf
Author: Claude Paroz <claude 2xlibre net>
Date:   Wed May 18 22:43:10 2016 +0200

    One ending div was too much in base.html

 common/static/css/template.css |    1 +
 templates/base.html            |   21 ++++++++-------------
 2 files changed, 9 insertions(+), 13 deletions(-)
---
diff --git a/common/static/css/template.css b/common/static/css/template.css
index d6293ba..eaaf374 100644
--- a/common/static/css/template.css
+++ b/common/static/css/template.css
@@ -56,6 +56,7 @@ a:hover {
     -webkit-box-shadow: 0 4px 2px -2px #8fb3d9;
     box-shadow: 0 4px 2px -2px #8fb3d9;
     white-space: nowrap;
+    z-index: 10;
 }
 #global_domain_bar .tab a.root {
     color: #555753 !important;
diff --git a/templates/base.html b/templates/base.html
index 38c84b6..b76e4aa 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -27,8 +27,7 @@
     });
   </script>
 
-  {% block extrahead %}
-  {% endblock %}
+  {% block extrahead %}{% endblock %}
 </head>
 
 <body>
@@ -109,14 +108,12 @@
     </div>
 </div>
 
-  <div id="footer_art">
-  </div>
+<div id="footer_art"></div>
 
-  <div id="footer_grass">
-  </div>
+<div id="footer_grass"></div>
 
-  <div id="footer">
-      <div class="links container">
+<div id="footer">
+    <div class="links container">
                <div>
                <ul id="menu-footer" class="menu">
                        <li><a href="https://www.gnome.org";>{% trans "The GNOME Project" %}</a>
@@ -155,17 +152,15 @@
        </div>
        </div> <!-- end of div.links -->
 
-      <div id="footnotes" class="container">
+    <div id="footnotes" class="container">
         {% trans "Copyright &copy; 2006" %}-{% now "Y" %} <strong><a href="https://www.gnome.org/";>{% trans 
"The GNOME Project" %}</a></strong>.
         <br />
         <a href="{% url 'about' %}">{% trans "About Damned Lies" %}</a>.
         {% trans "Optimized for standards." %}
         {% blocktrans with "<a href='http://www.canonical.com/'>Canonical</a>" as link %}Hosted by {{ link 
}}.{% endblocktrans %}
         {% blocktrans with "<a href='https://www.djangoproject.com/'>Django</a>" as link %}Powered by {{ 
link }}.{% endblocktrans %}
-      </div>
-  </div>
-
-</div> <!-- end of div.body -->
+    </div>
+</div>
 
 <div class="modal fade" id="modal-container" tabindex="-1" role="dialog" aria-labelledby="DamnedliesModal">
     <div class="modal-dialog" role="document">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]