Use the DB instead of a .csv (not working)
This commit is contained in:
@@ -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>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user