summaryrefslogtreecommitdiff
path: root/static (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style.css: Revert back to blue themeRunxi Yu4 days1-3/+5
|
* style.css: Misc enhancementsRunxi Yu6 days1-29/+25
|
* style.css: Break element specifiers onto its own line when longRunxi Yu6 days1-6/+12
|
* style.css: Rename --boxbg to --boxRunxi Yu6 days1-13/+11
|
* style.css: Add a dark themeRunxi Yu6 days1-8/+28
|
* style.css: Remove poorly-framed comment on --x-contrast colorsRunxi Yu6 days1-5/+0
|
* main.js: Move connect(s) to the event listener directlyRunxi Yu6 days1-6/+2
|
* {config,index}.go, cca.scfg.example, style.css, *.html: Link to sourceRunxi Yu6 days1-14/+1
|
* *: Change license to AGPL-3.0-or-laterRunxi Yu6 days2-24/+25
|
* main.js: Disable boxes when fullRunxi Yu6 days1-0/+8
|
* main.js: Fix the IRC-style message parserRunxi Yu6 days1-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 Yu6 days1-3/+7
|
* main.js: Handle "Y" (course selection approved)Runxi Yu7 days1-0/+4
|
* style.css: Remove styling for preformatted textRunxi Yu7 days1-9/+0
|
* main.js: Handle number updatesRunxi Yu6 days1-0/+3
|
* main.js: Relocate a comment and remove a blank lineRunxi Yu6 days1-2/+1
|
* main.js: Add stub case "R" for course selection rejectedRunxi Yu6 days1-0/+5
|
* main.js: Comments should be /* */ rather than //Runxi Yu6 days1-2/+2
|
* main.js: Remove command "A" (authentication)Runxi Yu6 days1-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 Yu6 days1-0/+4
|
* style.css: Use YK Pao GreenRunxi Yu7 days1-1/+1
|
* style.css: Do not differentiate between odd and even rowsRunxi Yu7 days1-9/+0
| | | | It looks annoying
* index.html, style.css: Use .reading-width instead of sectionRunxi Yu7 days1-1/+1
| | | | Section has semantic meaning and should be accompanied by a heading
* index.html, style.css: #table-of-courses { width: 100%; }Runxi Yu7 days1-0/+4
|
* index.html, style.css: Misc enhancementsRunxi Yu7 days1-2/+8
|
* main.js: Set checkboxes to indeterminate after selectionRunxi Yu7 days1-1/+3
| | | | They should be set to "checked" only when a response to "Y" is received.
* eslint.config.js: Allow globals and reformatRunxi Yu8 days1-19/+29
|
* main.js: event -> _event because it's unusedRunxi Yu8 days1-1/+1
|
* main.js: Fix spacing in array indicesRunxi Yu8 days2-8/+9
|
* main.js, style.css, index.html: Clear notice by JS instead of using noscriptRunxi Yu9 days2-0/+10
|
* style.css: Fix more regressionsRunxi Yu11 days1-4/+8
|
* index.html, main.js: Display message when connection is closedRunxi Yu11 days2-2/+22
| | | | Also fixed some CSS regressions
* main.js: Omit semicolonsRunxi Yu12 days2-40/+38
|
* main.js, eslint.config.js: Start using eslintRunxi Yu12 days2-41/+149
|
* main.js: Don't indent case in switchRunxi Yu12 days1-28/+28
|
* style.css, index.html: More clean-upRunxi Yu12 days1-116/+106
|
* style.css: Initial clean-upRunxi Yu12 days1-42/+9
|
* ws.go, main.js, index.html: Better WS documentation and structureRunxi Yu2024-09-162-4/+18
|
* ws.go: Split IRC-style messagesRunxi Yu2024-09-091-0/+3
|
* style.css, index.tmpl: Style changesRunxi Yu2024-09-081-0/+6
|
* main.js, index.tmpl: Confirmation buttonRunxi Yu2024-09-081-0/+4
| | | | | In the future we shall the confirmation button to only work when all fields are correctly completed.
* *: Password login stubRunxi Yu2024-09-081-3/+11
|
* main.js: More robust check handlingRunxi Yu2024-09-081-1/+15
|
* main.js: Send message whenever the checkbox changesRunxi Yu2024-09-081-0/+6
|
* main.js: Send HELLO, not BLOOPRunxi Yu2024-09-081-1/+1
|
* main.js: Slight reformat and code commentsRunxi Yu2024-09-081-0/+7
|
* main.js: Break after caseRunxi Yu2024-09-081-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 insertionRunxi Yu2024-09-081-8/+11
|
* *: Basic WebSocket connection may be established nowRunxi Yu2024-09-082-1/+58
|
* sizechk.js: Delete as it's useless for CCAsRunxi Yu2024-09-081-27/+0
|