2c5e4ebf11
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
13 lines
409 B
TypeScript
13 lines
409 B
TypeScript
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 RecapPage(
|
|
_request: Request,
|
|
context: FreshContext<AuthenticatedState>,
|
|
) {
|
|
const numEtud = Number(context.params.numEtud);
|
|
return <NoteRecap numEtud={numEtud} />;
|
|
}
|