-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadmin.html
149 lines (126 loc) · 6.17 KB
/
admin.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Admin</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Zenh87qX5JnK2Jl0vWa8Ck2rdkQ2Bzep5IDxbcnCeuOxjzrPF/et3URy9Bv1WTRi" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/css/bootstrap.min.css">
<!-- cdn icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.9.1/font/bootstrap-icons.css">
</head>
<body class="bg-white">
<!-- header -->
<div class="container-fluid bg-warning">
<div class="row">
<div class="col-md">
<header class="py-3">
<h3 class="text-center">Mis primeros auxilitos</h3>
</header>
</div>
</div>
</div>
<div class="container mt-5">
<div class="row justify-content-center">
<div class="col-md-7">
<!--
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="close"></button>
<strong>Ha ocurrido un error</strong>
</div>
<script>
var alertList = document.querySelectorAll('.alert');
alertList.forEach(function (alert)
{
new boostrap.Alert(alert);
})
</script>
-->
<!-- Alertas en vistas -->
<div class="alert alert-danger alert-dismissible fade show" role="alert">
<strong>Error!</strong> Faltan campos por llenar.
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<div class="alert alert-success alert-dismissible fade show" role="alert">
<strong>Datos!</strong> registrados correctamente.
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
<div class="card">
<div class="card-header">
lista de personas
</div>
<div class="p-1">
<table class="table align-middle">
<thead>
<tr>
<th scope="col">#</th>
<th scope="col">Nombre</th>
<th scope="col">Correo</th>
<th scope="col">Fecha De Nacimiento</th>
<th scope="col" colspan="2">Opciones</th>
</tr>
</thead>
<tbody>
<?php
foreach($user as $dato)
{
?>
<tr>
<td scope="row">1</td>
<td>Andres Felipe</td>
<td>felipe@gmail.com</td>
<td>13-diciembre/2003</td>
<td class="text-success"><a href="login.html"><i class="bi bi-pencil-square"></i></a></i></td>
<td class="text-danger"><a href="index.html"><i class="bi bi-trash"></i></a></td>
</tr>
<?php
}
?>
</tbody>
</table>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<div class="card-header">
Ingresar datos:
</div>
<form action="" class="p-4" method="POST">
<div class="mb-3">
<label for="" class="form-label">Nombre: </label>
<input type="text" class="form-control" name="" autofocus>
</div>
<div class="mb-3">
<label for="" class="form-label">Correo: </label>
<input type="text" class="form-control" name="" autofocus>
</div>
<div class="mb-3">
<label for="" class="form-label">Fecha De Nacimiento: </label>
<input type="text" class="form-control" name="" autofocus>
</div>
<div class="d-grid">
<input type="hidden" name="oculto" value="1">
<input type="submit" class="btn btn-primary" value="Registrar">
</div>
</form>
</div>
</div>
</div>
</div>
<footer class="container bg-dark fixed-bottom">
<div class="row">
<div class="cold-md text-light text-center py-3 h3">
Administrador
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-OERcA2EqjJCMA+/3y+gxIOqMEjwtxJY7qPCqsdltbNJuaOe923+mo//f6V8Qbsw3" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.2/dist/js/bootstrap.bundle.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.6.1.js"
integrity="sha256-3zlB5s2uwoUzrXK3BT7AX3FyvojsraNFxCc2vC/7pNI="
crossorigin="anonymous"></script>
</body>
</html>