Small style change: Somehow min-height doesn't work in html5
authorJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 15 Aug 2010 21:03:18 +0000 (21:03 +0000)
committerJean-Michel Nirgal Vourgère <jmv@nirgal.com>
Sun, 15 Aug 2010 21:03:18 +0000 (21:03 +0000)
html_templates/base.html
html_templates/index.html
www/global.css

index 0953b61e22d0759213f73f39b565b9238d90527c..c898020d4a8fcd16c7749429a2b50cfa2434a56b 100644 (file)
@@ -4,15 +4,14 @@
 <link rel=stylesheet href='/global.css'>
 <link rel=alternate type='application/rss+xml' title='All the news about AIS ship monitoring' href='https://ais.nirgal.com/news/feed'>
 <title>{% block title %}AIS{% endblock %}</title>
-{% block style_extra %}
-{% endblock %}
+{% block style_extra %}{% endblock %}
 <script src='/javascript/jquery/jquery.js' type='text/javascript'></script>
 <script src='/global.js' type='text/javascript'></script>
 
 <div id=header>
     <span id=bannertitle>AIS ship monitoring</span>
     <span id=bannermenu>Welcome <a href='/user/{{user.login}}/'>{{ user.name }}</a> ☮ <a href='/user/{{user.login}}/change_password'>change password</a></span>
-    <br clear=all>
+    <br class=clearall>
     <div id=tabs>
         <a href='/'{% block tab_active_news %}{% endblock %} title="Home page">news</a>
         <a href='/vessel/'{% block tab_active_vessel %}{% endblock %} title="Look for some specific ships">vessels</a>
     </div>
 </div>
 <div id=main>
-{% block breadcrumbs %}
-You are here: <a href='/'>home</a>
-{% endblock %}
+    {% block breadcrumbs %}
+    You are here: <a href='/'>home</a>
+    {% endblock %}
 
 
-<div style="padding:1ex;">
-    {% for message in user.get_messages %}
-        <div class=message>
-        {{ message.category.id }}: {{ message.txt }}
-        </div>
-    {% endfor %}
-    {% block content %}{% endblock %}
+    <div style="padding:1ex;">
+        {% for message in user.get_messages %}
+            <div class=message>
+            {{ message.category.id }}: {{ message.txt }}
+            </div>
+        {% endfor %}
+        {% block content %}{% endblock %}
     </div>
 </div>
 
 <div id=footer>
-<base target='_blank'>
-<a href='/svn'>This</a> is <a href='http://www.gnu.org/licenses/gpl.html' noreferrer>GPL Software</a>
-☮ <a href='http://www.enercoop.coop/' noreferrer>Powered by renewable energy</a>
-, <a href='http://www.debian.org/' noreferrer>Debian/GNU Linux</a>
-☮ <a href='http://ipv6.com/articles/general/ipv6-the-next-generation-internet.htm' noreferrer>IPv6 ready</a>
-<base target=''>
+<a href='/svn'>This</a> is <a href='http://www.gnu.org/licenses/gpl.html' target=_blank noreferrer>GPL Software</a>
+☮ <a href='http://www.enercoop.coop/' target=_blank noreferrer>Powered by renewable energy</a>
+, <a href='http://www.debian.org/' target=_blank noreferrer>Debian/GNU Linux</a>
+☮ <a href='http://ipv6.com/articles/general/ipv6-the-next-generation-internet.htm' target=_blank noreferrer>IPv6 ready</a>
 </div>
index 043deb34b12ae32f589e63548040eea0bc858b77..b0be565479cfbe1a693028164fdb12040e120d96 100644 (file)
 <div class='hr'><hr /></div>
 
 <h3>External links</h3>
-<base target='_blank'>
 <ul>
-<li><a href='http://www.dxinfocentre.com/tropo_eur.html' noreferrer>Tropospheric Ducting Forecasts: Europe</a>
-<li><a href='http://en.wikipedia.org/wiki/Automatic_Identification_System' noreferrer>AIS on Wikipedia</a>
-<li><a href='http://www.marinetraffic.com/' noreferrer>Marine Traffic</a>
-<li><a href='http://www.seasearcher.com/' noreferrer>Sea Searcher</a>
-<li><a href='http://www.vesseltracker.com/' noreferrer>Vessel Tracker</a>
-<li><a href='http://www.aislive.com/' noreferrer>AIS Live</a>
-<li><a href='http://www.digital-seas.com/' noreferrer>Digital Seas</a>
-<li><a href='http://www.aishub.net/' noreferrer>Ais Hub</a>
-<li><a href='http://www.coaa.co.uk/shipplotter.htm' noreferrer>Ship Plotter</a>
+<li><a href='http://www.dxinfocentre.com/tropo_eur.html' target=_blank noreferrer>Tropospheric Ducting Forecasts: Europe</a>
+<li><a href='http://en.wikipedia.org/wiki/Automatic_Identification_System' target=_blank noreferrer>AIS on Wikipedia</a>
+<li><a href='http://www.marinetraffic.com/' target=_blank noreferrer>Marine Traffic</a>
+<li><a href='http://www.seasearcher.com/' target=_blank noreferrer>Sea Searcher</a>
+<li><a href='http://www.vesseltracker.com/' target=_blank noreferrer>Vessel Tracker</a>
+<li><a href='http://www.aislive.com/' target=_blank noreferrer>AIS Live</a>
+<li><a href='http://www.digital-seas.com/' target=_blank noreferrer>Digital Seas</a>
+<li><a href='http://www.aishub.net/' target=_blank noreferrer>Ais Hub</a>
+<li><a href='http://www.coaa.co.uk/shipplotter.htm' target=_blank noreferrer>Ship Plotter</a>
 </ul>
-<base target=''>
 {% endblock %}
index ee61f9abd6e211bcf4f3a2fbb067860d6079ddde..a5b025a5f9f1413bde23b340b831c5d7b25efb18 100644 (file)
@@ -74,6 +74,11 @@ div.hr {
 div.hr hr {
     display: none;
 }
+
+br.clearall {
+    clear: both;
+}
+
 a[href].button {
     display: inline-block;
     margin: 0ex 1ex;