2020-06-17 01:02:47 +02:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
|
|
<title>Gestión de usuarios</title>
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="stylesheet" href="../../static/style.css" type="text/css" media="screen" />
|
2020-06-18 08:12:23 +02:00
|
|
|
<script src="../validate_user.js"></script>
|
2020-06-17 01:02:47 +02:00
|
|
|
</head>
|
|
|
|
<body>
|
2020-06-18 13:25:00 +02:00
|
|
|
<header>
|
|
|
|
<nav>
|
|
|
|
<ul class="navbar-left">
|
|
|
|
<li class="list"><a href="index.php">Página principal</a></li>
|
|
|
|
<li class="list"><a href="user.php">Usuarios</a></li>
|
|
|
|
<li class="list"><a href="patient.php">Pacientes</a></li>
|
|
|
|
<li class="list"><a href="appointment.php">Citas</a></li>
|
|
|
|
<li class="list"><a href="holiday.php">Vacaciones</a></li>
|
|
|
|
<li class="list"><a href="report.php">Informes</a></li>
|
|
|
|
<li class="list"><a href="login.php">Login</a></li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</header>
|
2020-06-18 08:12:23 +02:00
|
|
|
<form name="create_form" method="post" action="../user_management.php" onsubmit="return validateUser();">
|
2020-06-17 01:02:47 +02:00
|
|
|
<div class="input-group">
|
|
|
|
<label>Nombre</label>
|
|
|
|
<input type="text" name="nombre" value="">
|
|
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
|
|
<label>usuario</label>
|
|
|
|
<input type="text" name="usuario" value="">
|
|
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
|
|
<label>contraseña</label>
|
|
|
|
<input type="password" name="contraseña" value="">
|
|
|
|
</div>
|
|
|
|
<div class="select-input">
|
|
|
|
<label>rol</label>
|
|
|
|
<select id="rol" name="rol">
|
|
|
|
<option value="1">administrativo</option>
|
|
|
|
<option value="2">médico</option>
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
<div class="input-group">
|
|
|
|
<label>correo</label>
|
|
|
|
<input type="text" name="correo" value="">
|
|
|
|
</div>
|
|
|
|
<div class="input-group">
|
2020-06-17 04:10:09 +02:00
|
|
|
<button class="btn" type="submit" name="create" >Guardar</button>
|
2020-06-17 01:02:47 +02:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</body>
|