Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | student.html, *.js: {main->student}.js | Runxi Yu | 2024-10-04 | 1 | -0/+0 |
| | |||||
* | bench.go, main.js: Use an HTTPS URL | Runxi Yu | 2024-10-04 | 1 | -1/+1 |
| | | | | | This URL should be configurable in the JS at least, but I'm not sure how I should be filling out JS templates. I'll leave it hardcoded for now. | ||||
* | style.css: Update color scheme | Runxi Yu | 2024-10-03 | 1 | -22/+20 |
| | |||||
* | main.js: Un-disable already-chosen courses during HELLO/HI | Runxi Yu | 2024-10-02 | 1 | -0/+1 |
| | |||||
* | index.html, style.css: Remove ID column because nobody cares | Runxi Yu | 2024-10-02 | 1 | -1/+1 |
| | |||||
* | main.js: Unset indeterminate when receiving N | Runxi Yu | 2024-10-02 | 1 | -0/+1 |
| | |||||
* | main.js: Set checkbox.indeterminate = true when unchecking | Runxi Yu | 2024-10-02 | 1 | -1/+1 |
| | |||||
* | wsm.go, main.js: Use M for number, N for deselect | Runxi Yu | 2024-10-02 | 1 | -0/+3 |
| | | | | | | | Previously both commands used N, and deselection wasn't really implemented on the JavaScript side. It worked and didn't throw an exception but it's technically wrong and the user could see an empty number field for a split second. | ||||
* | style.css: message-box border 1px | Runxi Yu | 2024-10-02 | 1 | -1/+1 |
| | |||||
* | main.js: Only try to mark courses as checked if mar[1] !== ""v0.1.1 | Runxi Yu | 2024-10-01 | 1 | -3/+5 |
| | | | | | Otherwise, users may get something like "TypeError: Cannot set properties of null (setting 'checked')" | ||||
* | main.js: Everything should be after DOMContentLoaded | Runxi Yu | 2024-10-01 | 1 | -99/+101 |
| | | | | | | | This is technically a race condition, and users with extremely slow computers and very bad luck might get exceptions from this. I think. | ||||
* | style.css: Make light header background lighter | Runxi Yu | 2024-10-01 | 1 | -1/+1 |
| | |||||
* | style.css: Remove thick table border | Runxi Yu | 2024-10-01 | 1 | -1/+1 |
| | |||||
* | 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 |
| |