Temporary student manager

This commit is contained in:
Clayzxr
2025-01-17 10:40:49 +01:00
parent 7c91f6c69b
commit a24f8b35c2
6 changed files with 235 additions and 21 deletions
@@ -1,17 +0,0 @@
import { Partial } from "$fresh/runtime.ts";
import { RouteConfig } from "$fresh/server.ts";
type ModulesProps = Record<string | number | symbol, never>;
export const config: RouteConfig = {
skipAppWrapper: true,
skipInheritedLayouts: true,
};
export default function Modules(_props: ModulesProps) {
return (
<Partial name="body">
<a href="mobility" f-partial={"notes/partials"}>mobility</a>
</Partial>
);
}
@@ -0,0 +1,20 @@
import { Partial } from "$fresh/runtime.ts";
import { RouteConfig } from "$fresh/server.ts";
import UploadStudents from "../(_islands)/UploadStudents.tsx";
import SaveStudents from "../(_islands)/SaveStudents.tsx";
export const config: RouteConfig = {
skipAppWrapper: true,
skipInheritedLayouts: true,
};
export default function Students() {
return (
<Partial name="body">
<h1>Manage Promotions</h1>
<UploadStudents />
<hr />
<SaveStudents />
</Partial>
);
}