-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
99 lines (90 loc) · 4.89 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Group Project Kiosk by Don, Josh, and Craig (DJC)</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Adds link to Bootstrap & style.css -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB"
crossorigin="anonymous">
<link rel="stylesheet" type="text/css" media="screen" href="assets/css/style.css" />
<!-- Adds link to JQuery & app.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.12.0/firebase.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.2/js/bootstrap.min.js" integrity="sha384-o+RDsa0aLu++PJvFqy8fFScvbHFLtbvScb8AjopnFD+iEQ7wo/CG0xlczd+2O/em"
crossorigin="anonymous"></script>
<script src="assets/javascript/app.js"></script>
<!-- Adds favicon -->
<link rel="icon" href="assets/images/movieReelFavicon.png" type="image/gif" sizes="16x16">
</head>
<body>
<!-- Bootsrap Grid format to store movie data and rating buttons -->
<div class="container.fluid">
<div class="row no-gutters">
<div class="col-md-8">
<div class="row no-gutters align-items-center">
<div class="col-md-6">
<div class="row no-gutters align-items-center justify-content-center" id="movie-posters">
</div>
<div class="row no-gutters align-items-center justify-content-center" id="movie-rating">
</div>
</div>
<div class="col-md-6" id="movie-info">
</div>
</div>
<div class="row no-gutters align-items-center justify-content-center" id="end-div">
</div>
<div class="row no-gutters align-items-center justify-content-center" id="end-button-div">
</div>
</div>
<div class="col-md-4" id="rating-history" style="display: none">
<h3>Rating History:</h3>
<hr>
</div>
</div>
</div>
<!-- Begin Survey Button trigger modal -->
<div class="row justify-content-center">
<button type="button" class="btn-lg btn-primary" id="modalIntializeButton" data-toggle="modal" data-target="#startSurveyModal">
Begin Survey
</button>
</div>
<!-- Begin Survey Modal -->
<div class="modal fade" id="startSurveyModal" tabindex="-1" role="dialog" aria-labelledby="startSurveyModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title modal-text-color" id="startSurveyModalLabel">Please enter Zip Code and Take Picture!</h5>
</div>
<div class="modal-body">
<!-- Form to collect zipcode and photo -->
<form>
<div class="form-group">
<label for="zipcode" class="modal-text-color" id="zipcode-text">Zip Code</label>
<input type="number" class="form-control modal-text-color" id="zipcode" placeholder="XXXXX">
<!-- Zipcode modal for incorrect zipcode inputs-->
<div class="modal fade" id="zipcodeErrorModal" tabindex="-1" role="dialog" aria-labelledby="zipcodeErrorModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title text-center modal-text-color" id="zipcodeErrorModalLabel">Please enter a valid zipcode!</h5>
</div>
</div>
</div>
</div>
</div>
<br>
<!-- HTML for live videa camera stream -->
<h6 class="modal-text-color">Tap the video stream to snap your picture!</h6>
<div>
<video id="screenshot-video" class="videostream img-fluid" autoplay="true" preload="auto" muted="true" playsinline="true"></video>
<img id="screenshot-img" src="">
</div>
</form>
</div>
</div>
</div>
</div>
</body>
</html>