Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | wsm.go, main.js: Display the user's selected courses on first runv0.1.0 | Runxi Yu | 2024-10-01 | 1 | -0/+4 |
| | | | | | It's done in the WebSocket routines rather than in the template maker because it's relatively easier to write the logic this way. | ||||
* | style.css: Switch the header to a grey theme | Runxi Yu | 2024-10-01 | 1 | -4/+8 |
| | |||||
* | style.css: Revert back to blue theme | Runxi Yu | 2024-10-01 | 1 | -3/+5 |
| | |||||
* | style.css: Misc enhancements | Runxi Yu | 2024-09-30 | 1 | -29/+25 |
| | |||||
* | style.css: Break element specifiers onto its own line when long | Runxi Yu | 2024-09-30 | 1 | -6/+12 |
| | |||||
* | style.css: Rename --boxbg to --box | Runxi Yu | 2024-09-30 | 1 | -13/+11 |
| | |||||
* | style.css: Add a dark theme | Runxi Yu | 2024-09-30 | 1 | -8/+28 |
| | |||||
* | style.css: Remove poorly-framed comment on --x-contrast colors | Runxi Yu | 2024-09-30 | 1 | -5/+0 |
| | |||||
* | main.js: Move connect(s) to the event listener directly | Runxi Yu | 2024-09-30 | 1 | -6/+2 |
| | |||||
* | {config,index}.go, cca.scfg.example, style.css, *.html: Link to source | Runxi Yu | 2024-09-30 | 1 | -14/+1 |
| | |||||
* | *: Change license to AGPL-3.0-or-later | Runxi Yu | 2024-09-30 | 2 | -24/+25 |
| | |||||
* | main.js: Disable boxes when full | Runxi Yu | 2024-09-30 | 1 | -0/+8 |
| | |||||
* | main.js: Fix the IRC-style message parser | Runxi Yu | 2024-09-30 | 1 | -0/+4 |
| | | | | | Previously, if it receives a message like "a b :c", it returns "["a", "b", "c "]" which is erroneous. | ||||
* | index.html, main.js, ws.go: Enhance course selection rejection message | Runxi Yu | 2024-09-30 | 1 | -3/+7 |
| | |||||
* | main.js: Handle "Y" (course selection approved) | Runxi Yu | 2024-09-29 | 1 | -0/+4 |
| | |||||
* | style.css: Remove styling for preformatted text | Runxi Yu | 2024-09-29 | 1 | -9/+0 |
| | |||||
* | main.js: Handle number updates | Runxi Yu | 2024-09-29 | 1 | -0/+3 |
| | |||||
* | main.js: Relocate a comment and remove a blank line | Runxi Yu | 2024-09-29 | 1 | -2/+1 |
| | |||||
* | main.js: Add stub case "R" for course selection rejected | Runxi Yu | 2024-09-29 | 1 | -0/+5 |
| | |||||
* | main.js: Comments should be /* */ rather than // | Runxi Yu | 2024-09-29 | 1 | -2/+2 |
| | |||||
* | main.js: Remove command "A" (authentication) | Runxi Yu | 2024-09-29 | 1 | -3/+0 |
| | | | | | Authentication is handled during the HTTP request that establishes the WebSocket connection since the cookie is passed there anyway. | ||||
* | style.css, index.html: Emit warning when CSS doesn't load | Runxi Yu | 2024-09-29 | 1 | -0/+4 |
| | |||||
* | style.css: Use YK Pao Green | Runxi Yu | 2024-09-29 | 1 | -1/+1 |
| | |||||
* | style.css: Do not differentiate between odd and even rows | Runxi Yu | 2024-09-29 | 1 | -9/+0 |
| | | | | It looks annoying | ||||
* | index.html, style.css: Use .reading-width instead of section | Runxi Yu | 2024-09-29 | 1 | -1/+1 |
| | | | | Section has semantic meaning and should be accompanied by a heading | ||||
* | index.html, style.css: #table-of-courses { width: 100%; } | Runxi Yu | 2024-09-29 | 1 | -0/+4 |
| | |||||
* | index.html, style.css: Misc enhancements | Runxi Yu | 2024-09-29 | 1 | -2/+8 |
| | |||||
* | main.js: Set checkboxes to indeterminate after selection | Runxi Yu | 2024-09-29 | 1 | -1/+3 |
| | | | | They should be set to "checked" only when a response to "Y" is received. | ||||
* | eslint.config.js: Allow globals and reformat | Runxi Yu | 2024-09-28 | 1 | -19/+29 |
| | |||||
* | main.js: event -> _event because it's unused | Runxi Yu | 2024-09-28 | 1 | -1/+1 |
| | |||||
* | main.js: Fix spacing in array indices | Runxi Yu | 2024-09-28 | 2 | -8/+9 |
| | |||||
* | main.js, style.css, index.html: Clear notice by JS instead of using noscript | Runxi Yu | 2024-09-27 | 2 | -0/+10 |
| | |||||
* | style.css: Fix more regressions | Runxi Yu | 2024-09-24 | 1 | -4/+8 |
| | |||||
* | index.html, main.js: Display message when connection is closed | Runxi Yu | 2024-09-24 | 2 | -2/+22 |
| | | | | Also fixed some CSS regressions | ||||
* | main.js: Omit semicolons | Runxi Yu | 2024-09-24 | 2 | -40/+38 |
| | |||||
* | main.js, eslint.config.js: Start using eslint | Runxi Yu | 2024-09-24 | 2 | -41/+149 |
| | |||||
* | main.js: Don't indent case in switch | Runxi Yu | 2024-09-24 | 1 | -28/+28 |
| | |||||
* | style.css, index.html: More clean-up | Runxi Yu | 2024-09-24 | 1 | -116/+106 |
| | |||||
* | style.css: Initial clean-up | Runxi Yu | 2024-09-24 | 1 | -42/+9 |
| | |||||
* | ws.go, main.js, index.html: Better WS documentation and structure | Runxi Yu | 2024-09-16 | 2 | -4/+18 |
| | |||||
* | ws.go: Split IRC-style messages | Runxi Yu | 2024-09-09 | 1 | -0/+3 |
| | |||||
* | style.css, index.tmpl: Style changes | Runxi Yu | 2024-09-08 | 1 | -0/+6 |
| | |||||
* | main.js, index.tmpl: Confirmation button | Runxi Yu | 2024-09-08 | 1 | -0/+4 |
| | | | | | In the future we shall the confirmation button to only work when all fields are correctly completed. | ||||
* | *: Password login stub | Runxi Yu | 2024-09-08 | 1 | -3/+11 |
| | |||||
* | main.js: More robust check handling | Runxi Yu | 2024-09-08 | 1 | -1/+15 |
| | |||||
* | main.js: Send message whenever the checkbox changes | Runxi Yu | 2024-09-08 | 1 | -0/+6 |
| | |||||
* | main.js: Send HELLO, not BLOOP | Runxi Yu | 2024-09-08 | 1 | -1/+1 |
| | |||||
* | main.js: Slight reformat and code comments | Runxi Yu | 2024-09-08 | 1 | -0/+7 |
| | |||||
* | main.js: Break after case | Runxi Yu | 2024-09-08 | 1 | -3/+2 |
| | | | | | Go's switch statements break implicitly so I assumed it was the same in JavaScript, but JavaScript's case is actually just like C's. | ||||
* | main.js: Fix WS url and consistently use automatic semicolon insertion | Runxi Yu | 2024-09-08 | 1 | -8/+11 |
| |