forked from mrlan/EnglishPal
邱忠辉
9d420acd8b
1. Add jquery.js and word_operation.js to the static folder. 2. Changed the return type of the familiar, unfamiliar and deleteword methods of user_service.py. ``` original: return redirect(url_for('userpage', username=username)) now: return "success" ``` 3. In order to get elements in JS to make ajax requests we add ids in userpage_get.html for familiar, unfamiliar, delete buttons and so on. 4. When the user's word book was retrieved, the list returned was already sorted in descending order of frequency, so redundant code was removed in userpage_get.html. Co-authored-by: PeterQiu <www.1392993990@qq.com> Co-authored-by: Lan Hui <1348141770@qq.com> Reviewed-on: http://121.4.94.30:3000/mrlan/EnglishPal/pulls/30 Co-authored-by: 邱忠辉 <1392993990@qq.com> Co-committed-by: 邱忠辉 <1392993990@qq.com> |
||
---|---|---|
.. | ||
expiry.html | ||
login.html | ||
mainpage_get.html | ||
mainpage_post.html | ||
not_login.html | ||
reset.html | ||
signup.html | ||
userpage_get.html | ||
userpage_post.html |