A place for all our bot adventures.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

27 lines
679 B

<!DOCTYPE html>
<html>
<head>
<meta charset="utf8">
<title>{{ title }} - (Generator: LogBot)</title>
<link rel="stylesheet" type="text/css" href="stylesheet.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<h1>{{ title }}</h1>
<div id="container">
{% set sorted = [] %}
{% for num in db %}
{% set int_num = num | int %}
<div style="display: none;">{{ sorted.append(int_num) }}</div>
{% endfor %}
{% for num in sorted | sort | reverse %}
<div class="post">
<p class="key">{{ num | string }}</p>
<p class="message">{{ db[num|string] }}</p>
</div>
{% endfor %}
</div>
<footer></footer>
</body>
</html>