feat(fresh.gen.ts): add routes for notes edition, recap and island recap
feat(notes): add NoteRecap island component for student grade recap feat: add adjust controls to UI component Add placeholder, value binding, onInput handler, apply/reset buttons, and display of adjusted value. feat(notes): add edition and recap pages, update styles and links
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { FreshContext } from "$fresh/server.ts";
|
||||
import { AuthenticatedState } from "$root/defaults/interfaces.ts";
|
||||
import NoteRecap from "../(_islands)/NoteRecap.tsx";
|
||||
|
||||
// deno-lint-ignore require-await
|
||||
export default async function EditionPage(
|
||||
_request: Request,
|
||||
context: FreshContext<AuthenticatedState>,
|
||||
) {
|
||||
const numEtud = Number(context.params.numEtud);
|
||||
return <NoteRecap numEtud={numEtud} />;
|
||||
}
|
||||
Reference in New Issue
Block a user