-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBECU_Customer_Database.html
487 lines (487 loc) · 15.2 KB
/
BECU_Customer_Database.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
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
<!DOCTYPE html>
<html lang="en">
<head>
<title>BECU Customer Database</title>
<!-- <link rel="stylesheet" type="text/css" href="css/style.css"/> -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script type="text/javascript" src="Script/utils.js"></script>
<script type="text/javascript" src="Script/functions.js"></script>
<script type="text/javascript" src="Script/microsoft.cognitiveservices.speech.sdk.bundle.js"></script>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
body {
background-color: white;
margin: 0;
padding: 0;
font-family: Arial, Helvetica, sans-serif;
}
img {
max-width: 100%;
max-height: 100%;
}
.frame { /* The background bar behind the BECU Logo */
position: absolute;
width: 100%;
height: 63px;
background: #e6e6e6;
}
.input-icons a {
position:absolute;
color: black;
background-color: transparent;
font-family: Arial, Helvetica, sans-serif;
font-size: 20px;
font-weight: bold;
top:30%;
}
/* The following 4 sections of codes are for the links on the horizonal menu */
.input-icons a:link {
text-decoration: none;
}
.input-icons a:visited {
text-decoration: none;
}
.input-icons a:hover {
text-decoration: underline;
}
.input-icons a:active {
color: white;
text-decoration: underline;
}
/* The following 3 sections of codes are for the icons on the input */
.input-icons i {
position: absolute;
}
.input-icons {
width: 100%;
/*margin-bottom: 10px;*/
}
.icon {
color: #D12A2E;
font-size:28px;
top:25%;
}
.input-field {
width: 100%;
padding: 10px;
font-size: 20px;
font-weight: 500;
}
/* The following 5 sections of codes are for the icon bar */
.icon-bar-background{
position: absolute;
top: 63px;
left: 0;
width: 4.5%;
height: 172%;
overflow: auto;
background: #D12A2E;
}
.icon-bar {
position: relative;
top: 8%; /* Set a specific position */
width: 100%; /* Set a specific width */
background-color: #D12A2E; /* Dark-red background */
}
.icon-bar a {
display: block; /* Make the links appear below each other instead of side-by-side */
text-align: center; /* Center-align text */
padding: 15px; /* Add some padding */
transition: all 0.3s ease; /* Add transition for hover effects */
color: white; /* White text color */
font-size: 34px; /* Increased font-size */
}
.icon-bar a:hover {
/*background-color: #A9A9A9; /*dark gray */
background-color: #00CED1; /*dark turquoise */
}
.active {
background-color: black;
}
p {
position: absolute;
font-family: Arial, Helvetica, sans-serif;
}
#IDLookUp {
position: absolute;
top: 9%;
left: 23%;
width: 13%;
height: 0.5%;
border: solid black;
border-radius: 15px;
padding-left: 35px;
font-size: 20px;
background-color: transparent;
}
#Search{ /* ID for the search input */
position: absolute;
top: 9%;
right: 2.5%;
width: 13%;
height: 0.5%;
border: solid black;
border-radius: 15px;
padding-left: 35px;
font-size: 20px;
background-color: transparent;
}
.profile_left{ /* The user profile section */
position: absolute;
top: 15%;
left:5%;
width: 35%;
height: 53%;
overflow: auto;
/*background: #f2f2f2;*/
background: #E8E8E8;
}
.profile_right{ /* The user profile section */
position: absolute;
top: 15%;
left:40%;
width: 60%;
height: 53%;
overflow: auto;
/*background: #f2f2f2;*/
background: #F5F5F5;
}
#AccountNo_Display, #Name_Display, #Gender_Display, #DOB_Display, #SSN_Display, #ID_Display, #Email_Display, #PhoneNumber_Display, #Address_Display {
position: relative;
left:3%;
color:black;
font-size:20px;
}
#VoiceProfile, #AccountOpenedDate, #LastActiveDate {
position: relative;
top:62%;
left:5%;
color:black;
font-size:20px;
}
#DisplayProfile{ /* ID for the register button*/
position: absolute;
top: 9%;
left: 40%;
width: 7%;
height: 4%;
border: none;
border-radius: 10px;
color: white;
background: #D12A2E;
font-size: 20px;
font-weight: bold;
}
#AccountNo_Checkbox, #DOB_Checkbox, #SSN_Checkbox{
position: relative;
top: 18%;
left: 10%;
width: 20px;
height: 20px;
color: gray;
}
#AccountNo_Label, #DOB_Label, #SSN_Label{
position: relative;
top: 18%;
left: 10%;
font-size: 20px;
color: #686868;
}
#PhoneNumber_Checkbox, #Email_Checkbox, #Address_Checkbox{
position: relative;
top: 30%;
left: 10%;
width: 20px;
height: 20px;
color: gray;
}
#PhoneNumber_Label, #Email_Label, #Address_Label{
position: relative;
top: 30%;
left: 10%;
font-size: 20px;
color: #686868;
}
#Security {
position: absolute;
top: 80%;
right: 3.5%;
width: 12%;
height: 15%;
border: none;
border-radius: 10px;
color: white;
background: #D12A2E;
/* background-color: Transparent; */
font-size: 30px;
font-weight: bold;
}
/* The following 3 sections of codes change the placeholder's color */
::placeholder {
color: black;
opacity: 1; /* Firefox */
}
:-ms-input-placeholder { /* Internet Explorer 10-11 */
color: black;
}
::-ms-input-placeholder { /* Microsoft Edge */
color: black;
}
.title { /* The titles for verification sections */
color:black;
font-size:24px
}
.security_questions{
position: absolute;
top: 75%;
left:5%;
width: 95%;
height: 45%;
overflow: auto;
background: #F5F5F5;
}
.verification{
position: absolute;
top: 127%;
left:5%;
width: 95%;
height: 53%;
overflow: auto;
background: #F5F5F5;
}
.first_verification{ /* The user info verification section */
position: absolute;
top: 60%;
left: 5.2%;
width: 38%;
height: 28%;
overflow: auto;
background: #F5F5F5;
/*background: #F5F5F5;*/
}
.voice_verification{ /* The user voice verification section */
position: absolute;
top: 60%;
left: 45.2%;
width: 54%;
height: 28%;
overflow: auto;
/*background: #f2f2f2;*/
background: #F5F5F5;
}
#authentication{ /* ID for the submit button*/
position: absolute;
bottom: 3%;
width: 25%;
height: 6%;
border: none;
border-radius: 10px;
color: white;
background: #007c89;
font-size: 30px;
font-weight: bold;
}
.recordingButton{ /* ID for the submit button*/
width: 20%;
height:40px;
border: none;
border-radius:8px;
color: white;
background:#3C3CC7;
opacity: 0.3;
font-size: 25px;
font-weight: bold;
}
#verifySpeakerButton{ /* ID for the submit button*/
position: absolute;
top: 170%;
right: 10%;
width: 6%;
height: 5%;
border: none;
border-radius: 10px;
color: white;
background: #D12A2E;
font-size: 18px;
font-weight: bold;
}
.deleteButton{
position:relative;
top:-20px;
right:-10px;
width: 100px;
height: 35px;
border: none;
border-radius:10px;
color: white;
background: #D12A2E;
font-size: 20px;
font-weight: bold;
}
.verifyButton{ /* ID for the submit button*/
position:relative;
top:-20px;
right:-20px;
width: 100px;
height: 35px;
border: none;
border-radius: 10px;
color: white;
background: #D12A2E;
font-size: 20px;
font-weight: bold;
}
.sound-clips{
position:relative;
top:20px;
left:-100px;
}
.clipLabel{
left:310px;
font-size: 20px;
}
.confidenceResult{
right:320px;
font-size: 20px;
}
.verificationResult{
right:100px;
font-size: 20px;
}
input:focus, textarea:focus, select:focus{ /* Remove the outline for the input border */
outline: none;
}
#authenticated{ /* ID for the search input */
position: absolute;
top: 172%;
right: 5%;
height:6%;
border: none;
border-radius: 10px;
color: white;
background: #007c89;
opacity: 0.3;
font-size: 30px;
font-weight: bold;
}
</style>
</head>
<body>
<div class="frame">
<a href="https://www.becu.org/"><img src="Images/BECU_Logo.png" alt="BECU Logo" style="position:relative; left:5%;"></a>
<div class="input-icons">
<i class="fa fa-user-plus icon" style="left:21.5%;"></i>
<a href="BECU_Add_New_User.html" style="left:24%;">Add New Customer</a>
</div>
<div class="input-icons">
<i class="fa fa-address-card icon" style="left:43.5%;"></i>
<a href="BECU_Customer_Database.html" style="left:46%;"><u>Customer Database</u></a>
</div>
<div class="input-icons">
<i class="fa fa-pie-chart icon" style="left:65.5%;"></i>
<a href="BECU_System_Dashboard.html" style="left:68%;">System Dashboard</a>
</div>
<div class="input-icons">
<i class="fa fa-user-circle icon" style="left:87%; top:20%; font-size:36px"></i>
<a href="#" style="left:90%;">Account</a>
</div>
</div>
<div class="icon-bar-background">
<div class="icon-bar">
<a class="active" href="#"><i class="fa fa-home"></i></a>
<a href="#"><i class="fa fa-bell"></i></a>
<a href="#"><i class="fa fa-search"></i></a>
<a href="#"><i class="fa fa-headphones"></i></a>
<a href="#"><i class="fa fa-phone"></i></a>
<a href="#"><i class="fa fa-comment-o"></i></a>
<a href="#"><i class="fa fa-bar-chart"></i></a>
<a href="#"><i class="fa fa-question-circle-o"></i></a>
<a href="#"><i class="fa fa-cogs"></i></a>
</div>
</div>
<div class="input-icons">
<i class="fa fa-id-badge" style="top:8.5%; left:5.5%; color:black; font-size:38px"></i>
<p style="top:6.5%; left:9%; color:black; font-size:22px"><b><u>Customer Profile</u></p>
<form method="get" action="login.php" style="max-width:400px; margin:auto">
<i class="fa fa-search" style="top:9.5%; left:24%; color:gray; font-size:20px"></i>
<input class="input-field" type="text" name="IDLookUp" id="IDLookUp" placeholder="User ID Lookup">
<input type="button" name="DisplayProfile" id="DisplayProfile" value="SUBMIT" onclick="display_profile()">
<div class="input-icons">
<i class="fa fa-search" style="top:9.5%; right:17%; color:gray; font-size:20px"></i>
<input class="input-field" type="text" name="Search" id="Search" placeholder="Search">
</div>
</form>
</div>
<div class="profile_right">
<p id="AccountNo_Display">Account Number:</p>
<p id="Name_Display">Name:</p>
<p id="Gender_Display">Gender:</p>
<p id="DOB_Display">Date of Birth:</p>
<p id="SSN_Display">SSN:</p>
<p id="ID_Display">User ID:</p>
<p id="Email_Display">Email:</p>
<p id="PhoneNumber_Display">Phone Number:</p>
<p id="Address_Display">Address:</p>
</div>
<div class="profile_left">
<p style="position: absolute; left:40%; color:black; font-size:30px">Profile</p>
<i class="fa fa-user" style="position: absolute; top:20%; left:40%; color:black; font-size:140px"></i>
<p id="VoiceProfile">Customer Voice ID:</p>
<p id="AccountOpenedDate">Account Opened:</p>
<p id="LastActiveDate">Last Active:</p>
</div>
<i class="fa fa-exclamation-circle" style="position: absolute; top:69.5%; left:5.5%; color:black; font-size:38px"></i>
<p style="position: absolute; top:67.5%; left:9%; color:black; font-size:22px"><b><u>Security Questions Verification</u></p>
<div class="security_questions">
<p style="position: absolute; left:10%; color:#0dbab1; font-size:22px"><b>Primary Questions</p>
<input type="checkbox" id="AccountNo_Checkbox" name="AccountNo_Checkbox" value="AccountNo">
<label for="AccountNo_Checkbox" id="AccountNo_Label">Account Number</label><br>
<input type="checkbox" id="DOB_Checkbox" name="DOB_Checkbox" value="DOB">
<label for="DOB_Checkbox" id="DOB_Label">Date of Birth</label><br>
<input type="checkbox" id="SSN_Checkbox" name="SSN_Checkbox" value="SSN">
<label for="SSN_Checkbox" id="SSN_Label">SSN - last 4 digits</label><br><br>
<p style="position: absolute; top:40%; left:10%; color:#FFA500; font-size:22px"><b>Secondary Questions</p>
<p style="position: absolute; top:42%; left:27%; color:gray; font-size:18px">(optional if primary questions are all answered correctly)</p>
<input type="checkbox" id="PhoneNumber_Checkbox" name="PhoneNumber_Checkbox" value="PhoneNumber">
<label for="PhoneNumber_Checkbox" id="PhoneNumber_Label">Phone Number</label><br>
<input type="checkbox" id="Email_Checkbox" name="Email_Checkbox" value="Email">
<label for="Email_Checkbox" id="Email_Label">Email Address</label><br>
<input type="checkbox" id="Address_Checkbox" name="Address_Checkbox" value="Address">
<label for="Address_Checkbox" id="Address_Label">Resident Address</label><br><br>
<p style="position: absolute; top:83%; left:10%; color:black; font-size:20px"><b>Important Note</p>
<p style="position: absolute; top:84%; left:21%; color:gray; font-size:18px"><b>- require at least 3 correct answers to pass</p>
<input type="button" name="Security" id="Security" value="SUBMIT" onclick="security_questions()">
</div>
<i class="fa fa-volume-up" style="position: absolute; top:121%; left:5.5%; color:black; font-size:38px"></i>
<p style="position: absolute; top:119%; left:9%; color:black; font-size:22px"><b><u>Voice Verification</u></p>
<div class="verification">
<center>
<section class="main-controls">
<canvas class="visualizer" height="60px"></canvas>
<div id="buttons">
<button class="recordingButton" id="recordingButton" disabled>Start Recording</button>
</div>
</section>
<section class="sound-clips"></section>
</center>
</div>
<div id="content">
<table width="100%"></table>
<tr>
<td></td>
<td><button class="authenticated" id="authenticated" onclick="authentication()" disabled>Customer is Authenticated</button></td>
</tr>
</table>
</div>
<!-- <div id="warning">
<h1 style="font-weight:500;">Speech Recognition Speech SDK not found (microsoft.cognitiveservices.speech.sdk.bundle.js missing).</h1>
</div> -->
<script>
document.cookie = "CustID=; expires=Thu, 01 Jan 1970 00:00:00 UTC;"
document.cookie = "Security_Questions=; expires=Thu, 01 Jan 1970 00:00:00 UTC;"
document.cookie = "Verification=; expires=Thu, 01 Jan 1970 00:00:00 UTC;"
</script>
<script src="Script/Audio&VerifySpeaker.js"></script>
</body>
</html>