forked from mrlan/EnglishPal
app/main.py: green button may look better, more consistent.
parent
aad7f8016e
commit
20386033bc
|
@ -340,7 +340,7 @@ def userpage(username):
|
||||||
page += '<title>EnglishPal Study Room for %s</title>' % (username)
|
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>English Pal for <font color="red">%s</font></b> <a href="/logout">登出</a></p>' % (username)
|
||||||
page += '<p><b>阅读文章并回答问题</b></p>\n'
|
page += '<p><b>阅读文章并回答问题</b></p>\n'
|
||||||
page += '<p><a class="btn btn-primary" href="/%s/reset" role="button">下一篇</a></p>' % (username)
|
page += '<p><a class="btn btn-success" href="/%s/reset" role="button"> 下一篇 </a></p>' % (username)
|
||||||
page += '<div id="text-content">%s</div>' % (get_today_article(user_freq_record, session['articleID']))
|
page += '<div id="text-content">%s</div>' % (get_today_article(user_freq_record, session['articleID']))
|
||||||
page += '<p><b>收集生词吧</b> (可以在正文中划词,也可以复制黏贴)</p>'
|
page += '<p><b>收集生词吧</b> (可以在正文中划词,也可以复制黏贴)</p>'
|
||||||
page += '<form method="post" action="/%s">' % (username)
|
page += '<form method="post" action="/%s">' % (username)
|
||||||
|
|
Loading…
Reference in New Issue