app/main.py: move alert bar above 阅读文章并回答问题 (revision).

Lanhui-go-bootstrap
Hui Lan 2021-07-31 21:12:04 +08:00
parent fbf054d174
commit 22af30bc88
1 changed files with 1 additions and 1 deletions

View File

@ -339,9 +339,9 @@ def userpage(username):
page += '<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">'
page += '<title>EnglishPal Study Room for %s</title>' % (username)
page += '<p><b>English Pal for <font color="red">%s</font></b> <a href="/logout">登出</a></p>' % (username)
page += '<p><b>阅读文章并回答问题</b></p>\n'
page += '<p><a href="/%s/reset">下一篇</a></p>' % (username)
page += '<div id="text-content">%s</div>' % (get_today_article(user_freq_record, session['articleID']))
page += '<p><b>阅读文章并回答问题</b></p>\n'
page += '<p><b>收集生词吧</b> (可以在正文中划词,也可以复制黏贴)</p>'
page += '<form method="post" action="/%s">' % (username)
page += ' <textarea name="content" id="selected-words" rows="10" cols="120"></textarea><br/>'