-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrotten.html
More file actions
364 lines (311 loc) · 11.6 KB
/
rotten.html
File metadata and controls
364 lines (311 loc) · 11.6 KB
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
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.3/croppie.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.3/croppie.min.css">
</link>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-CQ35F5G9FW"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-CQ35F5G9FW');
gtag("event", "view_page", { page: "rotten_page" });
</script>
</head>
<title>rotten eggs</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lato">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="croppie.css" />
<link rel="stylesheet" href="demo.css" />
<style>
:root {
--color-bg: #000000;
--color-fg: #ffffff;
--color-bg-blue: #4b6b87;
}
@media (prefers-color-scheme: light) {
:root {
--color-bg: #ffffff;
--color-fg: #000000;
--color-bg-blue: #6F91AF;
}
}
body
{
font-family: "Lato", sans-serif !important;
background-color: var(--color-bg);
color: var(--color-fg);
}
.mySlides {display: none}
.blue-color{color:#fff!important;background-color:var(--color-bg-blue)!important}
#project-image-container {
min-width: 500px;
min-height: 500px;
width: 150%;
align-content: center;
background-image: url("images/rotten-eggs.jpg");
/*Just Place Mac Images as background*/
background-repeat: no-repeat;
}
.featured-image {
width: 100px;
height: 100px;
position: relative;
right: 14%;
top: 255px;
}
</style>
<link href="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.4/croppie.css" rel="stylesheet" />
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css" rel="stylesheet" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.4.1/js/bootstrap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/croppie/2.6.4/croppie.js"></script>
<script src="sweetalert.min.js"></script>
<body>
<div class="background "> <!-- this is the sail boat div-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/5.0.0/normalize.min.css">
<link rel="stylesheet" href="./style.css">
<div id="app" class="background"></div>
<!-- partial -->
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.6.1/react.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/react/15.6.1/react-dom.min.js'></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/gsap/1.20.3/TweenMax.min.js'></script><script src="./script.js"></script>
</div>
<!--
<script src="js\jquery.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script>window.jQuery || document.write('<script src="js/jquery.js"><\/script>')</script>
<script src="croppie.js"></script>
<script src="demo.js"></script>
<script src="exfil.js"></script>
<script src="prism.js"></script>
-->
<!-- Navbar -->
<div class="w3-top">
<div class="w3-bar blue-color w3-card">
<a href="https://waldmannly.github.io/" class="w3-bar-item w3-button w3-padding-large">HOME</a>
</div>
</div>
<!-- Navbar on small screens (remove the onclick attribute if you want the navbar to always show on top of the content when clicking on the links) -->
<div id="navDemo" class="w3-bar-block w3-black w3-hide w3-hide-large w3-hide-medium w3-top" style="margin-top:46px">
<!-- <a href="#band" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">BAND</a>
<a href="#tour" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">TOUR</a>
<a href="#contact" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">CONTACT</a>
<a href="#" class="w3-bar-item w3-button w3-padding-large" onclick="myFunction()">MERCH</a>-->
</div>
<!-- Page content -->
<div class="w3-content" style="max-width:2000px;margin-top:15px">
<div class="w3-container w3-content w3-center w3-padding-32" style="max-width:800px" id="band">
<h2 class="w3-wide">Rotten egg face cropper</h2>
<p class="w3-justify">
</p>
</div>
<!-- Automatic Slideshow Images
<div class="mySlides w3-display-container w3-center">
<img src="/images/one.jpg" style="width:45%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-16 w3-hide-small">
<h3>Los </h3>
<p><b>image one!</b></p>
</div>
</div>
<div class="mySlides w3-display-container w3-center">
<img src="/images/two.jpg" style="width: 45%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-16 w3-hide-small">
<h3>New </h3>
<p><b>image two.</b></p>
</div>
</div>
<div class="mySlides w3-display-container w3-center">
<img src="/images/three.jpg" style="width: 45%">
<div class="w3-display-bottommiddle w3-container w3-text-white w3-padding-16 w3-hide-small">
<h3>Chicago</h3>
<p><b>image three.</b></p>
</div>
</div>
<br><br>
The Band Section -->
<!-- <div class="w3-row w3-padding-32">
<div class="w3-third">
<p>Name</p>
<img src="/w3images/bandmember.jpg" class="w3-round w3-margin-bottom" alt="Random Name" style="width:60%">
</div>
<div class="w3-third">
<p>Name</p>
<img src="/w3images/bandmember.jpg" class="w3-round w3-margin-bottom" alt="Random Name" style="width:60%">
</div>
<div class="w3-third">
<p>Name</p>
<img src="/w3images/bandmember.jpg" class="w3-round" alt="Random Name" style="width:60%">
</div>
</div>
</div>-->
<!-- <div class="demo-wrap ready">
<div class="container">
<div class="grid">
<div class="col-1-2">
<div class="actions">
<a class="btn file-btn">
<span>Upload</span>
<input type="file" id="upload" value="Choose a file" accept="image/*">
</a>
<button class="upload-result">Result</button>
</div>
</div>
<div class="col-1-2">
<div class="upload-msg" id="upload-demo">
Upload a file to start cropping
</div>
<div id="upload-demo"></div>
</div>
</div>
</div>
</div> -->
<!-- <script>
$uploadCrop = $('#upload-demo').croppie({
enableExif: true,
viewport: {
width: 200,
height: 200,
type: 'circle'
},
boundary: {
width: 300,
height: 300
}
});
</script> -->
<!-- End Page Content -->
<div class="contentWrap">
<div class="infoBox">
<div id="contentBox" class="aboutBox bubble">
<div class="container">
<div class="panel panel-default">
<div class="panel-body" align="center">
<input type="file" name="insert_image" id="insert_image" accept="image/*" />
<br />
<div id="store_image"></div>
</div>
</div>
</div>
</br>
<div class="w3-container w3-content w3-center w3-padding-32" style="max-width:800px">
<center>
<div id="project-image-container">
<img class="featured-image" src="images\emoji.png" id="image_cropped">
</div>
</center>
</div>
<div id="insertimageModal" class="modal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">Crop & Insert Image</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="col-md-8 text-center">
<div id="image_demo" style="width:350px; margin-top:30px"></div>
</div>
<div class="col-md-4" style="padding-top:30px;">
<br />
<br />
<br />
<button class="btn btn-success crop_image">Crop & Insert Image</button>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<script>
// document.getElementById('year').innerHTML = (new Date).getFullYear();
$(document).ready(function () {
$image_crop = $('#image_demo').croppie({
enableExif: true,
viewport: {
width: 200,
height: 200,
type: 'circle' //circle
},
boundary: {
width: 300,
height: 300
}
});
$('#insert_image').on('change', function () {
var reader = new FileReader();
reader.onload = function (event) {
$image_crop.croppie('bind', {
url: event.target.result
}).then(function () {
console.log('jQuery bind complete');
});
}
reader.readAsDataURL(this.files[0]);
$('#insertimageModal').modal('show');
});
$('.crop_image').click(function (event) {
($image_crop.croppie('result', {
type: 'canvas',
size: 'viewport'
}).then(function (canvas) {
$("#image_cropped").attr("src",canvas);
$('#insertimageModal').modal('hide');
})
)});
});
</script>
</div>
</div>
</div>
</div>
<div class="" style="flex-grow: 2;"></div>
<!-- Footer-->
<!-- <footer class="w3-padding-16 w3-center w3-opacity blue-color w3-tiny"> -->
<!--
<p class="w3-medium">Powered by <a href="https://www.w3schools.com/w3css/default.asp" target="_blank">w3.css</a></p>
</footer>-->
<!-- <script>
// Automatic Slideshow - change image every 4 seconds
var myIndex = 0;
carousel();
function carousel() {
var i;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
myIndex++;
if (myIndex > x.length) {myIndex = 1}
x[myIndex-1].style.display = "block";
setTimeout(carousel, 6000);
}
// Used to toggle the menu on small screens when clicking on the menu button
function myFunction() {
var x = document.getElementById("navDemo");
if (x.className.indexOf("w3-show") == -1) {
x.className += " w3-show";
} else {
x.className = x.className.replace(" w3-show", "");
}
}
// When the user clicks anywhere outside of the modal, close it
var modal = document.getElementById('ticketModal');
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script> -->
</body>
</html>