增加返回上一篇按钮

Bug422-XuXing
徐幸 2022-06-14 15:56:12 +08:00
parent e48008550a
commit 9e36644215
1 changed files with 5 additions and 1 deletions

View File

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