# HG changeset patch # User Daniele Nicolodi # Date 1313935261 -7200 # Node ID 06cf88d1e44588da8451fd758fe7543fa0ad27c5 # Parent 18820d874f33c100162a0cc159f916cfcf24104e Cleanup HTML and make it W3C valid. diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/database.html --- a/src/ltpdarepo/templates/database.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/database.html Sun Aug 21 16:01:01 2011 +0200 @@ -12,8 +12,8 @@

Quick search

Search objects by name:

{% if queries %}

Named queries

diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/databases/drop.html --- a/src/ltpdarepo/templates/databases/drop.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/databases/drop.html Sun Aug 21 16:01:01 2011 +0200 @@ -10,8 +10,8 @@
{% for field in form %}{{ forms.render_form_field(field) }}{% endfor %} - - + +
{% endblock %} diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/databases/permissions.html --- a/src/ltpdarepo/templates/databases/permissions.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/databases/permissions.html Sun Aug 21 16:01:01 2011 +0200 @@ -14,15 +14,15 @@ {{ user }} - + - - - - + + + + {% endfor %} - + {% endblock %} diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/layout.html --- a/src/ltpdarepo/templates/layout.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/layout.html Sun Aug 21 16:01:01 2011 +0200 @@ -4,8 +4,8 @@ {% block title %} {% endblock %} — LTPDA Repository - - {%- block head %}{% endblock %} + + {%- block head %}{% endblock -%} @@ -29,7 +29,7 @@
 
{% for category, message in get_flashed_messages(True) %} -
{{ message }}
+
{{ message|safe }}
{% endfor %} {% block body %}{% endblock %} @@ -38,7 +38,7 @@ diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/login.html --- a/src/ltpdarepo/templates/login.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/login.html Sun Aug 21 16:01:01 2011 +0200 @@ -13,7 +13,7 @@
-
+
diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/query.html --- a/src/ltpdarepo/templates/query.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/query.html Sun Aug 21 16:01:01 2011 +0200 @@ -1,7 +1,7 @@ {% extends "objs.html" %} {% block head %} - + @@ -39,7 +39,7 @@ {% for field, op, value in query %}
{{ criteria[field]['name'] }} - + {% else %} - + {% endif %} - +
{% endfor %} @@ -74,10 +74,10 @@ {% endfor %} - + {% if 'admin' in g.identity.roles %} - + {% endif %} diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/timerange.html --- a/src/ltpdarepo/templates/timerange.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/timerange.html Sun Aug 21 16:01:01 2011 +0200 @@ -2,9 +2,9 @@ {% block extra %}
- + ≤ TIME ≤ - +
{% endblock %} diff -r 18820d874f33 -r 06cf88d1e445 src/ltpdarepo/templates/users/drop.html --- a/src/ltpdarepo/templates/users/drop.html Sun Aug 21 15:46:46 2011 +0200 +++ b/src/ltpdarepo/templates/users/drop.html Sun Aug 21 16:01:01 2011 +0200 @@ -10,8 +10,8 @@ {% for field in form %} {{ forms.render_form_field(field) }} {% endfor %} - - + + {% endblock %}