cambios
This commit is contained in:
@@ -2,15 +2,11 @@ import RegisterAlta from "@/app/Components/Alta/registerAlta";
|
||||
|
||||
import "./style.css";
|
||||
|
||||
export default async function Page(props: {
|
||||
searchParams?: Promise<{
|
||||
}>;
|
||||
}) {
|
||||
export default async function Page(props: { searchParams?: Promise<{}> }) {
|
||||
const params = await props.searchParams;
|
||||
return (
|
||||
<section className="containerSection">
|
||||
|
||||
<h1 className="title">ALTA</h1>
|
||||
<h1 className="title">ALTA USUARIO</h1>
|
||||
|
||||
<RegisterAlta />
|
||||
</section>
|
||||
|
||||
@@ -65,6 +65,11 @@ export default async function Page(props: {
|
||||
Credito={student.credito}
|
||||
/>
|
||||
)}
|
||||
{!student && numAcount && (
|
||||
<button className="button buttonSearch">
|
||||
Registrar Estudiante
|
||||
</button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{student && <Table headers={headers} data={data} />}
|
||||
@@ -72,6 +77,9 @@ export default async function Page(props: {
|
||||
|
||||
{student && (
|
||||
<>
|
||||
<button className="button buttonSearch">
|
||||
Restablecer contraseña
|
||||
</button>
|
||||
<section className="inscripcion">
|
||||
<Selection />
|
||||
|
||||
|
||||
@@ -76,6 +76,28 @@ export default function RegisterAlta() {
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="containerForm">
|
||||
<label className="label">Email</label>
|
||||
<input
|
||||
type="text"
|
||||
//value={user}
|
||||
//onChange={(e) => setUser(e.target.value)}
|
||||
placeholder="Coloca el email"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="containerForm">
|
||||
<label htmlFor="gender" className="label">
|
||||
Género
|
||||
</label>
|
||||
<select id="gender" name="gender">
|
||||
<option value="">Selecciona Género</option>
|
||||
<option value="masculino">Masculino</option>
|
||||
<option value="femenino">Femenino</option>
|
||||
<option value="otro">Otro</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div className="containerForm">
|
||||
<label className="label">Carrera</label>
|
||||
<select value={major} onChange={(e) => setMajor(e.target.value)}>
|
||||
@@ -88,7 +110,8 @@ export default function RegisterAlta() {
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<button className="button buttonSearch">registrar</button>
|
||||
<button className="button buttonSearch">Guardar</button>
|
||||
<button className="button buttonSearch">Inscripcion</button>
|
||||
</form>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -129,7 +129,7 @@ function Receipt({ numAcount }: ReceiptsProps) {
|
||||
</div>
|
||||
|
||||
<div className="containerButton">
|
||||
<button className="button buttonSearch">Guardar</button>
|
||||
<button className="button buttonSearch">Agregar tiempo</button>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
@@ -24,16 +24,13 @@ function BarNavigation() {
|
||||
|
||||
<ul className={openMenu ? "active" : ""}>
|
||||
<li className={`subMenu ${openSubMenu === 0 ? "open" : ""}`}>
|
||||
<span onClick={() => toggleSubMenu(0)}>Inscripción</span>
|
||||
<span onClick={() => toggleSubMenu(0)}>Inscripciónes</span>
|
||||
<ul className="containerLinks" onClick={toggleMenu}>
|
||||
<Link href="/Alta" className="links">
|
||||
<li>Alta</li>
|
||||
</Link>
|
||||
<Link href="/AgregarTiempo" className="links">
|
||||
<li>Agregar Tiempo</li>
|
||||
</Link>
|
||||
<Link href="/Inscripcion" className="links">
|
||||
<li>Inscripción</li>
|
||||
<li>Inscripción Usuario</li>
|
||||
</Link>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user