# HG changeset patch # User Daniele Nicolodi # Date 1322152292 -3600 # Node ID 694acf75447fcec8dadf28d4dc8739afd6ac66e5 # Parent b9f7aac3fd06a37dd51795753106dd2c8229986d Fix HTML to make it W3C valid. diff -r b9f7aac3fd06 -r 694acf75447f src/ltpdarepo/static/style.css --- a/src/ltpdarepo/static/style.css Thu Nov 24 17:31:30 2011 +0100 +++ b/src/ltpdarepo/static/style.css Thu Nov 24 17:31:32 2011 +0100 @@ -79,11 +79,13 @@ -webkit-box-shadow: -4px 2px 4px rgba(0, 0, 0, 0.4); } +.header .content { + padding: 0.75em 0; +} + .header a { - display: block; text-decoration: none; color: inherit; - padding: 0.25em 0; } .header h1 { @@ -118,8 +120,8 @@ } .footer { - margin: 9em 9em 2em 9em; - padding: 0.25em 1em; + margin: 9em 9em 0 9em; + padding: 0.25em 1em 2em 1em; color: #888; border-top: 1px solid #AAA; } diff -r b9f7aac3fd06 -r 694acf75447f src/ltpdarepo/templates/layout.html --- a/src/ltpdarepo/templates/layout.html Thu Nov 24 17:31:30 2011 +0100 +++ b/src/ltpdarepo/templates/layout.html Thu Nov 24 17:31:32 2011 +0100 @@ -1,8 +1,7 @@ - - - + + + {% block title %} {% endblock %} — LTPDA Repository {%- block head %}{% endblock -%} @@ -11,10 +10,8 @@
@@ -45,7 +42,6 @@

AGPLv3Dowload source code

Version {{ g.version }} — Database schema {{ g.schema }}

-

diff -r b9f7aac3fd06 -r 694acf75447f src/ltpdarepo/templates/objs.html --- a/src/ltpdarepo/templates/objs.html Thu Nov 24 17:31:30 2011 +0100 +++ b/src/ltpdarepo/templates/objs.html Thu Nov 24 17:31:32 2011 +0100 @@ -25,8 +25,8 @@ {% for obj in objs %} - - {% for field in fields %} + + {% for field in fields %} {% if field in ('id', 'name') %} {{ obj[field] }} {% else %}