bots/LogBot/template.html

28 lines
691 B
HTML
Raw Normal View History

2021-02-27 20:20:19 +01:00
<!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">
2021-02-27 20:20:19 +01:00
</head>
<body>
<h1>{{ title }}</h1>
2021-04-23 20:05:15 +02:00
<div id="container">
{% set sorted = [] %}
{% for num in db %}
{% set int_num = num | int %}
<div style="display: none;">{{ sorted.append(int_num) }}</div>
{% endfor %}
2021-02-27 20:20:19 +01:00
{% for num in sorted | sort | reverse %}
2021-04-23 20:05:15 +02:00
<div class="post">
<p class="key">{{ num | string }}</p>
2021-06-03 16:39:45 +02:00
<p class="message">{{ db[num|string] | href_wrap }}</p>
2021-04-23 20:05:15 +02:00
</div>
{% endfor %}
</div>
<footer></footer>
2021-02-27 20:20:19 +01:00
</body>
</html>