-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (93 loc) · 4.55 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Bootstrap CDN link, Google Fonts, Animate CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link href="https://fonts.googleapis.com/css?family=Abril+Fatface|Merriweather" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="assets/css/styles.css">
<link rel="stylesheet" type="text/css" href="assets/css/animate.css">
<title>PikyFilm</title>
</head>
<body>
<!-- Header and Upload image -->
<div class="container-fluid">
<!-- Title of the the web site -->
<div class="row header-title animated fadeInLeft">
<img src="assets/images/pfLogo.png" class="pull-left logo">
<h1><span class="fuschia">Piky</span><span class="grey">Film</span></h1>
<em>Make your face pick your film.</em>
</div>
<!-- Section to upload and display image -->
<div class="row text-center file-upload-section">
<div class="col-sm-12 col-md-6 col-lg-4 col-lg-offset-1">
<div class="image-section">
<img id="image" src="assets/images/female-upload.png">
</div>
<div class="select-file">
<form id="image-form">
<div class="form-group browse-submit-inline">
<div class="input-group input-bar">
<label class="input-group-btn">
<span class="btn btn-primary">
Browse… <input type="file" style="display: none;" accept='image/*' id="input-picture">
</span>
</label>
<input type="text" class="form-control file-name" readonly>
</div>
</div>
<div class="browse-submit-inline">
<button type="submit" id="submit-pic" class="btn btn-success">Submit</button>
</div>
<p class="help-block message">Format (.jpg, .png, .jpeg, .gif, .bmp) | Size max 2MB</p>
</form>
</div>
</div>
<div class="col-sm-12 col-md-6 col-lg-4 col-lg-offset-1">
<!-- Section to display age and birth year-->
<div class="text-center age-birth-year">
<div id="age-display"> Hello, World! Upload your fly photo here, so you can get on with your movie watchin'. </div>
<div id="birth-year"></div>
</div>
</div>
</div>
</div>
<!-- Result section -->
<div class="container-fluid" id="result-section">
<div class="text-center" id="min-birth-year"></div>
<!-- Section to display movie results-->
<div class="row text-center" id="movie-display"></div>
<!--Button move to the top -->
<div id="move-top">
<a href="#"><img src="assets/images/backtotop.png"></a>
</div>
</div>
<!-- Map and Footer-->
<div class="container-fluid footer">
<!-- Section for displaying map -->
<div class="row hidden-xs text-center map-section">
<h3>Users across the world</h3>
<br>
<div id="map"></div>
</div>
<!-- Footer -->
<div class="row copyright-text">
<div class="logo-image">
<img src="assets/images/microsoft.png" class="api-logo">
<img src="assets/images/google.png" class="api-logo">
<img src="assets/images/tmdb.png" class="api-logo">
<img src="assets/images/iplogo.png" class="api-logo">
</div>
<p>Copyright © 2017 REMY Inc.<br>
<span>This product uses the TMDb API but is not endorsed or certified by TMDb.</span></p>
</div>
</div>
<!-- jQuery CDN link, moment.js, Firebase Reference and Google maps API link -->
<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/momentjs/2.12.0/moment.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/3.7.0/firebase.js"></script>
<script type="text/javascript" src="assets/javascript/pikyfilm.js"></script>
<script async defer src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBnZmjC7S9PqTw3oP8TRWdnySKzt3a1s74&callback=initMap"></script>
</body>
</html>