-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
109 lines (83 loc) · 4.5 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 lang="en-us">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>GifTastic</title>
<link href="https://fonts.googleapis.com/css?family=Acme|Roboto+Slab" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<!-- jQuery -->
<script type="text/javascript" src="https://cdnjs.cloudflare.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/4.0.0/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<header>
<nav class="row navbar navbar-expand-sm navbar-dark custom-nav-bg">
<!-- <div class="row"> -->
<a class="navbar-brand col-xs-12 col-sm-2 col-md-4" href="#"><h1 class="custom-h1 rainbow-text">GifTastic</h1></a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse col-sm-10 col-md-8" id="navbarSupportedContent">
<form id="topic-form" class="form-inline">
<label for="topic-input"></label>
<input id="topic-input" class="form-control mr-sm-2" type="text" placeholder="Topic..." aria-label="Add Topic">
<button id="add-topic-btn" class="btn btn-outline-warning my-2 my-sm-0 mr-2" type="submit" value="Add topic">Add topic</button>
</form>
<!-- Small modal -->
<button type="button" class="btn btn-outline-warning my-2 my-sm-0" data-toggle="modal" data-target=".bd-my-instr-sm">Instructions</button>
</div>
<!-- </div> -->
</nav>
</header>
<div class="content row">
<aside id="add-topic" class="col-xs-12 col-sm-3 col-md-2">
<h3 class="text-center custom-gradient custom-h3">Topic List</h3>
<section class="topic-list row"></section>
</aside>
<section class="col-xs-12 col-sm-6 col-md-8">
<section id="topic-images"></section>
</section>
<aside id="favorites" class="col-xs-12 col-sm-3 col-md-2">
<h3 class="text-center custom-gradient custom-h3">Favorites</h3>
<div id="favorites-list"></div>
</aside>
<!-- The Modal -->
<div class="modal fade bd-my-instr-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<!-- Modal Header -->
<div class="modal-header">
<h4 class="modal-title">How to Use GifTastic</h4>
<button type="button" class="close" data-dismiss="modal">×</button>
</div>
<!-- Modal body -->
<div class="modal-body">
<p>The GifTastic app displays your favorite images.</p>
<p>Enter topics of your interest in the "Topic.." field. Press enter or
the "Add topic" button and the topic
will show up as a button. Click the topic's button in order to
visualize images associated with the selected theme.</p>
<p>You can add the image to your "favorites" list by clicking the
"Add to ★" button.</p>
<p>To clear the images on display, press the "Clear Images" button.</p>
<p>If you want to start over and clear all the buttons, press
the "Clear All Topics" button. Similarly, to erase your favorites
images section, press the "Clear Favorites" button.</p>
</div>
<!-- Modal footer -->
<div class="modal-footer">
<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<!-- Script -->
<script type="text/javascript" src="./assets/js/globals.js"></script>
<script type="text/javascript" src="./assets/js/dynamic-images.js"></script>
</body>
</html>