summaryrefslogtreecommitdiff
path: root/tmpl (follow)
Commit message (Collapse)AuthorAgeFilesLines
* *.go, tmpl/staff.html: Allow staff to export choicesRunxi Yu2024-10-091-1/+1
| | | | Implements: https://todo.sr.ht/~runxiyu/cca/3
* staff.html: Update from students.html and only display link to /exportRunxi Yu2024-10-091-112/+5
|
* student.html: Use separate columns for Selected and MaxRunxi Yu2024-10-091-2/+9
|
* student.{html,js}: Deselect courses in the same group when selectingRunxi Yu2024-10-091-5/+1
|
* student.html: Slightly better looks around tickboxRunxi Yu2024-10-091-8/+10
|
* {courses,index}.go, student.html, style.css: Group by course groupRunxi Yu2024-10-091-1/+4
|
* student.html: Simplify JSRunxi Yu2024-10-091-2/+1
|
* index.go, {login,student}.html: Use structs rather than maps for tmplRunxi Yu2024-10-092-5/+5
|
* index.go, login.html: Improve looks of session expired messageRunxi Yu2024-10-061-3/+3
|
* *: Overhaul structure again and embed everythingRunxi Yu2024-10-064-27/+51
| | | | | | | | - Remove sub-Makefiles; recursive make is annoying - Just use one top-level Makefile that builds everything - Embed templates and minified static resources into the binary - Embed all compiled documentation into the binary and serve - Embed all source into the binary and serve
* *: Further restructuringRunxi Yu2024-10-051-0/+15
|
* staff.html: Initial staff pageRunxi Yu2024-10-041-0/+149
| | | | | It's currently a copy of the student page with a few words changed and no checkboxes
* student.html, *.js: {main->student}.jsRunxi Yu2024-10-041-1/+1
|
* student.html: {{ .user.Name }} instead of Home in titleRunxi Yu2024-10-041-1/+1
|
* student.html: Connection closed could be cause by a login elsewhereRunxi Yu2024-10-031-0/+3
|
* README.md, student.html: Correct spellingRunxi Yu2024-10-031-1/+1
|
* student.html: Update error messages to be a bit more friendlyRunxi Yu2024-10-021-6/+15
|
* index.go, *.html: index->student, index_login->loginRunxi Yu2024-10-022-2/+2
| | | | | | | The new names are a bit more descriptive in what each do, and I intend to add an "admin" template in the future. This has no user-facing effects.
* index{,_login}.html: Improve accessibilityRunxi Yu2024-10-022-2/+4
|
* index.html, style.css: Remove ID column because nobody caresRunxi Yu2024-10-021-4/+2
|
* {main,pw}.go, Makefile, index_login.html: Remove password auth stubRunxi Yu2024-10-011-38/+0
| | | | | | | | | | I don't think password authentication is really useful, since Microsoft Entra ID is the "proper" way of doing authentication in our school system and there's just little reason to have a password login. I previously wanted to use password authentication for stress testing, but stress testing really could just use completely fake authentication and there's no need for any password whatsoever.
* index.html: Disable checkbox initially when .Selected >= MaxRunxi Yu2024-09-301-0/+4
|
* {config,index}.go, cca.scfg.example, style.css, *.html: Link to sourceRunxi Yu2024-09-302-0/+6
|
* index.html, main.js, ws.go: Enhance course selection rejection messageRunxi Yu2024-09-301-1/+1
|
* index.html: Remind user to report connection closed errorsRunxi Yu2024-09-291-0/+3
|
* style.css, index.html: Emit warning when CSS doesn't loadRunxi Yu2024-09-291-0/+3
|
* index.html: Use div instead of main to be semantically appropriateRunxi Yu2024-09-291-7/+5
|
* index.html: Remove erroneous comma in tag attributesRunxi Yu2024-09-291-1/+1
|
* index.html, style.css: Use .reading-width instead of sectionRunxi Yu2024-09-291-2/+2
| | | | Section has semantic meaning and should be accompanied by a heading
* index.html: acronym -> abbrRunxi Yu2024-09-291-4/+1
| | | | It seems deprecated: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/acronym
* index.html, style.css: #table-of-courses { width: 100%; }Runxi Yu2024-09-291-1/+1
|
* index.html, style.css: Misc enhancementsRunxi Yu2024-09-291-17/+16
|
* index.html: Remove "course.Confirmed" as it was removed from structRunxi Yu2024-09-291-6/+5
|
* main.js, style.css, index.html: Clear notice by JS instead of using noscriptRunxi Yu2024-09-271-20/+13
|
* index.html, main.js: Display message when connection is closedRunxi Yu2024-09-241-0/+19
| | | | Also fixed some CSS regressions
* index.html: Fix template to match the new "ID" rather than "Id"Runxi Yu2024-09-241-5/+5
|
* *.go: LintingRunxi Yu2024-09-241-1/+1
|
* style.css, index.html: More clean-upRunxi Yu2024-09-241-20/+0
|
* index.html: Add box styling to the WebSocket warningRunxi Yu2024-09-171-1/+1
|
* ws.go, main.js, index.html: Better WS documentation and structureRunxi Yu2024-09-161-62/+83
|
* index{,_login}.tmpl: Rename .tmpl to .htmlRunxi Yu2024-09-092-0/+0
|
* index.tmpl: Add git.rx and GitHub URLRunxi Yu2024-09-081-1/+1
|
* style.css, index.tmpl: Style changesRunxi Yu2024-09-081-2/+2
|
* main.js, index.tmpl: Confirmation buttonRunxi Yu2024-09-081-0/+13
| | | | | In the future we shall the confirmation button to only work when all fields are correctly completed.
* index.tmpl: Place the search bar inside the tableRunxi Yu2024-09-081-3/+5
|
* *: Password login stubRunxi Yu2024-09-081-1/+36
|
* index.tmpl: Rename the "Course" field into "Name", in the HTMLRunxi Yu2024-09-081-1/+1
|
* index.tmpl: Add .coursecheckbox to checkboxesRunxi Yu2024-09-081-1/+1
|
* index.tmpl: Search barRunxi Yu2024-09-081-3/+18
|
* index.tmpl: Checkbox should not have {{.Id}} as textRunxi Yu2024-09-081-1/+1
|