diff --git a/LogBot/template.html b/LogBot/template.html index 7be7bf3..8fdddb6 100644 --- a/LogBot/template.html +++ b/LogBot/template.html @@ -8,18 +8,20 @@

{{ title }}

+
+ {% set sorted = [] %} + {% for num in db %} + {% set int_num = num | int %} +
{{ sorted.append(int_num) }}
+ {% endfor %} - {% set sorted = [] %} - {% for num in db %} - {% set int_num = num | int %} -
{{ sorted.append(int_num) }}
- {% endfor %} - - {% for num in sorted | sort %} -
-

[{{ num | string }}]

-

{{ db[num|string] }}

-
- {% endfor %} + {% for num in sorted | sort %} +
+

[{{ num | string }}]

+

{{ db[num|string] }}

+
+ {% endfor %} +
+