app/main.py: use a different color for badge.
parent
29f0d02327
commit
adfc2796da
|
@ -110,7 +110,7 @@ def get_today_article(user_word_list, articleID):
|
|||
d = reading
|
||||
break
|
||||
|
||||
s = '<p><i>According to your word list, your level is <span class="badge bg-success">%4.2f</span> and we have chosen an article with a difficulty level of <span class="badge bg-success">%4.2f</span> for you.</i></p>' % (user_level, text_level)
|
||||
s = '<p><i>According to your word list, your level is <span class="badge bg-dark">%4.2f</span> and we have chosen an article with a difficulty level of <span class="badge bg-dark">%4.2f</span> for you.</i></p>' % (user_level, text_level)
|
||||
s += '<p><b>%s</b></p>' % (d['date'])
|
||||
s += '<p><font size=+2>%s</font></p>' % (d['text'])
|
||||
s += '<p><i>%s</i></p>' % (d['source'])
|
||||
|
|
Loading…
Reference in New Issue