From 4308acab56769aa58749b0c39a87fcc917f82016 Mon Sep 17 00:00:00 2001 From: mb Date: Fri, 23 Apr 2021 20:05:15 +0200 Subject: [PATCH] Update 'LogBot/template.html' --- LogBot/template.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) 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 %} +
+