-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathagenda.html
280 lines (248 loc) · 13.4 KB
/
agenda.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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css" />
<link href="node_modules/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="css/agenda.css">
<title>Document</title>
</head>
<body>
<header class="d-flex flex-wrap justify-content-center py-3 mb-4 border-bottom"></header>
<section id="vehiculos">
<h2 class="text-center">Contrata tu servicio</h2>
<div class="row">
<div class="col-md-12 col-lg-6 text-center">
<img class="vehiculos rounded-pill" src="img/motor.gif" height="240" alt="Lavado de Motor" />
<h2>Lavado de Motor</h2>
<p>
El lavado completo de motor tiene un valor de </p>
<span class="valor text-primary"> $5.000</span>
</div><!-- END column1 -->
<div class="col-md-12 col-lg-6 text-center">
<img class="vehiculos rounded-pill" src="img/exterior.gif" height="240" alt="Lavado exterior" />
<h2>Lavado exterior </h2>
<p>
Buen servicio, pongo 4 estrellas solo porque no van a buscar el vehiculo.
</p>
<span class="valor text-primary"> $7.000</span>
</div><!-- END column2 -->
</div>
</section>
<hr class="featurette-divider">
<section>
<div class="d-flex justify-content-center">
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal-registro">
Crear Nuevo Usuario
</button>
</div>
</section>
<div class="containeth2 d-flex justify-content-center rounded-pill">
<h2>Solo usuarios Registrados</h2>
</div>
<section id="vehiculos">
<div class="row">
<div class="col-md-12 col-lg-3 text-center">
<h2>Agregar Vehiculo</h2>
<!-- boton modal vehiculos -->
<br>
<button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#modal-auto">
Agregar vehiculo
</button>
</div><!-- END column1 -->
<div class="col-md-12 col-lg-2 text-center">
<h2> Ver mis vehiculos</h2>
<label>Debe ingresa tu rut sin puntos, guion y numero verificador</label><input class="form-control" type='text' name='rutsearch'
id="rutsearch" />
</div>
<div class="col-md-12 col-lg-6 text-center">
<table class="table table-primary table-info">
<thead>
<tr class="table">
<th scope="col">#</th>
<th scope="col">Tipo</th>
<th scope="col">Marca</th>
<th scope="col">Modelo</th>
<th scope="col">Año</th>
<th scope="col">Revision Tecnica</th>
<th scope="col">Seleccionar</th>
<th scope="col">Borrar</th>
</tr>
</thead>
<tbody id="taba-autos">
</tbody>
</table>
</div><!-- END column2 -->
</div>
</section>
<hr class="featurette-divider">
<div class="containeth2 d-flex justify-content-center rounded-pill">
<h2>Contrata nuestros servicios</h2>
</div>
<section>
<div id="ventata" class="ventata">
<form id='form-venta'>
<div class="form-line">
<div class="">
<label for="id">id</label><input type="text" id="recibID" name="recibid" class="col-8 form-control" required="required" />
<label for="tipo">Tipo</label><input type="text" id="recibtipo" name="recibtipo" class="col-8 form-control" required="required" />
<label for="marca">Marca</label><input type="text" id="recibmarca" name="recibmarca" class="col-8 form-control" required="required" />
<label for="modelo">Modelo</label><input type="text" id="recibmodelo" name="recibmodelo" class="col-8 form-control" required="required" />
<label for="año">año</label><input type="text" id="recibaño" name="recibaño" class="col-8 form-control" required="required" />
<label for="Revision tecnica al dia">Revision tecnica al día</label><input type="text" id="recibrevaldia" name="recibrevaldia" class="col-6 form-control" required="required" />
<label for="fecha">fecha</label><input type="date" id="fecha" name="fecha" class="col-8 form-control" required="required" />
<label>Tipo de Vehiculo</label><select class="form-control" id="hora">
<option value="0" selected>Seleccione...
<option value="08:00">08:00</option>
<option value="09:00">09:00</option>
<option value="10:00">10:00</option>
<option value="11:00">11:00</option>
<option value="12:00">12:00</option>
<option value="13:00">13:00</option>
<option value="14:00">14:00</option>
<option value="15:00">15:00</option>
<option value="16:00">16:00</option>
<option value="17:00">17:00</option>
<option value="18:00">18:00</option>
<option value="19:00">19:00</option>
<option value="20:00">20:00</option>
<option value="21:00">21:00</option>
</select>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="7000" id="lavadoExterior">
<label class="form-check-label" for="lavadoExterior">
Lavado Exterior $7.000.-
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="checkbox" value="5000" id="lavadoMotor">
<label class="form-check-label" for="lavadoMotor">
Lavado Motor $5.000.-
</label>
</div>
<div><button id="btnCalcular" type="button" class="btn btn-primary">Calcular</button>
</div>
</div>
<div class="row justify-content-center">
<div class="col-1">Neto</div>
<div id="neto" class="col-2">$</div>
<div class="col-1">IVA</div>
<div id="iva" class="col-2">$</div>
<div class="col-1">TOTAL</div>
<div id="total" class="col-2">$</div>
</div>
<input class="btn btn-success mt-3 mx-auto" id="btnventa" type='submit'>
</form>
</div>
</section>
<hr class="featurette-divider">
<!-- Modal -->
<footer></footer>
<div class="container">
<div class="modal fade" id="modal-registro" tabindex="-1" aria-labelledby="modal-auto" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Se cliente de AutoLimpio</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form id='form-registrar'>
<div class="form-line">
<h3 class="text-primary"> Registrate</h3>
<label>Rut</label>
<div class="row">
<div class="col-9">
<input type="text" id="rut" name="rut" class="col-2 form-control"
required="required" />
<div id="feedback-rut" class=""> </div>
</div>
<div class="col-1">
<p>-</p>
</div>
<div class="col-2">
<input type="text" class="form-control" id="dv" name="dv" placeholder="k" />
<div id="feedback-dv" class=""> </div>
</div>
</div>
<label>Nombre</label><input class="form-control" type='text' name='Nombreclient'
id="Nombreclient" />
<div id="feedback-nombre" class=""></div>
<label>Apellido</label><input class="form-control" type='text' name='apellidoclient'
id="apellidoclient" />
<div id="feedback-apellido" class=""> </div>
<label>Direccion</label><input class="form-control" type='text' name='dreccionclient'
id="direccionclient" />
<div id="feedback-direccion" class=""> </div>
<label>Comuna</label><select class="form-control" id="comunacar">
<option>Temuco</option>
<option>Traiguén</option>
<option>Cunco</option>
<option>Victoria</option>
<option>Lautaro</option>
</select>
<input class="btn btn-success mt-3 mx-auto" id="btnclient" type='submit'>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-bs-dismiss="modal">Cerrar</button>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="modal fade" id="modal-auto" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Agrega tus vehiculos</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form id='form-auto'>
<div class="form-line">
<h3 class="text-primary"> Agregar mi primer Vehiculo</h3>
<label>Rut <span>(sin puntos, guion y numero verificador)</span> </label>
<input type="text" id="rutsdv" name="rutsdv" class="col-2 form-control" required="required" />
<div id="feedback-rutsdv" class=""> </div>
<label>Tipo de Vehiculo</label><select class="form-control" id="optiontipo">
<option value="0" selected>Seleccione...
<option value="Automóvil">Automóvil</option>
<option value="Furgón">Furgón</option>
<option value="Camión">Camión</option>
<option value="Camioneta">Camioneta </option>
<option value="Moto">Moto</option>
</select>
<label>Marca</label><select class="form-control" id="optionmarca"></select>
<label>Modelo</label><select class="form-control" id="optionmodelo"></select>
<label>Año </label>
<input type="text" id="año" name="año" class="col-2 form-control" required="required" />
<div class="form-check">
<label>¿Tiene la revision tecnica al día?</label> <br>
<input class="form-check-input" type="radio" name="revaldia" id="revaldia" value="si">
<label class="form-check-label" for="revaldia1">Si</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="revaldia" id="revaldia" value="no"
checked>
<label class="form-check-label" for="revaldia2">No</label>
</div>
<input class="btn btn-success mt-3 mx-auto" id="btnauto" type='submit'>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-bs-dismiss="modal">Cerrar</button>
</div>
</div>
</div>
</div>
</div>
<script src="node_modules/bootstrap/dist/js/bootstrap.bundle.js"></script>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="js/script.js"></script>
<script src="js/agenda.js"></script>
</body>
</html>