Use the DB instead of a .csv (not working)

This commit is contained in:
Clayzxr
2025-01-17 15:37:27 +01:00
parent 416aad06ea
commit 6df75e0604
11 changed files with 91 additions and 188 deletions
+7 -7
View File
@@ -1,20 +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";
//import ConsultStudents from "../(_islands)/ConsultStudents.tsx";
//import EditStudents from "../(_islands)/EditStudents.tsx";
export const config: RouteConfig = {
skipAppWrapper: true,
skipInheritedLayouts: true,
skipAppWrapper: false,
skipInheritedLayouts: false,
};
export default function Students() {
return (
<Partial name="body">
<section id="students-page">
<h1>Manage Promotions</h1>
<UploadStudents />
<hr />
<SaveStudents />
</Partial>
</section>
);
}