Added the possibility to upload a file containing users to a group
This commit is contained in:
@@ -10,6 +10,7 @@ import ExamLoader from "./(admin)/ExamLoader";
|
||||
import {Tab} from "@headlessui/react";
|
||||
import clsx from "clsx";
|
||||
import Lists from "./(admin)/Lists";
|
||||
import BatchCodeGenerator from "./(admin)/BatchCodeGenerator";
|
||||
|
||||
export const getServerSideProps = withIronSessionSsr(({req, res}) => {
|
||||
const user = req.session.user;
|
||||
@@ -58,9 +59,10 @@ export default function Admin() {
|
||||
<ToastContainer />
|
||||
{user && (
|
||||
<Layout user={user} className="gap-6">
|
||||
<section className="w-full flex gap-8">
|
||||
<section className="w-full flex gap-8 justify-between">
|
||||
<ExamLoader />
|
||||
<CodeGenerator />
|
||||
<BatchCodeGenerator />
|
||||
</section>
|
||||
<section className="w-full">
|
||||
<Lists user={user} />
|
||||
|
||||
Reference in New Issue
Block a user