9a4c6863d1
- Add stages module with full CRUD API and admin overview island - Add mobility overview island (Liste, Kanban, Detail CRUD views) - Add contract PDF upload/download endpoints for mobilites - Add light/dark theme toggle in header - Add employeeOnly flag to hide entire modules from students (admin, students, stages) - Add read-only GET endpoints for modules/ues/ue-modules in notes module - Add [slug].tsx catch-all routes for direct URL navigation - Replace old mobility table with mobilites + stages schema (migration 0004) - Allow students to create mobilites and upload contracts - Redirect authenticated users from / to /apps catalog
22 lines
621 B
TypeScript
22 lines
621 B
TypeScript
import UploadStudents from "../../(_islands)/UploadStudents.tsx";
|
|
import {
|
|
getPartialsConfig,
|
|
makePartials,
|
|
} from "$root/defaults/makePartials.tsx";
|
|
import { FreshContext } from "$fresh/server.ts";
|
|
import { State } from "$root/defaults/interfaces.ts";
|
|
|
|
// deno-lint-ignore require-await
|
|
async function Students(_request: Request, _context: FreshContext<State>) {
|
|
return (
|
|
<div class="page-content">
|
|
<h2 class="page-title">Importer des Élèves</h2>
|
|
<UploadStudents />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export { Students as Page };
|
|
export const config = getPartialsConfig();
|
|
export default makePartials(Students);
|