-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
120 lines (113 loc) · 5.4 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<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">
<title>FORMATO DE PASILLO</title>
<link rel="shortcut icon" href="./logos/SNR.png">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<script src="jspdf.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/signature_pad@4.0.0/dist/signature_pad.umd.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.0.272/jspdf.debug.js"></script>
<script src="app.js"></script>
</head>
<style>
footer {
background-color: #333;
color: #fff;
text-align: center;
padding: 20px;
}
.rights {
margin-top: 10px;
font-size: 12px;
}
</style>
<body>
<header>
<nav class="navbar navbar-light d-md-flex ml-md-5 justify-content-around" style="background-color: #eaeaeb;">
<div class="d-md-flex">
<div>
<img src="./logos/SNR.png">
</div>
<div class="d-flex justify-content-center" style="margin: 40px;">
<h1>FORMATO DE PASILLO</h1>
</div>
<div>
<img src="./logos/SNR2.png">
</div>
</div>
</nav>
</header>
<div class="container mt-4">
<div class="row">
<div class="col-md-8 offset-md-2">
<hr>
<form id="form">
<div class="row mb-3">
<h3>INFORMACION DEL TECNICO</h3>
<div class="col-md-6">
<label for="nombre" class="form-label">Nombre del Tecnico</label>
<input type="text" class="form-control" id="nombreTec">
</div>
<div class="col-md-6">
<label for="nombre" class="form-label">Fecha de atencion</label>
<input type="date" class="form-control" id="fecha">
<label for="tipoServicio" class="form-label">Tipo de servicio</label>
<select class="form-select" id="tipoServicio">
<option value="0">Seleccione una opcion</option>
<option value="Incidente">Incidente</option>
<option value="Solicitud">Solicitud</option>
</select>
</div>
</div>
<div class="row mb-3">
<h3>INFORMACION DEL USUARIO</h3>
<div class="col-md-6">
<label for="direccion" class="form-label">Nombre del usuario</label>
<input type="text" class="form-control" id="nombreU">
</div>
<div class="col-md-6">
<label for="telefono" class="form-label">Dependencia</label>
<input type="text" class="form-control" id="dependencia">
</div>
</div>
<div class="row mb-3">
<div class="col-md-6">
<label for="direccion" class="form-label">Ticket</label>
<input type="text" class="form-control" id="ticket">
</div>
<div class="col-md-6">
<label for="telefono" class="form-label">Placa</label>
<input type="text" class="form-control" id="placa">
</div>
</div>
<div class="row mb-3">
<h4>Detalle del caso</h4>
<textarea class="form-control" aria-label="With textarea" id="detalle"></textarea>
</div>
<span class="d-block pb-2">Firma del Tecnico</span>
<div class="mb-2" style="width: 100%; height: 200px;">
<canvas class="signaturePad" name="signaturePad1" id="signaturePad1"
style="border: 1px dashed red; width: 100%; height: 200px;"></canvas>
</div>
<span class="d-block pb-2">Firma del Usuario</span>
<div class="mb-2" style="width: 100%; height: 200px;">
<canvas class="signaturePad" name="signaturePad2" id="signaturePad2"
style="border: 1px dashed red; width: 100%; height: 200px;"></canvas>
</div>
<button type="submit" class="btn btn-primary mb-4">Generar PDF</button>
</form>
</div>
</div>
</div>
<br><br><br><br><br><br>
<footer>
<p>© 2023 Gabriel Miranda. Todos los derechos reservados.</p>
<p class="rights">Se prohíbe la reproducción total o parcial sin autorización.</p>
</footer>
</body>
</html>