|
@ -8,18 +8,20 @@ |
|
|
</head> |
|
|
</head> |
|
|
<body> |
|
|
<body> |
|
|
<h1>{{ title }}</h1> |
|
|
<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 %} |
|
|
|
|
|
|
|
|
{% set sorted = [] %} |
|
|
{% for num in sorted | sort %} |
|
|
{% for num in db %} |
|
|
<div class="post"> |
|
|
{% set int_num = num | int %} |
|
|
<p class="key">[{{ num | string }}]</p> |
|
|
<div style="display: none;">{{ sorted.append(int_num) }}</div> |
|
|
<p class="message">{{ db[num|string] }}</p> |
|
|
{% endfor %} |
|
|
</div> |
|
|
|
|
|
{% endfor %} |
|
|
{% for num in sorted | sort %} |
|
|
</div> |
|
|
<div class="post"> |
|
|
<footer></footer> |
|
|
<p class="key">[{{ num | string }}]</p> |
|
|
|
|
|
<p class="message">{{ db[num|string] }}</p> |
|
|
|
|
|
</div> |
|
|
|
|
|
{% endfor %} |
|
|
|
|
|
</body> |
|
|
</body> |
|
|
</html> |
|
|
</html> |
|
|