-
Notifications
You must be signed in to change notification settings - Fork 0
/
page1.html
456 lines (381 loc) · 25.6 KB
/
page1.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="generator" content="Program">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
<link rel="shortcut icon" href="assets/images/logo1.png" type="image/x-icon">
<meta name="description" content="Reunite assists the police and other organisations in reuniting lost ones with their family using Face Recognition.">
<title>Reunite</title>
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
<link rel="stylesheet" href="assets/web/assets/mobirise-icons/mobirise-icons.css">
<link rel="stylesheet" href="assets/tether/tether.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap-grid.min.css">
<link rel="stylesheet" href="assets/bootstrap/css/bootstrap-reboot.min.css">
<link rel="stylesheet" href="assets/animatecss/animate.min.css">
<link rel="stylesheet" href="assets/dropdown/css/style.css">
<link rel="stylesheet" href="assets/theme/css/style.css">
<link rel="stylesheet" href="assets/mobirise/css/mbr-additional.css" type="text/css">
<script src="assets/web/assets/jquery/jquery.min.js"></script>
</head>
<body ng-controller="demoController" style="overflow-x: hidden">
<section class="menu cid-r0kqnUFElh" once="menu" id="menu2-l">
<nav class="navbar navbar-expand beta-menu navbar-dropdown align-items-center navbar-fixed-top navbar-toggleable-sm bg-color transparent">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<div class="hamburger">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</button>
<div class="menu-logo">
<div class="navbar-brand">
<span class="navbar-logo">
<a href="index.html">
<img src="assets/images/logo1.png" alt="Reunite" style="height: 3.8rem;">
</a>
</span>
<span class="navbar-caption-wrap"><a class="navbar-caption text-black display-4" href="index.html">
REUNITE</a></span>
</div>
</div>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav nav-dropdown" data-app-modern-menu="true"><li class="nav-item">
<a class="nav-link link text-black display-4" href="index.html">
Home</a>
<style>
.hide{
display: none;
}
@media screen and (min-width: 1025px){
#user-pic {
top: -3px;
position: relative;
width: 40px;
height: 40px;
background-size: 40px;
border-radius: 20px;
margin-top: 5px;
}
.btnReunite{
padding-right: 10px;
}
}
.inline{
display: inline;
}
@media screen and (max-width: 1024px){
.inline{
display: inline-block;
font-size: 5px;
}
#user-pic {
top: -3px;
position: relative;
border-radius: 40px;
margin-top: 5px;
}
}
</style>
</li><!-- <li class="nav-item"><a class="nav-link link text-black display-4" href="#features6-6">
Features</a></li> -->
<li class="nav-item"><a class="nav-link link text-black display-4" href="index.html#features16-p">Team</a>
</li></ul>
<div class="nav-item inline" id="user-pic">
</div>
<div class="nav-item inline">
<a class="nav-link" style="color: black; font-size: 15px;" id="user-name"></a>
</div>
<div class="navbar-buttons mbr-section-btn btn" id="hideLogout"><button id="btnLogout" class="btn btn-sm btn-primary display-4 hide">Log Out</button></div>
</div>
</nav>
</section>
<section class="engine"><a href="https://mobiri.se">Mobirise</a></section><section class="tabs3 cid-r0kpfcxyke" id="tabs3-k">
<style>
.hide{
opacity: 0.1;
}
</style>
<div class="container">
<h2 class="mbr-section-title align-center pb-3 mbr-fonts-style display-2">
<br>Enter your details in the form given below</h2>
<h3 class="mbr-section-subtitle display-5 align-center mbr-light mbr-fonts-style">
Are you looking for a lost one or have you found someone who seems to be lost?</h3>
</div>
<!--<div class="jumbotron vertical-center">
<div class="container">
<div class="navbar-buttons mbr-section-btn"><a class="btn btn-sm btn-primary display-4" href="https://goo.gl/forms/hslhv54uAaGBqmsX2">Lost</a></div>
<div class="navbar-buttons mbr-section-btn"><a class="btn btn-sm btn-primary display-4" href="https://goo.gl/forms/cobo51P1bMncA6E92">Found</a></div>
</div>
</div>
-->
<div class="container-fluid">
<div class="row tabcont">
<ul class="nav nav-tabs pt-3 mt-5" role="tablist">
<li class="nav-item mbr-fonts-style"><a class="nav-link active show display-7" role="tab" data-toggle="tab" aria-selected="true">
LOST</a></li>
<li class="nav-item mbr-fonts-style"><a class="nav-link active show display-7" role="tab" data-toggle="tab" aria-selected="true">
FOUND</a></li>
</ul>
</div>
</div>
<div class="container">
<div class="row px-1">
<div class="tab-content">
<div id="tab1" class="tab-pane in active mbr-table" role="tabpanel">
<div class="row tab-content-row">
<!--<div class="col-xs-12 col-md-6">-->
<section class="mbr-section form1 cid-r08nKAqmV0" id="form1-b">
<div class="container">
<div class="row justify-content-center">
<div class="title col-12 col-lg-8">
<h2 class="mbr-section-title align-center pb-3 mbr-fonts-style display-2">
</h2>
<h3 class="mbr-section-subtitle align-center mbr-light pb-3 mbr-fonts-style display-5">
<!--Lorem, ipsum dolor sit amet consectetur adipisicing elit. Sapiente aperiam optio, explicabo, autem voluptas ducimus cupiditate hic necessitatibus nisi perferendis earum at, libero qui! Quis ut recusandae fuga sed quasi!-->
</h3>
</div>
</div>
</div>
<div class="container" style="width: 85%;">
<div class="row justify-content-center">
<div class="media-container-column col-lg-8" data-form-type="formoid">
<div data-form-alert="" hidden="">
Thanks for filling out the form!
</div>
<form class="sucess-none" action="" method="post" data-form-title="Lost Form"><input type="hidden" name="email" data-form-email="true" value="GszkY6ZiRltEKGSLZ1WZgbB6sTOfu78VwpGjuYe3XUqHB/8Dxy/JfqXQhJQKa2IE+RBV3Z2eOe3rSbW+/Np434Z3ACOOVc3xD7+Fhx+mJhG+mCeQuesp7wMvSlUbmVeR" data-form-field="Email">
<div class="row row-sm-offset">
<div class="col-md-4 multi-horizontal" data-for="name">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="name-form1-b">Your Name</label>
<input type="text" class="form-control" name="name" readonly data-form-field="Name" required="" id="NameL">
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="name">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="KidName-form1-b">Name of Lost Person</label>
<input type="text" class="form-control" name="KidName" data-form-field="KidName" required="" id="KidNameL">
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="age">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="age-form1-b">Age</label>
<input type="number" class="form-control" name="Age" min="1" data-form-field="Age" required="" id="AgeL">
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="phone">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="phone-form1-b">Phone</label>
<input placeholder="+91 XXXXX XXXXX" type="tel" class="form-control" name="phone" data-form-field="Phone" id="PhoneL">
</div>
</div>
<div class="col-md-4 horizontal" data-for="email">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="email-form1-b">Email</label>
<input type="email" class="form-control" name="email" readonly data-form-field="Email" required="" id="EmailL" >
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="IdentificationMark">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="name-form1-b">Identification Mark</label>
<input type="text" class="form-control" name="IdentificationMark" data-form-field="IdentificationMark" required="" id="IdentificationMarkL">
</div>
</div>
</div>
<div class="form-group" data-for="message">
<label class="form-control-label mbr-fonts-style display-7" for="message-form1-b">Any other additional information you would like to give us?</label>
<textarea type="text" class="form-control" name="message" rows="7" data-form-field="Message" id="messageL"></textarea>
</div>
<form action="POST">
<center>
<input class="form-control" type="file" style="width: 90%;" value="Upload" id = "lostImage" accept="image/*">
<p id="lostProgressBar"></p>
</center>
</form>
<br>
<span class="input-group-btn">
<center>
<button id="submitLost" type="submit" class="btn btn-primary btn-form display-4">SEND FORM</button>
</center>
</span>
</form>
</div>
</div>
</div>
</section>
<!--</div>-->
</div>
</div>
<div id="tab2" class="tab-pane mbr-table" role="tabpanel">
<div class="row tab-content-row">
<section class="mbr-section form1 cid-r08nKAqmV0" id="form1-b">
<div class="container">
<div class="row justify-content-center">
<div class="title col-12 col-lg-8">
<h2 class="mbr-section-title align-center pb-3 mbr-fonts-style display-2">
</h2>
<h3 class="mbr-section-subtitle align-center mbr-light pb-3 mbr-fonts-style display-5">
<!--Lorem, ipsum dolor sit amet consectetur adipisicing elit. Sapiente aperiam optio, explicabo, autem voluptas ducimus cupiditate hic necessitatibus nisi perferendis earum at, libero qui! Quis ut recusandae fuga sed quasi!-->
</h3>
</div>
</div>
</div>
<div class="container" style="width: 85%">
<div class="row justify-content-center">
<div class="media-container-column col-lg-8" data-form-type="formoid">
<div data-form-alert="" hidden="">
Thanks for filling out the form!
</div>
<form class="sucess-none" action="" method="post" id = "newFound" data-form-title="Found Form"><input type="hidden">
<div class="row row-sm-offset">
<div class="col-md-4 multi-horizontal" data-for="Name">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="name-form1-b" required>Your Name</label>
<input type="text" class="form-control" name="Name" readonly data-form-field="Name" required="" id="Name">
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="KidName">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="KidName-form1-b" required>Name of Found Person</label>
<input type="text" class="form-control" name="KidName" data-form-field="KidName" required="" id="KidName">
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="Age">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="age-form1-b" required>Age</label>
<input type="number" class="form-control" name="Age" min="1" data-form-field="Age" required="" id="Age">
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="Phone">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="phone-form1-b">Phone</label>
<input type="tel" placeholder="+91 XXXXX XXXXX" class="form-control" name="Phone" data-form-field="Phone" id="Phone">
</div>
</div>
<div class="col-md-4 horizontal" data-for="Email">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="email-form1-b">Email</label>
<input type="email" class="form-control" name="Email" readonly data-form-field="Email" required="" id="Email" >
</div>
</div>
<div class="col-md-4 multi-horizontal" data-for="IdentificationMark">
<div class="form-group">
<label class="form-control-label mbr-fonts-style display-7" for="name-form1-b">Identification Mark</label>
<input type="text" class="form-control" name="IdentificationMark" data-form-field="IdentificationMark" required="" id="IdentificationMark">
</div>
</div>
</div>
<div class="form-group" data-for="message">
<label class="form-control-label mbr-fonts-style display-7" for="message-form1-b">Any other additional information you would like to give us?</label>
<textarea type="text" class="form-control" name="message" rows="7" data-form-field="Message" id="message"></textarea>
</div>
<style>
input[type=file] {
width: auto;
background-color: #e50054;
color: white;
padding: 14px 20px;
margin: 8px 0;
border: none;
border-radius: 20px;
cursor: pointer;
}
input[type=file]:hover{
opacity: 0.8;
}
</style>
<form action="POST">
<center>
<input type="file" value="Upload" style="width: 90%;" id = "foundImage" accept="image/*">
<p id="foundProgressBar"></p>
</center>
</form>
<span class="input-group-btn">
<center>
<button type="submit" value="Submit" name="submit" id="submitFound" class="btn btn-primary btn-form display-8">SEND FORM</button>
</center>
</span>
</form>
</div>
</div>
</div>
</section>
</div>
</div>
</div>
</div>
</div>
</section>
<section once="" class="cid-r0kqqkBcBH" id="footer6-m">
<div class="container">
<div class="media-container-row align-center mbr-white">
<div class="col-12">
<p class="mbr-text mb-0 mbr-fonts-style display-7">
© Copyright 2018 Reunite - All Rights Reserved
</p>
</div>
</div>
</div>
</section>
<script src="https://www.gstatic.com/firebasejs/5.3.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyA5Afrm-mTqXpAl1gwJJoI0DseBwUkX1Dk",
authDomain: "reliefreunite123.firebaseapp.com",
databaseURL: "https://reliefreunite123.firebaseio.com",
projectId: "reliefreunite123",
storageBucket: "reliefreunite123.appspot.com",
messagingSenderId: "264220375831"
};
firebase.initializeApp(config);
</script>
<!--<script type="text/javascript">
$(document).ready(function () {
if ($('#newFound').length > 0 ) {
contactScript('forcontact');
}
});
//firebase
function contactScript(value) {
var a = {
apiKey: "AIzaSyA5Afrm-mTqXpAl1gwJJoI0DseBwUkX1Dk",
authDomain: "reliefreunite123.firebaseapp.com",
databaseURL: "https://reliefreunite123.firebaseio.com",
projectId: "reliefreunite123",
storageBucket: "reliefreunite123.appspot.com",
messagingSenderId: "264220375831" };
firebase.initializeApp(a);
var b = firebase.database().ref("messages");
$(document).ready(function () {
$("#newFound").submit(function(a) { $(this), console.log("Submit to Firebase");
var c = $("#Name").val(),
d = $("#KidName").val(),
e= $("#Phone").val(),
f = $("#Email").val(),
g = { Name: c, KidName: d, Phone: e, Email: f, Success: No, FaceToken: Null, URL: Null, MatchedUUID: Null};
return b.push(g).then(function(a) {
$(".sucess").css("display", "block"),
$(".sucess-none").css("display", "none") }), !1 })
});
}
</script>
-->
<script src="assets/web/assets/jquery/jquery.min.js"></script>
<script src="assets/popper/popper.min.js"></script>
<script src="assets/tether/tether.min.js"></script>
<script src="assets/bootstrap/js/bootstrap.min.js"></script>
<script src="assets/smoothscroll/smooth-scroll.js"></script>
<script src="assets/touchswipe/jquery.touch-swipe.min.js"></script>
<script src="assets/viewportchecker/jquery.viewportchecker.js"></script>
<script src="assets/mbr-tabs/mbr-tabs.js"></script>
<script src="assets/dropdown/js/script.min.js"></script>
<script src="assets/theme/js/script.js"></script>
<script src="firebaseImageUpload.js"></script>
<script type="text/javascript" src="JIC.js"></script>
<div id="scrollToTop" class="scrollToTop mbr-arrow-up"><a style="text-align: center;"><i></i></a></div>
<input name="animation" type="hidden">
</body>
</html>