-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
88 lines (85 loc) · 2.9 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
<!DOCTYPE html>
<html>
<head>
<title>animal.gifs</title>
<!-- linking CSS reset file -->
<link rel="stylesheet" type="text/css" href="assets/css/reset.css">
<!-- linking CSS file -->
<link rel="stylesheet" type="text/css" href="assets/css/style.css">
<!-- linking bootstrap -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
</head>
<body>
<!-- jumbotron -->
<div class="container">
<br>
<div class="jumbotron">
<h1>animal.gifs</h1>
<br>
<div class="row">
<div class="col-lg-2"></div>
<div class="col-lg-8">
<!-- input form -->
<div class="input-group">
<input type="text" id="animal-input" class="form-control" placeholder="search for an animal">
<!-- submit button -->
<span class="input-group-btn">
<button id="addAnimal" class="btn btn-default" type="button">submit</button>
</span>
</div><!-- /input-group -->
</div><!-- /.col-lg-8 -->
<div class="col-lg-2"></div>
</div><!-- /.row -->
</div>
</div>
<!-- end jumbotron -->
<!-- main content -->
<div class="row">
<div class="col-lg-1"></div>
<!-- gifs will get dumped here -->
<div class="col-lg-10" align="center">
<!-- button column -->
<div id="animalsView"></div>
<hr style="width: 95%">
<!-- gifs column -->
<div class="gifParent" id="images"></div>
</div>
<!-- close gif dump -->
<div class="col-lg-1"></div>
</div>
<br>
<!-- end main content -->
<!-- modal -->
<div class="container">
<!-- alert modal -->
<div class="modal fade" id="alertModal" role="dialog">
<div class="modal-dialog modal-sm" align="center">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title">error!</h4>
</div>
<div class="modal-body">
<p>no input detected.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" id="alertModal" data-dismiss="modal">close</button>
</div>
</div>
</div>
</div>
</div>
<!-- end alert modal -->
<!-- footer -->
<footer class="footer text-center">
<div class="container">
<p class="text-muted">© copyright 2016 peter hoang</p>
</div>
</footer>
<!-- linking jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- linking bootstrap JS -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- linking JS file -->
<script type="text/javascript" src="assets/javascript/javascript.js"></script>
</body>
</html>