-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathindex.html
117 lines (109 loc) · 5.86 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
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="twitter:url" content="http://bitshadow.github.io/slate/">
<link rel="icon" type="image/png" href="src/img/favicon.png">
<title>Slate: Yet another meme generator</title>
<meta name="description" content="Simple Text Gif creator" />
<meta name="keywords" content="gif, text gif, create gif, create animated gif, imgur gif, create gif" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=Terminal+Dosis:400,700">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.3.0/css/font-awesome.css">
<title>Slate - Simplest and Free Text Gif Creator Online</title>
<link rel="stylesheet" href='src/css/app.css'>
</head>
<body>
<!-- We are using backbone but its fine to keep elements here. -->
<header>
<div class="site__logo">
<h1 class="site__title">Slate</h1>
</div>
</header>
<script type="text/template" class="share-template">
<a class="url-btn get-url" href="#">Get Url</a>
<% if (model.url) { %>
<input class="url" value="<%= model.url + ".gif" %>"></input>
<div class="share-btn"><i class="fa fa-share-alt"></i></div>
<% } %>
</script>
<script type="text/template" class="slate-config">
<ul>
<li>
<label for='text'>Text:</label>
<input id="text" class="text long" type="text" name="text" value="">
</li>
<li>
<label for='family'>Font:</label>
<select id='family' class='dropdown long family' name="family"></select>
</li>
<li>
<label for='text-color'>Color:</label>
<input id="text-color" class="color text-color" type="text" name="textColor">
</li>
<li>
<label for='bg-color'>Background:</label>
<input id="bg-color" class="color bg-color" type="text" name="bgColor">
</li>
<li>
<label for='delay'>Frame Delay:</label>
<input id="delay" class="delay" type="text" name="delay" value="300">
<span class='unit'>ms</span>
</li>
<li>
<label for='height'>Font Height:</label>
<input id="height" class="font-height" type="text" name="fontHeight" value="35">
<span class='unit'>px</span>
</li>
</ol>
</script>
<div class="slate site__content">
<div class="slate__config"></div>
<div class="slate__preview">
<iframe class='star' src="https://ghbtns.com/github-btn.html?user=bitshadow&repo=slate&type=star&size=large&count=true" frameborder="0" scrolling="0" width="120px" height="30px"></iframe>
<div class="output">
<img id="result" class="hide"></img>
</div>
<div class="share-box">
<div class="spinner hide">
<div class="rect1"></div>
<div class="rect2"></div>
<div class="rect3"></div>
<div class="rect4"></div>
<div class="rect5"></div>
</div>
<div class="sharer"></div>
</div>
</div>
</div>
<footer class="site__footer">
<a class='github-ribbon' href='https://github.com/bitshadow/slate'>
<img style='position: fixed; top: 0; right: 0; border: 0;' src='https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png' alt='Fork me on GitHub'>
</a>
<div class='footer__note'>
<small>* Inspired from <a target="_blank" href="http://quickestquotes.tumblr.com/">Quickest Quotes</a> by <a target="_blank" href="http://twitter.com/twholman">@twholmanx</a>.</small>
<hr />
<div class='footer-text'>By <a href='https://twitter.com/bitshadow'>Jignesh Kakadiya</a> • <a href='https://github.com/bitshadow/slate'>Source</a> • <a href="https://twitter.com/share?text=Create cool and simple text memes with Slate&hashtags=js,css&url=http://bitshadow.github.io/slate&via=bitshadow">Tweet</a> • Made with Canvas and ES6 </div>
</div>
</footer>
<script src="lib/gif.js"></script>
<script src="lib/gif.worker.js"></script>
<script src="bower_components/jquery/dist/jquery.js"></script>
<script src="bower_components/underscore/underscore.js"></script>
<script src="bower_components/backbone/backbone.js"></script>
<script src="bower_components/JSColor/jscolor.js"></script>
<script src="lib/share.js"></script>
<script src="dist/app.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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-64985986-1', 'auto');
ga('send', 'pageview');
</script>
<script async type="text/javascript" src="//cdn.carbonads.com/carbon.js?zoneid=1673&serve=C6AILKT&placement=bitshadowgithubio" id="_carbonads_js"></script>
</body>
</html>