Commit Graph

175 Commits

Author SHA1 Message Date
Harry Chen d6eaa3a8f2 Bump Gem dependencies, drop github-pages, fix compatibility
Signed-off-by: Harry Chen <i@harrychen.xyz>
2024-04-21 13:17:18 +08:00
Miao Wang 12c22c4b81 migrate to bs5 2024-04-21 13:17:18 +08:00
Shengqi Chen 7b0fc276f4
fix js error in index.es6
Some checks failed
docker-images / multi (push) Has been cancelled
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2024-03-20 17:40:33 +08:00
Shengqi Chen 5c24b04c65
fix syntax error in index.es6
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2024-03-20 17:30:46 +08:00
Shengqi Chen 8f7ecac3b9
feat: disable auto refresh when browser tab is not visible
Signed-off-by: Shengqi Chen <harry-chen@outlook.com>
2024-03-20 17:27:35 +08:00
Miao Wang 9fdd14242f
optimize z-help
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2023-11-01 03:56:43 +08:00
Harry Chen 4fd0d65362
Fix zdocs.es6, preserve spaces in HTML
Signed-off-by: Harry Chen <harry-chen@outlook.com>
2023-10-31 22:51:08 +08:00
Harry Chen aa835aeaae
Fix syntax errors in zdocs script, replace mustache with compressed version
Signed-off-by: Harry Chen <harry-chen@outlook.com>
2023-10-31 20:59:20 +08:00
TechCiel 09c940385d
fix(helpz): exceptions during highlighting 2023-10-31 16:11:31 +08:00
TechCiel 2948c24b4b
help: adapt to mirrorz-help-ng 2023-10-31 02:49:35 +08:00
Miao Wang 1abfee024f
Fix error when isoinfo contains no os distros
Fixes: #399

Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2023-10-16 23:06:55 +08:00
Miao Wang fdb23012c4
njs: change responseBody to responseText
Because of the deprecation of responseBody

Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2023-10-07 21:00:09 +08:00
Miao Wang c31baf0da9 Merge branch 'pr-386' 2023-08-21 15:55:55 +08:00
各務原 なでしこ 40e2b65715 Focus on the searchbox when "/" key is pressed
按下"/"键后聚焦搜索框
This commit addresses and closes #371
本提交解决并关闭#371
2023-07-27 00:01:45 -07:00
Zenithal d688f4c644
help: redirect remove/disbled mirror to mirrorz help 2023-04-19 18:49:23 +00:00
Zenithal db4c569549
help: impl sudoE
Ref to https://github.com/tuna/issues/issues/1717
2023-04-19 18:17:06 +00:00
ZenithalHourlyRate 6e97a65364
help: special url for .git mirror
Ref to 7a6bb5723a/options.js\#L57
Closes https://github.com/tuna/issues/issues/1703
2023-03-24 21:35:49 +08:00
Zenithal 1dcbc3c125
help: highlight section 2023-03-06 17:56:09 +08:00
ZenithalHourlyRate d306488f37
help: fix dark mode select 2023-03-01 16:24:40 +08:00
ZenithalHourlyRate 37c2ed5eef
help: highlight generated code
highlight.js configured with default + properties + powershell
css adapted from our rogue theme
2023-03-01 15:59:43 +08:00
ZenithalHourlyRate 838cf7c830 Adapt to new markup format 2023-02-28 00:39:22 +08:00
Zenithal e8f279712c
remove browser-update 2022-10-22 00:51:34 +08:00
ZenithalHourlyRate 82bf1987cf
options: cleanup
Ref to 6fdc2990d
2021-10-26 00:16:32 +08:00
Harry Chen 0cb7ea0044
Fix typo
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-13 23:49:23 +08:00
Miao Wang f8ed575e2a diskusgae: show multiple bars 2021-08-13 19:09:32 +08:00
Miao Wang 7145f21e8d
njs: update export grammar to support js_import
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-08-06 00:20:24 +08:00
Harry Chen a20b5f5027
Add rss feed
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-03 21:39:30 +08:00
Harry Chen 919988126d
Add open graph metadata in header
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-08-03 20:35:30 +08:00
Miao Wang 5acedcfc79
fontawsome: remove font and use svg
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-06-23 23:48:55 +08:00
Miao Wang 045ff5c292 blank at eol clean 2021-06-23 15:16:03 +08:00
Miao Wang 7b605e79e0 stylesheets cleanup 2021-06-23 15:02:12 +08:00
Miao Wang f280bd8ffd
change megvii logo name, busting cache
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-06-23 01:17:51 +08:00
Miao Wang bb71950689
footer: add huawei logo
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-06-23 01:06:00 +08:00
Miao Wang 1b1e2f6b96
expose options.json
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-02-19 21:20:46 +08:00
Miao Wang 60c700ebfd
Merge branch 'browser-update' into master
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-02-11 00:33:49 +08:00
Zenithal 7807f6312d
Revert to default color of buttons in browser update prompt 2021-02-11 00:15:08 +08:00
Zenithal cf71168e3e
Add style for browser-update prompt
Co-authored-by: Liu Xiaoyi <circuitcoder0@gmail.com>
2021-02-10 17:17:22 +08:00
Harry Chen 01b63d6f3a
Show github release icon in mirror list
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-02-02 13:53:30 +08:00
Harry Chen 58e807872d
Revert "Show github release icon in mirror list"
This reverts commit 23e15ce321.
2021-02-02 13:51:37 +08:00
Harry Chen 23e15ce321
Show github release icon in mirror list
Signed-off-by: Harry Chen <i@harrychen.xyz>
2021-02-02 13:49:28 +08:00
Miao Wang 12c52dc36e
style: fix code highlight css in dark mode
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2021-01-25 11:09:24 +08:00
Miao Wang 6cad295747 add styles for emergency page 2020-10-16 16:18:27 +08:00
Harry Chen 6fdc2990d1 Add force_show_help_mirrors
Signed-off-by: Harry Chen <i@harrychen.xyz>
2020-09-19 00:39:54 +08:00
Miao Wang 21e990834b
hide mail address
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-08-31 12:18:51 +08:00
Miao Wang a0c79c3787
Add sponsor
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-08-11 00:34:14 +08:00
Jiajie Chen 898ba05bfc Hide tab in iso modal when there are no items 2020-08-07 16:22:20 +08:00
Miao Wang 87f441e098
legecy-index: support rendering unlisted mirrors
Signed-off-by: Miao Wang <shankerwangmiao@gmail.com>
2020-07-30 19:24:27 +08:00
Peiran Yao c81dfd31ed fix unlisted mirror help 404 2020-07-15 17:15:52 -06:00
Peiran Yao fa858ac5fa redirect unavailable help pages to 404 2020-06-23 15:12:47 -06:00
Peiran Yao 030554281d remove unavailable help items 2020-06-23 14:59:25 -06:00