-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
160 lines (159 loc) · 5.25 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
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
<!-- Archivo HTML de Hugo Farías y Tomás Clavijo -->
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="utf-8">
<title>Compras compartidas</title>
<link rel="stylesheet" href="css/estilos.css">
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="js/clasesComprasCompartidas.js"></script>
<script src="js/comprasCompartidas.js"></script>
</head>
<body>
<a id="idTope"></a>
<!-- ENCABEZADO -->
<header id="idHeaderGrande">
<img src="img/titulo.jpg" alt="Compras Compartidas">
</header>
<header id="idHeaderCorto">
<img src="img/titulocorto.jpg" alt="Compras compartidas">
</header>
<!-- BARRA DE NAVEGACIÓN -->
<nav>
<ul>
<li>
<a href="#idPersonas">
<img src="img/usuario.jpg" alt="Usuario" title="Dirígete al apartado de personas">
</a>
</li>
<li>
<a href="#idCompras">
<img src="img/compras.jpg" alt="Compras" title="Dirígete al apartado de compras">
</a>
</li>
<li>
<a href="#idConsultas">
<img src="img/consultas.jpg" alt="Consultas" title="Dirígete al apartado de consultas">
</a>
</li>
<li>
<a href="https://www.instagram.com/" target="_blank">
<img src="img/instagram.jpg" alt="Instagram" title="Dirígete a Instagram">
</a>
</li>
<li>
<a href="https://www.facebook.com/" target="_blank">
<img src="img/facebook.jpg" alt="Facebook" title="Dirígete a Facebook">
</a>
</li>
<li>
<a href="https://uy.linkedin.com/" target="_blank">
<img src="img/linkedin.jpg" alt="LinkedIn" title="Dirígete a LinkedIn">
</a>
</li>
</ul>
</nav>
<!-- APARTADO DE PERSONAS -->
<section>
<a id="idPersonas"></a>
<h2>Personas</h2>
<h3>Registro</h3>
<form id="idFormulario">
<label for="idNombre">Nombre:</label>
<input class="ingreso" type="text" id="idNombre" placeholder="Nombre" maxlength="20" required>
<label for="idSeccion">Sección:</label>
<input class="ingreso" type="number" id="idSeccion" placeholder="sección" max="8" min="1" required>
<label for="idMail">Mail:</label>
<input class="ingreso" type="email" id="idMail" placeholder="mail" required>
<br>
<br>
<input class="boton" type="button" id="idBotonPersona" value="Agregar">
</form>
<h3>Visualización</h3>
<ul id="idLista" >
</ul>
<a href="#idTope">
<img src="img/flecha.jpg" alt="flecha" title="Dirígete al tope de la página">
</a>
</section>
<!-- APARTADO DE COMPRAS -->
<section>
<a id="idCompras"></a>
<h2>Compras</h2>
<h3>Registro</h3>
<form id="idFormularioRegistro">
<label>Hecha por:</label>
<select id="idSelect">
<option>Persona</option>
</select>
<label for="idDescripcion">Descripción:</label>
<input class="ingreso" type="text" id="idDescripcion" placeholder="Descripción" maxlength="40" required>
<label for="idMonto">Monto:</label>
<input class="ingreso" type="text" id="idMonto" required>
<br>
<br>
Corresponde a:
<div id="idCheckbox"></div>
<br>
<input class="boton" type="button" id="idBotonTabla" value="Agregar">
</form>
<h3>Reintegro</h3>
<label>Se reintegra la compra</label>
<select id="idSelectTres"></select>
<br>
<br>
<input class="boton" type="button" id="idBotonReintegro" value="Reintegro">
<br>
<h3>Visualización</h3>
<p>
Orden:
<input type="radio" name="orden" id="idRadioNumero" checked>
<label for="idRadioNumero">número</label>
<input type="radio" name="orden" id="idRadioNombre">
<label for="idRadioNombre">nombre</label>
</p>
<table id="idTabla">
</table>
<br>
<a href="#idTope">
<img src="img/flecha.jpg" alt="flecha" title="Dirígete al tope de la página">
</a>
</section>
<!-- APARTADO DE CONSULTAS -->
<section>
<a id="idConsultas"></a>
<h2>Consultas</h2>
<h3>Pagos/Cobros pendientes por persona</h3>
<label>Persona:</label>
<select id="idSelectDos">
<option>Persona</option>
</select>
<input class="boton" type="button" name="Consultar Totales" value="Consultar Totales" id="idBotonConsulta">
<p id="idComprasParticipantes"></p>
<p id="idComprasResponsables"></p>
<h3>Descripción</h3>
<form id="idFormularioDescripcion">
<label for="idBusqueda">Palabra a buscar:</label>
<input class="ingreso" type="text" id="idBusqueda" required>
<button class="boton" type="button" id="idBotonDescripcion">Consultar compras</button>
</form>
<div id="idHeaderResultado"></div>
<ul id="idListaDescripcion">
</ul>
<h3>Gráfica</h3>
<p>
Se muestra canitdad de compras totales por rango de $100 (0-99, 100-199, etc.)
</p>
<input class="boton" type="button" value="Graficar" id="idBotonGraficar">
<div id="idGrafica"></div>
<a href="#idTope">
<img src="img/flecha.jpg" alt="flecha" title="Dirígete al tope de la página">
</a>
</section>
<br>
<!-- PIE DE PÁGINA -->
<footer>
Obligatorio de Programación I - 1er semestre 2020 - Realizado por: Hugo Farías y Tomás Clavijo
</footer>
</body>
</html>