drime

French rhyme dictionary with web and CLI interface
git clone https://a3nm.net/git/drime/
Log | Files | Refs | README

commit 5fbfaf281a49c46c302f071436cdf6307ecc2342
parent 80fa11fa3764e99020a7dedaf90e32f323f0ca0c
Author: Antoine Amarilli <a3nm@a3nm.net>
Date:   Tue, 27 Dec 2011 16:27:53 +0100

fix markup, add thead tbody

Diffstat:
templates/results.html | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/templates/results.html b/templates/results.html @@ -37,6 +37,7 @@ for: {% endif %} <strong>{{ keys[0][-1] }}</strong></p> <table> + <thead> <tr> <th id="col_word">{% if lang == 'fr' %}mot{% else %}word{% endif %}</th> <th id="col_pron"> @@ -56,6 +57,9 @@ for: derivations {% endif %} </th> + </tr> +</thead> +<tbody> {% for r in result %} <tr class="{{ loop.cycle('odd', 'even') }}"> <td>{{ r.word }}</td> @@ -66,6 +70,7 @@ for: <td>{{ r.orig }}</td> </tr> {% endfor %} +</tbody> </table> </div> {#<p class="page">