summaryrefslogtreecommitdiff
path: root/static (follow)
Commit message (Collapse)AuthorAgeFilesLines
* style.css: Misc enhancementsRunxi Yu9 days1-29/+25
|
* style.css: Break element specifiers onto its own line when longRunxi Yu9 days1-6/+12
|
* style.css: Rename --boxbg to --boxRunxi Yu9 days1-13/+11
|
* style.css: Add a dark themeRunxi Yu9 days1-8/+28
|
* style.css: Remove poorly-framed comment on --x-contrast colorsRunxi Yu9 days1-5/+0
|
* main.js: Move connect(s) to the event listener directlyRunxi Yu9 days1-6/+2
|
* {config,index}.go, cca.scfg.example, style.css, *.html: Link to sourceRunxi Yu9 days1-14/+1
|
* *: Change license to AGPL-3.0-or-laterRunxi Yu9 days2-24/+25
|
* main.js: Disable boxes when fullRunxi Yu9 days1-0/+8
|
* main.js: Fix the IRC-style message parserRunxi Yu9 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 Yu9 days1-3/+7
|
* main.js: Handle "Y" (course selection approved)Runxi Yu10 days1-0/+4
|
* style.css: Remove styling for preformatted textRunxi Yu10 days1-9/+0
|
* main.js: Handle number updatesRunxi Yu9 days1-0/+3
|
* main.js: Relocate a comment and remove a blank lineRunxi Yu9 days1-2/+1
|
* main.js: Add stub case "R" for course selection rejectedRunxi Yu9 days1-0/+5
|
* main.js: Comments should be /* */ rather than //Runxi Yu9 days1-2/+2
|
* main.js: Remove command "A" (authentication)Runxi Yu9 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 Yu9 days1-0/+4
|
* style.css: Use YK Pao GreenRunxi Yu9 days1-1/+1
|
* style.css: Do not differentiate between odd and even rowsRunxi Yu9 days1-9/+0
| | | | It looks annoying
* index.html, style.css: Use .reading-width instead of sectionRunxi Yu9 days1-1/+1
| | | | Section has semantic meaning and should be accompanied by a heading
* index.html, style.css: #table-of-courses { width: 100%; }Runxi Yu9 days1-0/+4
|
* index.html, style.css: Misc enhancementsRunxi Yu10 days1-2/+8
|
* main.js: Set checkboxes to indeterminate after selectionRunxi Yu10 days1-1/+3
| | | | They should be set to "checked" only when a response to "Y" is received.
* eslint.config.js: Allow globals and reformatRunxi Yu10 days1-19/+29
|
* main.js: event -> _event because it's unusedRunxi Yu11 days1-1/+1
|
* main.js: Fix spacing in array indicesRunxi Yu11 days2-8/+9
|
* main.js, style.css, index.html: Clear notice by JS instead of using noscriptRunxi Yu12 days2-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
|
* 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
|
* *: Basic authentication and templatesRunxi Yu2024-09-072-0/+371
These are imported from FBFP and slightly modified to be specific to YKPS (while not being hard to port to other environments that use APIs that use OAUTH 2.0). Some code is also simplified. Database code still needs an audit, and things are not tested yet.