From 54e247945dfa3a4bd80f71fce1b506bec12178a9 Mon Sep 17 00:00:00 2001 From: erdgeist Date: Sat, 28 Feb 2026 00:18:38 +0100 Subject: Initial --- templates/index.html | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 templates/index.html (limited to 'templates') diff --git a/templates/index.html b/templates/index.html new file mode 100644 index 0000000..cf4e616 --- /dev/null +++ b/templates/index.html @@ -0,0 +1,60 @@ + +AVON + + + + +
+ {%- for field in range(1,5) -%} +
+ + + any + +
+ {%- endfor -%} + +
+{% if rows | length > 0 -%}

Found {{ rows | length }} matches.

{% endif %} +{% set color = { 'value': 0 } %} + + +{%- for row in rows -%} +{% set span = row[3:16] | reject("none") | map('length') | max %} + {% for r in range (span) %} + {% if ( r == 0 ) and ( color.update({ 'value': 1 - color.value }) ) %} {% endif %} + + {%- if r == 0 -%} + + {%- endif -%} + {%- for c in range(3, 16) -%} + + {%- endfor -%} + + {%- endfor -%} +{%- endfor -%} +
flagszip
{{ convert.bits_to_years(row[0]|int) }} : {{ convert.bits_to_years(row[1]|int) }} : {{ convert.bits_to_years(row[2]|int) }}{{ row[c][r] or '' }}
+ + -- cgit v1.2.3