-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
242 lines (225 loc) · 10.6 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO"
crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ"
crossorigin="anonymous">
<title>TransLab</title>
<link rel="stylesheet" href="src/css/style.css">
</head>
<body>
<input type="checkbox" id="menu_toogle">
<header style="
margin-bottom: 0px;" id="nav">
<label for="menu_toogle" class="pointer open" style="
margin-left: 10px;
margin-right: 10px;">
<i class="fas fa-bars"></i>
</label>
</header>
<label for="menu_toogle" id="fullscreen_toogle">
</label>
<div id="menu" class="menu" style="z-index: 100;">
<label class="close pointer" for="menu_toogle"><i class="fas fa-times"></i></label>
<ul>
<li><i class="fas fa-dollar-sign"></i><a href="#" onclick="showSaldoPage()"> Ver Saldo</a></li>
<li><i class="fas fa-th"></i><a href="#" onclick="showCalculatorPage()"> Calcular Tarifa</a></li>
<li> <i class="fas fa-user"></i> <a href="#" onclick="showPorfilePage()"> Perfil</a></li>
<li> <i class="fas fa-poll-h"></i><a href="#" onclick="showFaqPage()"> Preguntas Frecuentes</a></li>
<li><i class="fas fa-arrow-right"></i> <a href="#" onclick="showHomePage()">Home</a></li>
<li><i class="fas fa-sign-out-alt"><a href="#" onclick="logOut()"></i> LogOut</a></li>
</ul>
</div>
<!-- login -->
<section class="page" id="logInPage">
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<img src="src/img/imagen.png" id="logo" alt="logo">
<form></form>
<div class="form-group" id="login">
<input type="email" id="emailUser" class="form-control rounded-0" id="exampleInputEmail1" aria-describedby="emailHelp" placeholder="Correo Electronico">
<input type="password" id="passwordUser" class="form-control rounded-0" id="exampleInputPassword1" placeholder="Contraseña">
<button id="btnLogIn" type="submit" class="btn rounded-0" style="width: 100%;">INICIAR SESION</button>
<div>
<label class="font-weight-normal text-light font-weight-normal ">¿Olvidaste tu contraseña?</label>
</div>
<div>
<p class="text-light font-weight-normal text-center">¿NO TIENES CUENTA?
<span class="color font-weight-bold registerlabel"><a class="color " href="" onclick="showRegisterPage()">REGISTRATE</a></span>
</p>
</div>
</form>
</div>
<div class="col-sm-4"></div>
</div>
</section>
<!-- Register -->
<section class="page" id="registerPage">
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div class="formRegister">
<div class="form-group" id="Register">
<input type="email" id="emailNewUser" class="form-control rounded-0" id="exampleInputEmail1" aria-describedby="emailHelp"
placeholder="Correo Electronico">
<input type="password" id="passwordNewUser" class="form-control rounded-0" id="exampleInputPassword1" placeholder="Contraseña">
<button id="btnRegister" type="submit" class="btn rounded-0" style="width: 100%;">REGISTRAR</button>
</div>
</div>
</div>
</div>
</section>
<!-- Home -->
<section class="page" id="homePage">
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div>
<button type="submit" class="btn rounded-0 btnHome" onclick="showSaldoPage()">VER SALDO</button>
</div>
<div>
<button type="submit" class="btn rounded-0 btnHome" onclick="showCalculatorPage()">CALCULAR TARIFA</button>
</div>
<div>
<button type="submit" class="btn rounded-0 btnHome" onclick="showPorfilePage()">PERFIL</button>
</div>
<div>
<button type="submit" class="btn rounded-0 btnHome" onclick="showFaqPage()">PREGUNTA FRECUENTES</button>
</div>
</div>
</div>
</section>
<!-- Perfil Usuario Agregar tarjeta -->
<section class="page" id="porfilePage">
<div class="headerOrange">
</div>
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 col-md-4 col-lg-4">
<div id="porfileEmail" class="card">
<div class="card-body" id="mailUser" style="padding-top: 10px; padding-bottom: 0px; height: 40px;">
<!-- Email usuario -->
</div>
</div>
<input type="text" class="form-control-sm rounded-0" id="addCardInput" placeholder="Numero de tarjeta" style="width: 100%; margin-bottom: 10px;">
<button type="submit" id="btnAddCard" class="btn rounded-0" style="width: 100%;">AGREGAR TARJETA</button>
<div class="card" id="cardAddPrint" style="margin-top: 1em"> <!-- tarjetas guardadas --> </div>
</div>
</div>
</section>
<!-- Calcular Tarifa -->
<section class="page" id="calculatorPage">
<div class=" calculatorItems">
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-6 col-md-6 col-lg-6">
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Numero tarjeta" aria-label="Recipient's username" aria-describedby="basic-addon2" id="calculatorInput">
</div>
<div class="row justify-content-center">
<div class="col-sm-6 col-md-6 col-lg-6 mr-auto">
<form>
<label class="my-1 mr-2">Tarifa</label>
<select class="custom-select my-1 mr-sm-2 selectCalculate" id="tarifa">
<option selected>Tarifa</option>
<option value="760">Horario Alto: $760</option>
<option value="680">Horario Medio: $680</option>
<option value="630">Horario Bajo: $630</option>
</select>
</form>
</div>
<div class="col-sm-6 col-md-6 col-lg-6">
<form>
<label class="my-1 mr-2">Tarjeta</label>
<select class="custom-select my-1 mr-sm-2 selectCalculate" id="calculatorSelect">
<option selected>Nº tarjeta</option>
</select>
</form>
</div>
</div>
</div>
</div>
<div class="row justify-content-center">
<div class="col-xs-6 col-sm-6 col-md-4 col-lg-4">
<button type="submit" id="btnCalculate" class="btn rounded-0">CALCULAR</button>
<div id="farePrint" class="card mb-3" style="width: 100%;"></div>
<div id="totalPrint" class="card mb-3" style="width: 100%;"></div>
</div>
</div>
</div>
</section>
<!-- Saldo Tarjeta -->
<section class="page" id="saldoPage">
<div class="row justify-content-center">
<div class="col-xs-6 col-sm-6 col-md-4 col-lg-4">
<div class="form-group saldoItems">
<div class="input-group mb-3">
<input type="text" class="form-control" placeholder="Numero tarjeta" aria-label="Recipient's username" aria-describedby="basic-addon2" id="saldoInput">
</div>
<select class="custom-select my-1 mr-sm-2" id="saldoSelect">
<option selected>Nº tarjeta</option>
</select>
<button type="submit" id="btnSaldo" class="btn rounded-0">VER SALDO</button>
</div>
<div id="saldoPrint" class="card mb-3" style="width: 100%;">
<!-- Acá se imprime saldo -->
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Peguntas frecuentes -->
<section class="page" id="faqPage">
<div class="headerOrange">
<h1 class="title">
PREGUNTAS FRECUENTES
</h1>
</div>
<div class="row justify-content-center">
<div class="col-xs-12 col-sm-8 col-md-6 col-lg-6">
<li class="nav-item dropdown">
<p class="nav-link dropdown-toggle faq" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false">Problemas y cuidados de tarjeta bip!</p>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</li>
</div>
</div>
</section>
<!-- firebase -->
<script src="https://www.gstatic.com/firebasejs/5.3.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyBq-apdv65ZwodTdX-qSC8p9Qk7C_QNIpc",
authDomain: "translab-stgo.firebaseapp.com",
databaseURL: "https://translab-stgo.firebaseio.com",
projectId: "translab-stgo",
storageBucket: "translab-stgo.appspot.com",
messagingSenderId: "592422134104"
};
firebase.initializeApp(config);
</script>
<!-- bootstrap -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy"
crossorigin="anonymous"></script>
<!-- Js -->
<script src="src/js/card.js"></script>
<script src="src/js/data.js"></script>
<script src="src/js/main.js"></script>
<script src="src/js/user.js"></script>
<script src="src/js/view.js"></script>
<script src="src/js/model.js"></script>
</body>
</html>