# HG changeset patch # User veltr # Date 1326386218 -3600 # Node ID 0059750178bcb5255c9499bdd742242a3a476065 # Parent e8973c3fcc9ccf1ec7e725e4e72fb334005e9797 Replaced sparkline by Raphael.js diff -r e8973c3fcc9c -r 0059750178bc src/ldt/ldt/ldt_utils/templates/front/front_search_results.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_search_results.html Thu Jan 12 12:00:06 2012 +0100 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_search_results.html Thu Jan 12 17:36:58 2012 +0100 @@ -8,7 +8,7 @@ {% block js_import %} {{block.super}} - + {% endblock %} {% block css_import %} @@ -21,21 +21,76 @@ + {% if msg %} @@ -76,9 +131,7 @@
{{res.content.duration|str_duration:"::"}}
{% if segment.context %}{{ segment.context }}{% endif %}
{% trans "Begin" %} : {{ segment.begin|str_duration:"::" }} - {% trans "duration" %} : {{ segment.duration|str_duration:"::" }}
-
-
+
+
{% endfor %}
@@ -108,29 +161,29 @@
{% if results.has_previous %} - {% trans "previous" %} - . - {% endif %} - {% if results.paginator.num_pages > 1 %} - - {% for i in results.paginator.num_pages|get_range %} - - {% if i|add:'1' == results.number %} - {{i|add:'1'}} - {% else %} - {{i|add:'1'}} - {% endif %} - {% if i|add:'1' < results.paginator.num_pages and 1 < results.paginator.num_pages %} - . + {% trans "previous" %} + . + {% endif %} + {% if results.paginator.num_pages > 1 %} + + {% for i in results.paginator.num_pages|get_range %} + + {% if i|add:'1' == results.number %} + {{i|add:'1'}} + {% else %} + {{i|add:'1'}} {% endif %} - - {% endfor %} - - {% endif %} - {% if results.has_next %} - . - {% trans "next" %} - {% endif %} + {% if i|add:'1' < results.paginator.num_pages and 1 < results.paginator.num_pages %} + . + {% endif %} + + {% endfor %} + + {% endif %} + {% if results.has_next %} + . + {% trans "next" %} + {% endif %}