summaryrefslogtreecommitdiff
path: root/static (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style.css: Update color schemeRunxi Yu13 days1-22/+20
|
* main.js: Un-disable already-chosen courses during HELLO/HIRunxi Yu2024-10-021-0/+1
|
* index.html, style.css: Remove ID column because nobody caresRunxi Yu2024-10-021-1/+1
|
* main.js: Unset indeterminate when receiving NRunxi Yu2024-10-021-0/+1
|
* main.js: Set checkbox.indeterminate = true when uncheckingRunxi Yu2024-10-021-1/+1
|
* wsm.go, main.js: Use M for number, N for deselectRunxi Yu2024-10-021-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 1pxRunxi Yu2024-10-021-1/+1
|
* main.js: Only try to mark courses as checked if mar[1] !== ""v0.1.1Runxi Yu2024-10-011-3/+5
| | | | | Otherwise, users may get something like "TypeError: Cannot set properties of null (setting 'checked')"
* main.js: Everything should be after DOMContentLoadedRunxi Yu2024-10-011-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 lighterRunxi Yu2024-10-011-1/+1
|
* style.css: Remove thick table borderRunxi Yu2024-10-011-1/+1
|
* wsm.go, main.js: Display the user's selected courses on first runv0.1.0Runxi Yu2024-10-011-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 themeRunxi Yu2024-10-011-4/+8
|
* style.css: Revert back to blue themeRunxi Yu2024-10-011-3/+5
|
* style.css: Misc enhancementsRunxi Yu2024-09-301-29/+25
|
* style.css: Break element specifiers onto its own line when longRunxi Yu2024-09-301-6/+12
|
* style.css: Rename --boxbg to --boxRunxi Yu2024-09-301-13/+11
|
* style.css: Add a dark themeRunxi Yu2024-09-301-8/+28
|
* style.css: Remove poorly-framed comment on --x-contrast colorsRunxi Yu2024-09-301-5/+0
|
* main.js: Move connect(s) to the event listener directlyRunxi Yu2024-09-301-6/+2
|
* {config,index}.go, cca.scfg.example, style.css, *.html: Link to sourceRunxi Yu2024-09-301-14/+1
|
* *: Change license to AGPL-3.0-or-laterRunxi Yu2024-09-302-24/+25
|
* main.js: Disable boxes when fullRunxi Yu2024-09-301-0/+8
|
* main.js: Fix the IRC-style message parserRunxi Yu2024-09-301-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 messageRunxi Yu2024-09-301-3/+7
|
* main.js: Handle "Y" (course selection approved)Runxi Yu2024-09-291-0/+4
|
* style.css: Remove styling for preformatted textRunxi Yu2024-09-291-9/+0
|
* main.js: Handle number updatesRunxi Yu2024-09-291-0/+3
|
* main.js: Relocate a comment and remove a blank lineRunxi Yu2024-09-291-2/+1
|
* main.js: Add stub case "R" for course selection rejectedRunxi Yu2024-09-291-0/+5
|
* main.js: Comments should be /* */ rather than //Runxi Yu2024-09-291-2/+2
|
* main.js: Remove command "A" (authentication)Runxi Yu2024-09-291-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 loadRunxi Yu2024-09-291-0/+4
|
* style.css: Use YK Pao GreenRunxi Yu2024-09-291-1/+1
|
* style.css: Do not differentiate between odd and even rowsRunxi Yu2024-09-291-9/+0
| | | | It looks annoying
* index.html, style.css: Use .reading-width instead of sectionRunxi Yu2024-09-291-1/+1
| | | | Section has semantic meaning and should be accompanied by a heading
* index.html, style.css: #table-of-courses { width: 100%; }Runxi Yu2024-09-291-0/+4
|
* index.html, style.css: Misc enhancementsRunxi Yu2024-09-291-2/+8
|
* main.js: Set checkboxes to indeterminate after selectionRunxi Yu2024-09-291-1/+3
| | | | They should be set to "checked" only when a response to "Y" is received.
* eslint.config.js: Allow globals and reformatRunxi Yu2024-09-281-19/+29
|
* main.js: event -> _event because it's unusedRunxi Yu2024-09-281-1/+1
|
* main.js: Fix spacing in array indicesRunxi Yu2024-09-282-8/+9
|
* main.js, style.css, index.html: Clear notice by JS instead of using noscriptRunxi Yu2024-09-272-0/+10
|
* style.css: Fix more regressionsRunxi Yu2024-09-241-4/+8
|
* index.html, main.js: Display message when connection is closedRunxi Yu2024-09-242-2/+22
| | | | Also fixed some CSS regressions
* main.js: Omit semicolonsRunxi Yu2024-09-242-40/+38
|
* main.js, eslint.config.js: Start using eslintRunxi Yu2024-09-242-41/+149
|
* main.js: Don't indent case in switchRunxi Yu2024-09-241-28/+28
|
* style.css, index.html: More clean-upRunxi Yu2024-09-241-116/+106
|
* style.css: Initial clean-upRunxi Yu2024-09-241-42/+9
|