From 1f408d58a0853653d9297bd048512c3e4e279512 Mon Sep 17 00:00:00 2001 From: yvesf Date: Mon, 22 Nov 2010 00:52:52 +0100 Subject: index/seaerch/convert works; ugly template --- templates/search.html | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'templates') diff --git a/templates/search.html b/templates/search.html index 4afe479..81a1007 100644 --- a/templates/search.html +++ b/templates/search.html @@ -13,15 +13,20 @@ Matched {{ matches.__len__() }} Book{% if matches.__len__() > 1 %}s{% endif %} {% for docnum, matches in matches.items() %}
- book: {{ docnum }} - + book: {{ docnum }} + +
{% for match in matches %}
- {{ match }} + Match at page {{ match[2] }} ( + image, + pdf) + score={{ match[0] }} + excerpt
{% endfor %}
- match in {{ docnum }} +
{% endfor %} {% endif %} {% endblock %} -- cgit v1.2.1