# HG changeset patch # User Daniele Nicolodi # Date 1313260044 -7200 # Node ID 018599af92f5c6f31d79e80b1316446bd24d2b90 # Parent 99db71455ec2cb23d06690c148ecd9250b3966ec Cleanup HTML markup. diff -r 99db71455ec2 -r 018599af92f5 src/ltpdarepo/templates/database.html --- a/src/ltpdarepo/templates/database.html Sat Aug 13 20:27:24 2011 +0200 +++ b/src/ltpdarepo/templates/database.html Sat Aug 13 20:27:24 2011 +0200 @@ -9,21 +9,18 @@
  • Advanced search
  • Timeseries search
  • -

    Search database «{{ database.id }}»

    -

    Search objects by name

    -
    - -
    +

    Quick search

    +

    Search objects by name:

    + {% if queries %} -

    Saved queries

    +

    Saved queries

    +

    Saved queries:

      - {% for query in queries %} -
    1. {{ query }}
    2. + {% for name in queries %} +
    3. {{ name }}
    4. {% endfor %}
    {% endif %} diff -r 99db71455ec2 -r 018599af92f5 src/ltpdarepo/templates/databases/drop.html --- a/src/ltpdarepo/templates/databases/drop.html Sat Aug 13 20:27:24 2011 +0200 +++ b/src/ltpdarepo/templates/databases/drop.html Sat Aug 13 20:27:24 2011 +0200 @@ -1,5 +1,6 @@ {% import 'forms.html' as forms %} {% extends "layout.html" %} +{% block title %}{{ database.id }}{% endblock %} {% block body %}

    Drop database «{{ database.id }}»

    @@ -7,15 +8,10 @@ All contained data will be permanently lost.

    -
    -{% for field in form %} -{{ forms.render_form_field(field) }} -{% endfor %} -
    -
    -
    -
    - -
    +
    + {% for field in form %}{{ forms.render_form_field(field) }}{% endfor %} + + +
    {% endblock %} diff -r 99db71455ec2 -r 018599af92f5 src/ltpdarepo/templates/databases/index.html --- a/src/ltpdarepo/templates/databases/index.html Sat Aug 13 20:27:24 2011 +0200 +++ b/src/ltpdarepo/templates/databases/index.html Sat Aug 13 20:27:24 2011 +0200 @@ -8,8 +8,7 @@
  • {{ db.id }}
  • {% endfor %} -

    Actions

    -