-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
48 lines (44 loc) · 2.46 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
<!DOCTYPE html>
<html>
<head>
<title>NASA Web App</title>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link rel = "stylesheet" href = "https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="style.css"/>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.0/js/bootstrap.min.js"></script>
<script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script>
<script src="https://unpkg.com/imagesloaded@4/imagesloaded.pkgd.min.js"></script>
<script src="script.js"></script>
</head>
<body>
<div style="background-color: #3c569a">
<h1 style="color: white; padding: 12px;">Capital One SES NASA Gallery Challenge</h1>
</div>
<form>
<input id="searchBox" type="text" placeholder="Search..">
<button type="submit" class="searchBtn" onclick="search(); return false;"><i class="material-icons">search</i></button>
<label class="container">Use Advanced Search
<input type="checkbox" id="showAdv" onclick="toggleSearchTools()">
<span class="checkmark"></span>
</label>
<label id="numResults"></label>
<br><br>
<div id="advToolsCont" hidden="true">
<div id="advTools">
<label>From Year: </label><input id="startYear" type="number" min="1800" max="2099" step="1" value="1900">
<label>To Year: </label><input id="endYear" type="number" min="1800" max="2099" step="1" value="2019">
<br><br>
<label>Location: </label><input id="location" type="text" value="" placeholder="Enter a Location..">
</div>
</div>
<label id="instructions" hidden="true">Click an image for more details.</label>
</form>
<div id="searchResults"></div>
<div id="navCont">
<button id="prevBtn" hidden="true" onclick="getPrevPage()"><i class="material-icons">arrow_back</i> Previous</button>
<button id="nextBtn" hidden="true" onclick="getNextPage()">Next <i class="material-icons">arrow_forward</i></button>
</div>
</body>
</html>