-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (49 loc) · 2.04 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
<!DOCTYPE html>
<html>
<head>
<title>Pokémon Stickers</title>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container-fluid generator-container">
<div class='row'>
<div class='col-xs-12 col-md-4 col-sm-12'>
<h1>Pokémon Stickers</h1>
<p>Add Pokémon to any picture. You can resize and move them around 🎉!</p>
<p>Made with 💖 by <a href='http://twitter.com/keithkurson'>@keithkurson</a></p>
</div>
<div class='col-xs-6 col-sm-6 col-md-4'>
<h3>Upload Image</h3>
<label class="btn btn-primary">
Browse… <input type="file" id="file" style="display: none;">
</label>
</div>
<div class='col-xs-6 col-sm-6 col-md-4'>
<h3>Download!</h3>
<a href="#" class="btn btn-primary button save" id="btn-download">Download</a>
</div>
</div>
<hr>
<div class='row'>
<div class='col-xs-12 col-md-12 col-sm-12'>
<canvas id="c" width="400" height="400" class="canvas"></canvas>
</div>
</div>
</div>
<div id='bottom'>
<div id="sprites"></div>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/fabric.js/1.6.3/fabric.js"></script>
<script type="text/javascript" src="script.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-2303118-10', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>