From 858107a929e826681629f34b384926488aeb1cd1 Mon Sep 17 00:00:00 2001 From: yvesf Date: Mon, 22 Nov 2010 19:54:33 +0100 Subject: scroll preview page to page-match; sort matches by pagenumber --- templates/search.html | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) (limited to 'templates') diff --git a/templates/search.html b/templates/search.html index d4e8590..b99c053 100644 --- a/templates/search.html +++ b/templates/search.html @@ -1,31 +1,34 @@ {% extends "_base.html" %} {% block title %} - {% if term != "" %} - {{ term }} - {% else %} - Start a new Search - {% endif %} + {% if term: %}{{ term }}{% else %}Start a new Search{% endif %} {% endblock %} {% block searchValue %}{{ term }}{% endblock %} {% block javascript %} @@ -36,7 +39,9 @@ {% for docnum, matches in matches.items() %}

book: {{ docnum }}

- +
+ +
filename, creationtime, indexed-time, +any pdf metadata
-- cgit v1.2.1