Commit Graph
89 Commits
Author SHA1 Message Date
lifeadventurer 00c38cc608 chore: remove unused color in styles.css 2023-12-23 23:28:57 +08:00
lifeadventurer b4c97f5370 fix: button can't display well in small screen 2023-12-23 23:11:50 +08:00
lifeadventurer 4eb05b8e46 feat: add dark mode and close #10 2023-12-23 22:57:59 +08:00
lifeadventurer ad1466bcb1 feat: replace color variables by class
including good fortune, bad-fortune, middle-fortune, desc, date-color
2023-12-23 17:04:45 +08:00
lifeadventurer ddcede0143 feat: add colors to :root 2023-12-23 15:47:25 +08:00
lifeadventurer c818817a3f feat: add dark mode for fortune generator 2023-12-23 14:00:47 +08:00
lifeadventurer e32ed07a61 change all logos to rounded including web icon 2023-12-22 00:52:39 +08:00
tobiichi3227andLifeAdventurer b8ba0f8206 fix: not pre cache static files
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-07 23:29:23 +08:00
187b8ca54f docs: organize the comments
Co-authored-by: tobiichi3227 <cz1346219@gmail.com>
2023-12-07 23:13:16 +08:00
tobiichi3227andLifeAdventurer f76d2bf880 fix: offline cache failed
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-07 22:55:54 +08:00
tobiichi3227 d15d9b30d3 feat: add offline status support 2023-12-07 20:59:34 +08:00
tobiichi3227andLifeAdventurer d6017207c6 pref: remove unused js library
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-07 19:35:49 +08:00
tobiichi3227 4934ca5119 fix: cannot create files in windows
sorry moon
2023-12-06 22:02:13 +08:00
tobiichi3227andLifeAdventurer a13092817d feat: add pwa support
Co-authored-by: LifeAdventurer <life0adventurer@gmail.com>
2023-12-06 21:32:54 +08:00
lifeadventurer d9677aaec8 impr(jquery): save jquery search to a variable to improve performance 2023-11-28 00:19:07 +08:00
lifeadventurer f8cb638a02 fix: special event display error 2023-11-27 23:42:01 +08:00
lifeadventurer eda48aa902 impr: add new special events 2023-11-25 22:31:41 +08:00
lifeadventurer 4ae5d372cb refactor: jquery switch page with show and hide
use two div to group the init page and result page to increase readability
2023-11-25 22:23:10 +08:00
lifeadventurer b6375dadeb fix: double span cause display error 2023-11-25 22:05:39 +08:00
lifeadventurer 462c6363f6 fix: all bold text <b> tag error 2023-11-25 18:18:02 +08:00
lifeadventurer 48df3a8652 feat: increase the convenience of adding new special events
When an event in special.json is empty, a general event will be used instead
2023-11-25 18:09:40 +08:00
lifeadventurer 0000d58be3 fix: get rid of the time difference decimal 2023-11-25 17:24:25 +08:00
lifeadventurer ae558ebdf4 add icon for all index.html 2023-11-23 22:49:26 +08:00
lifeadventurer 35fb70f833 fix: special event display error 2023-11-23 12:25:40 +08:00
lifeadventurer d855462e90 refactor the colors of initial page 2023-11-23 12:20:39 +08:00
lifeadventurer 878d5eb1b0 fix: special event date error 2023-11-23 11:37:53 +08:00
lifeadventurer ded1f61a28 fix: jquery button disable bug 2023-11-23 11:15:06 +08:00
lifeadventurer 79b0c3517d turn button to disabled after click 2023-11-23 11:06:58 +08:00
lifeadventurer 042b5c6826 update special events 2023-11-23 10:54:32 +08:00
lifeadventurer ed520918fc adjust all bold text 2023-11-22 23:05:19 +08:00
lifeadventurer 4aed319463 change toggle to show to fix the disappear bug cause by double click 2023-11-21 23:28:43 +08:00
lifeadventurer 30b6f4e2ac adjust hashDate a bit 2023-11-21 12:46:20 +08:00
lifeadventurer 6d2bfa3d81 fix: hash bug 2023-11-21 11:48:09 +08:00
lifeadventurer 4b817eb68f change the calculate days difference process to a function 2023-11-20 23:59:58 +08:00
lifeadventurer 0373c47e8a hide the elements on show status page and toggle them to appear with jquery 2023-11-20 23:33:01 +08:00
lifeadventurer ea01ba722f add reminder of upcoming special events 2023-11-20 23:28:56 +08:00
lifeadventurer ffb154c4bb turn event bar function to arrow function and add comments 2023-11-20 23:04:01 +08:00
lifeadventurer c436677289 update jquery version to v3.7.1 2023-11-20 22:55:31 +08:00
lifeadventurer 4ecce054aa fix: status_index bug 2023-11-20 22:49:39 +08:00
lifeadventurer 3f7aa2ca9f add row for appearing the special event in the init page 2023-11-20 22:48:20 +08:00
lifeadventurer 6d226d73c6 update special events 2023-11-20 20:58:45 +08:00
lifeadventurer e6b21da01a update index.html 2023-11-20 17:50:40 +08:00
lifeadventurer ff1d1171ee fix: fortune status hash bug 2023-11-20 17:48:20 +08:00
lifeadventurer af747b1bc3 adjust fortune status and exchange the colors with a const variable 2023-11-19 20:22:36 +08:00
lifeadventurer d31e56da70 refactor: jquery part and reduce code length 2023-11-19 15:36:48 +08:00
lifeadventurer 334a6afaf2 replace variables with shorter ones and also improve some readability 2023-11-19 15:30:43 +08:00
lifeadventurer 3f46197fb3 use functions to refactor span bar to increase readability and easily adjustment 2023-11-19 15:12:25 +08:00
tobiichi3227andGitHub 45dafb468c Enhance ip parse 2023-11-19 00:39:12 +08:00
lifeadventurer 7363d36570 fix: ip string out of bounds bug 2023-11-19 00:35:22 +08:00
lifeadventurer aeed959391 lint fortune.js and add comments also fix a bug for prevent out of bounds 2023-11-18 14:01:38 +08:00