diff --git a/backend/sql/schema.sql b/backend/sql/schema.sql index 85329c3..107fd6f 100644 --- a/backend/sql/schema.sql +++ b/backend/sql/schema.sql @@ -10,7 +10,8 @@ CREATE TABLE person ( person_dni VARCHAR(8) NOT NULL, person_names VARCHAR(50) NOT NULL, person_paternal_surname VARCHAR(30) NOT NULL, - person_maternal_surname VARCHAR(30) NOT NULL + person_maternal_surname VARCHAR(30) NOT NULL, + person_classroom_id INTEGER DEFAULT -1 ); CREATE TABLE course ( diff --git a/frontend/src/OnlineClassroom/ClassroomUserCreation.tsx b/frontend/src/OnlineClassroom/ClassroomUserCreation.tsx new file mode 100644 index 0000000..d36bcd7 --- /dev/null +++ b/frontend/src/OnlineClassroom/ClassroomUserCreation.tsx @@ -0,0 +1,31 @@ +import { createSignal } from "solid-js"; +import { FilledButton } from "../components/FilledButton"; +import { UserPlusIcon } from "../icons/UserPlusIcon"; +import { MaterialInput } from "../components/MaterialInput"; + +export function ClassroomUserCreation() { + const [email, setEmail] = createSignal("yuli.palo.apaza@gmail.com"); + const [loading, setLoading] = createSignal(false); + + return ( +
+ O cree un nuevo usuario: +
+ + + ++ Vincule un usuario existente: +
+