-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathscan.html
57 lines (49 loc) · 2.13 KB
/
scan.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>ResQ QR Scanner</title>
<!-- Bootstrap for Mobile-first, and JQuery -->
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<!-- Optional styles and scripts of your own -->
<link rel="stylesheet" href="styles/style.css" />
<style>
body {
background-color: #222222;
}
</style>
</head>
<body>
<!-------------------------------------->
<!-- The following is HTML for layout -->
<!-------------------------------------->
<div id="camera-wrapper">
<a href="main.html">
<div class="btn btn-secondary" id="back-btn">X</div>
</a>
<div class="btn btn-secondary" id="swap-btn" name="switch" backCam="false">Swap</div>
<div id="reader"></div>
</div>
<!----------------------------------------------->
<!-- JS: Boostrap, Firebase, API related -->
<!----------------------------------------------->
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" crossorigin="anonymous">
</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" crossorigin="anonymous">
</script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" crossorigin="anonymous">
</script>
<!-- Firebase libraries from CDN -->
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-auth.js"></script>
<script src="https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-firestore.js"></script>
<script src="scripts/firebase_api.js"></script>
<!--------------------------------------------------------------------->
<!-- JS files: Your own JavaScript functions included here -->
<!--------------------------------------------------------------------->
<script type="text/javascript" src="scripts/html5-qrcode.min.js"></script>
<script type="text/javascript" src="scripts/scan.js"></script>
</body>
</html>