Update to v1.9

This commit is contained in:
Lost-MSth
2020-12-17 17:59:19 +08:00
parent 5771d0c669
commit 26216bf84a
15 changed files with 1242 additions and 640 deletions

View File

@@ -0,0 +1,37 @@
{% extends 'base.html' %}
{% block header %}
<h1>{% block title %}All presents{% endblock %}</h1>
{% endblock %}
{% block content %}
{% if posts %}<br />
{% for present in posts %}
<div class="char-present">
<span>Id: </span>
<span class="name">{{present['present_id']}}</span>
<br />
<span>Expire time: </span>
<span class="char-num">{{present['expire_ts']}}</span>
<br />
<span>Description: </span>
<span class="char-num">{{present['description']}}</span>
<br />
<span>Items: </span>
<span class="char-num" style='white-space:pre'>{{present['items']}}</span>
<br />
</div>
{% if not loop.last %}
<br />
<hr />
<br />
{% endif %}
{% endfor %}
{% endif %}
{% endblock %}