1
0
Fork 0

Re-arrange button positions (put Next Article before Previous Article).

Bug422-XuXing
Lan Hui 2022-07-21 22:12:35 +08:00
parent 69835c7f8d
commit e73c66edd3
1 changed files with 4 additions and 2 deletions

View File

@ -27,11 +27,13 @@
<a class="btn btn-secondary" href="/reset" role="button">重设密码</a>
</p>
{{ flashed_messages|safe }}
<a class="btn btn-success" href="/{{ username }}/reset" role="button"> 下一篇 Next Article </a>
{% if session.get('articleID') != session.get('temp') %}
{% if session.get('temp') != None %}
<p><a class="btn btn-success" href="/{{ username }}/back" role="button"> 上一篇 Previous Article </a>
<a class="btn btn-success" href="/{{ username }}/back" role="button"> 上一篇 Previous Article </a>
{% endif%}
{% endif %}<a class="btn btn-success" href="/{{ username }}/reset" role="button"> 下一篇 Next Article </a>
{% endif %}
<p><b>阅读文章并回答问题</b></p>
<div id="text-content">{{ today_article|safe }}</div>