唐娇
|
692d8cf453
|
Merge branch 'Bug528-TangJiao' of http://118.25.96.118:3000/mrlan/EnglishPal into Bug528-TangJiao
|
2024-04-15 06:14:30 +08:00 |
唐娇
|
426d131f64
|
Fix Text Files
|
2024-04-15 06:12:41 +08:00 |
唐娇
|
85a3faaa9f
|
Fix bug 528
|
2024-04-06 00:18:44 +08:00 |
唐娇
|
292972c0ce
|
Fix bug 528
|
2024-03-19 14:59:36 +08:00 |
Lan Hui
|
d9e28e3a2b
|
Tweak button size so it looks better on tablets.
|
2023-08-13 21:08:13 +08:00 |
Lan Hui
|
30b54f8023
|
Tweak button style
|
2023-08-12 17:59:49 +08:00 |
Lan Hui
|
1e3ac7a379
|
Use larger buttons
|
2023-08-12 17:42:25 +08:00 |
Lan Hui
|
8dd6a2a343
|
Use an arrow for Next Article or Previsou Article
|
2023-08-12 17:36:49 +08:00 |
Lan Hui
|
f3aa407c56
|
Use small letters for In and Up.
|
2023-08-11 19:32:34 +08:00 |
Lan Hui
|
e9ac50422b
|
Make the flash message dismissible.
|
2023-08-11 19:28:53 +08:00 |
Lan Hui
|
f4df263d6e
|
Flash message is informative. Why not add it?
|
2023-08-11 19:14:51 +08:00 |
Lan Hui
|
dff560cc73
|
Indent code using web-mode.
|
2023-08-11 18:39:36 +08:00 |
Lan Hui
|
c110de0393
|
Better spacing.
|
2023-08-11 18:38:35 +08:00 |
Lan Hui
|
aaabd3e3bb
|
Enlarge button size so it is more table-friendly.
|
2023-08-11 18:34:48 +08:00 |
Hui Lan
|
9b1d60748d
|
Increase button size so that it is easier to use on tablets .
|
2023-08-11 18:29:35 +08:00 |
Lan Hui
|
10c291bed2
|
Highlight user difficulty level too.
|
2023-08-10 19:12:30 +08:00 |
Lan Hui
|
6d15b65e3c
|
Make highlighting text difficulty level work.
|
2023-08-10 19:09:15 +08:00 |
Hui Lan
|
dca76969eb
|
解决程序源文件更新了,但是 docker container 中的程序源文件没有更新的问题
问题出在 build.sh 中的 --mount type=volume,src=englishpal-db,target=/app 。
运行 docker container 时,会将整个 englishpal-db 对应的文件夹 /var/lib/docker/volumes/englishpal-db/_data
下面的内容拷贝到 docker container 里面的 /app 文件夹下面。
然而,/var/lib/docker/volumes/englishpal-db/_data 下面的源程序文件并不是最新的(比如其 main.py 是 7月17日的)。
将 target=/app 改为 target=/app/db。即可解决问题。
|
2023-08-10 14:19:37 +08:00 |
Hui Lan
|
00ae957b27
|
Try to figure out how to rebuild the image after updating the source code.
|
2023-08-10 10:47:57 +08:00 |
Lan Hui
|
14ab63c85c
|
文章段落正确分段(在 lead class 中添加 white-space: pre-wrap;)
|
2023-08-10 10:03:02 +08:00 |
Lan Hui
|
43419ab4b6
|
Enlarge text difficult level for one second (make it work using vanilla JavaScript)
|
2023-07-17 16:28:08 +08:00 |
Hui Lan
|
78d9a66e88
|
After loading the next article, show its difficulty level in a larger size for one second.
|
2023-07-17 16:13:56 +08:00 |
Lan Hui
|
9a156ebf7e
|
Fix Bug 539
|
2023-07-08 18:23:45 +08:00 |
张艺腾
|
582f399f73
|
Bug537 and Bug538
|
2023-06-21 16:48:45 +08:00 |
Laugh
|
bb2d0363e4
|
Feat: update fontsize and margin of some elements
|
2023-06-15 15:54:46 +08:00 |
寻宇灿
|
1543b3095d
|
Merge remote-tracking branch 'origin/Alpha-snapshot20230519' into Refactor-XunYucan
|
2023-05-25 22:30:06 +08:00 |
寻宇灿
|
03ccb3527a
|
重构前端阅读js,新增阅读器全局对象,新增生词朗读按钮
|
2023-05-25 17:35:31 +08:00 |
huangdan
|
d9f6df7fbe
|
AJAX载入文章数据
|
2023-05-11 15:51:10 +08:00 |
huangdan
|
5039f5710e
|
AJAX载入文章数据
|
2023-05-08 14:33:48 +08:00 |
Hui Lan
|
becef7e343
|
Merge branch 'Bug502-YuGaoXiang' of http://121.4.94.30:3000/mrlan/EnglishPal into Alpha-snapshot20230506
|
2023-05-07 15:59:35 +08:00 |
吴宇涵
|
f64d06fbbf
|
fix: fix Bug 531 and use ES6 grammar
|
2023-05-06 17:24:51 +08:00 |
Hui Lan
|
779dafefe8
|
Merge branch 'Bug509-XieQiuHan-WangZiming' of http://121.4.94.30:3000/mrlan/EnglishPal into Alpha-snapshot20230427
|
2023-04-27 07:21:15 +08:00 |
王梓铭
|
5654fbf9bc
|
修改:使用新的/<username>/userpage路由
|
2023-04-26 18:49:59 +08:00 |
王梓铭
|
d30a434b2a
|
修改变量名had_read_articles->visited_articles
|
2023-04-25 17:47:51 +08:00 |
Hui Lan
|
ef786795e2
|
Resolve merge conflict
|
2023-04-25 08:47:22 +08:00 |
王梓铭
|
fc3e27488b
|
给标签添加id,方便测试
|
2023-04-21 05:33:26 +08:00 |
王梓铭
|
03145b57d9
|
修复边界值问题(当刚开始就没有找到文章或者就根本被没有文章的时候,会出现上一篇按钮)
|
2023-04-21 02:36:51 +08:00 |
王梓铭
|
8f132ed87b
|
添加了阅读完所有文章的提示
|
2023-04-20 22:53:30 +08:00 |
王梓铭
|
da13e5bbd5
|
修复Bug(没找到文章后立即上一篇会回到上上篇文章) & 标签添加id方便测试
|
2023-04-20 21:28:29 +08:00 |
王梓铭
|
84affaeb69
|
修改 /<username> 路由存在的问题(每次调用别的路由他都会被调用),新路由为 /<username>/userpage;同时因为修改了路由导致访问userpage_get的时候会导致静态文件路径生成错误,这里修改了\static\config.yml中的静态资源路径,修改后也都可以正常访问到的
|
2023-04-20 20:30:14 +08:00 |
王梓铭
|
16de0a7fd9
|
修改变量命名:existing_articles → had_read_articles
|
2023-04-20 15:40:11 +08:00 |
Lan Hui
|
f3d609c92b
|
Merge Wang Ziming's work and Wu Yuhan's work.
|
2023-04-07 06:41:49 +08:00 |
王梓铭
|
15bb925024
|
将记录阅读过文章的数据结果改为字典,以及修改了flag的问题
|
2023-04-04 22:31:53 +08:00 |
吴宇涵
|
1f150fc847
|
refactor: use ajax to get expiry_date
|
2023-03-31 13:39:28 +08:00 |
王梓铭
|
5b2f5199a8
|
1. 取消userpage_get.html中提示删除单词信息的代码 和 取消user_service.userpage中render_template的flashed_messages参数。因为删除单词操作已经是异步了,而提示信息的出现是同步执行,所以就注释了代码且没有产生太大影响。
2. 修改取消user_service.deleteword中对注释flash代码的注释,根据上一步进行了重新解释。
|
2023-03-27 14:28:54 +08:00 |
Lan Hui
|
0ce1c6eb6e
|
文章管理页面:每篇文章中保留换行,方便查看。
|
2023-03-26 21:14:29 +08:00 |
Lan Hui
|
d4ac709385
|
将删除按钮移到第一行,避免因为文章的标题过长跨行导致删除按钮形状改变。
|
2023-03-26 21:05:05 +08:00 |
Lan Hui
|
9eb5210d3f
|
Level与Date的冒号后面加个空格,使得后面的信息更加看得清楚。
|
2023-03-26 20:58:37 +08:00 |
Lan Hui
|
0e25737381
|
管理文章页面的文章列表中,每篇文章不再在内容部分重新显示标题。
|
2023-03-26 20:56:08 +08:00 |
Lan Hui
|
b3b154a24f
|
简化管理文章与管理用户页面信息。
|
2023-03-26 19:06:04 +08:00 |