forked from jusleg/snaptag
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
60 lines (59 loc) · 2.84 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
<html>
<head>
<meta name="viewport" content="width=device-width; initial-scale=1.0;">
<title>Snapcode generator</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-99114890-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-99114890-3');
</script>
<script src="jscolor.js"></script>
<script src="backbone.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class = "main" align="center">
<div class = "wrapper">
<div id="tag1">
<img src="img/snapcode.png" id="imageTag"/>
</div>
<form onsubmit="return displayCoolAnimation()" style="padding-bottom:20px;">
<input type="text" id="username" placeholder="enter snapchat username"onfocus="this.placeholder = ''" onblur="this.placeholder = 'enter snapchat username'"autocomplete="off"/>
<div id="mainButton" style="padding-botom:20px;">
<input type="submit" class="button2" value = "GENERATE SNAPCODE"/>
</div>
</form>
<div id="hidden" style="display:none;margin: 0 auto;">
<button class="button2 jscolor
{valueElement:'valueSpan',styleElement:'styleSpan',value:'ff6699',onFineChange:'setBackColor(this)'}">
BACKGROUND COLOR
</button>
<br>
<br>
<button class="button2 jscolor
{valueElement:'valueSpan',styleElement:'styleSpan',value:'ff6699',onFineChange:'setBorderColor(this)'}">
BORDER COLOR
</button>
<br>
<br>
<button class="button2 jscolor
{valueElement:'valueSpan',styleElement:'styleSpan',value:'ff6699',onFineChange:'setGhostColor(this)'}">
GHOST COLOR
</button>
<br>
<br>
<a onclick="verify()" class="button" id="AlmostDone">DOWNLOAD</a>
<br><br>
<a href="#" class="button" style="display:none" id="done" download="snaptag.png">Download</a>
<canvas id="canvas" width=512 height=512 style="display:none"></canvas>
</div>
<div id="footer">
<p>Made by <a class="linkbottom" href="http://twitter.com/jusleg">Justin Leger</a> - <a class="linkbottom" href="http://github.com/jusleg/snaptag">Fork this</a></p>
</div>
</div>
</div>
</body>
<html>