-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
217 lines (204 loc) · 7.61 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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
<!DOCTYPE html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8" />
<title>Social Media Image Creator</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="" />
<meta property="og:type" content="" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<link rel="icon" href="/favicon.ico" sizes="any" />
<link rel="icon" href="/icon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="icon.png" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Pushster&family=Roboto:wght@100&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/materialize.min.css" />
<link rel="stylesheet" href="css/main.css" />
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<header class = "row">
<h1 class="col s12">Social Media Image Creator</h1>
</header>
<!-- Add your site or application content here -->
<div class="container">
<div class="row">
<div class="col s6">
<!-- The image customization controls will go on this side -->
<ul id="image-search" class="sidenav">
<li>
<div class="user-view">
<div class="title">
<i class="material-icons sidenav-close">arrow_back</i>
Photo Search
</div>
</div>
</li>
<li class="search">
<form class="input-field col s12" id="imgForm">
<input id="img-search" type="text">
<label for="img-search">Image Search</label>
<!--img-search-btn-->
<button class="btn waves-effect waves-light red" type="submit">Search
<i class="material-icons right"></i>
</button>
</form>
</li>
<li class="search">
<!--search results-->
<div class="imgSearchResultsContainer">
<h5>Search Results: <span id=""></span></h5>
<div class="row">
<section class="scrollMenu" id="image"></section>
</div>
</div>
</li>
</ul>
<ul id="sticker-search" class="sidenav">
<li>
<div class="user-view">
<div class="title">
<i class="material-icons sidenav-close">arrow_back</i>
Sticker Search
</div>
</li>
<li class="search">
<form class="giphyForm">
<input id="giphyInput" type="text" placeholder="Stickers" autofocus="true" name="giphy" />
<button type="submit" class="btn waves-effect waves-light">
Search
</button>
</form>
<div class="giphyResultsContainer">
<h5>Search Results: <span id="giphySearch"></span></h5>
<section class="giphyResults scrollMenu">
</section>
</div>
</li>
</ul>
<ul id="filter-menu" class="sidenav">
<li>
<div class="user-view">
<div class="title ">
<i class="material-icons sidenav-close">arrow_back</i>
Image Filters
</div>
<div class="save-btn">
<!-- Modal Trigger -->
<a class="waves-effect waves-light btn modal-trigger" href="#saveFilterModal">
<i class="material-icons">save</i>
Save Filter
</a>
<a id="showSavedFilters" class="waves-effect waves-light btn" href='#' data-target='filter-dropdown'>
<i class="material-icons">favorites</i>
My Filters
</a>
</div>
</li>
<li class="search">
<div class="filterIcons">
<ul id="FilterIcons"></ul>
</div> <!-- close row -->
</li>
<li>
<form action="#">
<div class="flex-container">
<!-- <select id="filterNameSelect" class="browser-default"></select> -->
<div id="displayIntensity"></div>
</div>
</form>
</li>
</ul>
<ul id="text-menu" class="sidenav">
<li>
<div class="user-view">
<div class="title">
<i class="material-icons sidenav-close">arrow_back</i>
Add Text
</div>
</li>
<li class="textBox">
<form class="textForm">
<input id="textInput" type="text" placeholder="Add Text Here" autofocus="true" name="text" />
<button type="submit" class="btn waves-effect waves-light">
Submit
</button>
</form>
</li>
</ul>
<ul class="main-nav">
<li>
<a href="#" data-target="image-search" class="sidenav-trigger">
<i class="material-icons">image</i>Main Image</a>
</li>
<li>
<a href="#" data-target="filter-menu" class="sidenav-trigger">
<i class="material-icons">filter_vintage</i>Filters</a>
</li>
<li>
<a href="#" data-target="sticker-search" class="sidenav-trigger">
<i class="material-icons">insert_emoticon</i>Stickers</a>
</li>
<li>
<a href="#" data-target="text-menu" class="sidenav-trigger">
<i class="material-icons">text_fields</i>Text</a>
</li>
</ul>
</div>
<div class="col s6">
<!-- The main image container goes over here -->
<div id="image-container">
<div class="module-inside"></div>
<!-- image filter section -->
</div>
<div id="trash">
<!-- <h4>Trash</h4> -->
</div>
</div>
</div>
</div>
<div id="imgSearch-modal" class="modal">
<div class="modal-content">
<h4 class="center-align">Please enter a search term!</h4>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green btn-flat">Close</a>
</div>
</div>
<div id="saveFilterModal" class="modal">
<div class="modal-content">
<h4>Enter Filter Name</h4>
<div class="container">
<div class="row">
<div class="input-field col s6">
<input value="MyFilter" id="filter_name_input" type="text" class="validate">
<label class="active" for="filter_name_input">Filter Name</label>
</div>
</div>
</div>
</div>
<div class="modal-footer">
<a href="#!" id="saveFilterForm" class="modal-close waves-effect waves-green btn-flat">Save</a>
</div>
</div>
<div id="noFiltersMsg" class="modal">
<div class="modal-content">
<h5>Please save a filter</h4>
<p>You do not have any saved filters</p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-close waves-effect waves-green btn-flat">Ok</a>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="js/materialize.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/interactjs/dist/interact.min.js"></script>
<script src="js/app.js"></script>
<script src="js/filters.js"></script>
</body>
</html>