templates/results.html
changeset 7 47446e75ceea
parent 3 6d109e3804ac
child 8 636f54747018
equal deleted inserted replaced
6:48ffdc97f54b 7:47446e75ceea
     1 <html>
     1 <html>
     2 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     2 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
     3 <body>
     3 <body>
     4 
     4 
       
     5 {% if error %}
       
     6 <font color=red> {{ error }} </font>
       
     7 {% else %}
     5 {% for entry in entries %}
     8 {% for entry in entries %}
     6 
     9 
     7     {% if loop.first %}
    10     {% if loop.first %}
     8     <table>
    11     <table>
     9 	<tr><th>Name<th>Telefon<th>Mail</tr>
    12 	<tr><th>Name<th>Telefon<th>Mail</tr>
    18     <font color=red>{{ left ? left ~ ' weitere Einträge' : '' }}</font>
    21     <font color=red>{{ left ? left ~ ' weitere Einträge' : '' }}</font>
    19     {% endif %}
    22     {% endif %}
    20 {% else %}
    23 {% else %}
    21 Sorry, keine Einträge gefunden.
    24 Sorry, keine Einträge gefunden.
    22 {% endfor %}
    25 {% endfor %}
       
    26 {% endif %}
    23 </body>
    27 </body>
    24 </html>
    28 </html>