-
Notifications
You must be signed in to change notification settings - Fork 109
/
index.html
136 lines (109 loc) · 5.64 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
<!doctype html>
<!--[if lte IE 8]><html class="no-js oldie shitty shit" lang="en"><![endif]-->
<!--[if gt IE 8]><!--><html class="no-js" lang="en"><!--<![endif]-->
<head>
<!--
OMG thanks for viewing the source.
You're awesome.
Tech we used to build this:
__ HTML5 drag n drop, FileReader,
/ _) a[download], GIF encoding on the client, Blob URLs,
.-^^^-/ / postMessage, <input type=range> (with Firefox polyfill),
__/ / appcache, transforms, transitions,
<__.|_|-|_| * { box-sizing : border-box; }
See the header and footer for github links and the people involved! ♥
-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Mothereffing animated gif</title>
<meta name="description" content="Drag and drop images from your desktop into the app. You can rotate and drag them. And generate your animated GIF! May even work while you're disconnected!">
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Patua+One">
<link rel="stylesheet" href="assets/css/styles.css">
<!-- cache & network update notification -->
<!-- http://blog.grayghostvisuals.com/wordpress/cache-manifest-for-wordpress -->
<!-- <script src="assets/js/cache.update.js"></script> -->
<!-- uncommment for pretty cache manifest update alerts -->
<!-- <script src="assets/js/network.status.js"></script> -->
</head>
<body>
<img src="assets/img/project_approved.png" alt="This animated gif maker has been speed project tested and approved" id="speedProject">
<div id="container">
<header id="header" role="header" class="clearfix">
<span class="image">
<img src="assets/img/logo.gif" alt="">
</span>
<h1>Mothereffinganimatedgif</h1>
<p>Drag + Drop, Client-side, Animated GIF Creator</p>
<ul class="social">
<li class="github-fork">
<a href="https://github.com/h5bp/mothereffinganimatedgif" class="button pill icon fork" rel="external">Fork Project</a>
<li>
</ul>
</header>
<div id="main" role="main">
<div class="top">
<div class="files">
<div id="inimglist" class="clearfix"></div>
</div>
<div class="controls">
<span class="size">
<label>Width:</label>
<input type=range max=100 min=1 value=100><output></output>
</span>
<span class="rate">
<label>Frame Delay:</label>
<input type=range max=600 min=1 value=300><output></output>
</span>
<!--
<span class="quality">
<label>Quality:</label>
<input type=range max=10 min=1 value=3><output></output>
</span>
-->
<a href="#" class="clear">Clear</a>
</div>
</div>
</div>
<div id="dropArea">
<h2 class='support'><span>Drag and <em>Drop</em> images here</span></h2>
<h2 class='nosupport'>Your browser doesn't support FileReader, Drag and Drop, or some other modern required features. :(</h2>
</div>
<div id='results'>
<h2 class='onlyfiles'>
<button class='play'>Animate</button>
<button class='clear'>Reset</button>
<a id="downloadlink" href="">Download GIF</a>
<a id="sharelink" href="">Post to imgur</a>
</h2>
<img id="animresult"/>
</div>
<footer id="footer" role="contentinfo">
<div id="html5-badge">
<a href="https://www.w3.org/html/logo/"><img src="https://www.w3.org/html/logo/badge/html5-badge-h-css3-device-performance-semantics-storage.png" width="261" height="64" alt="HTML5 Powered with CSS3 / Styling, Device Access, Performance & Integration, Offline & Storage, and Semantics" title="HTML5 Powered with CSS3 / Styling, Device Access, Performance & Integration, Semantics, and Offline & Storage"></a>
</div>
<p>Made by the crew behind <a href="https://github.com/h5bp/lazyweb-requests/issues/53">lazyweb-requests#53</a></p>
</footer>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="assets/js/libraries/jquery.base64.min.js"></script>
<script src="assets/js/libraries/jQueryRotateCompressed.js"></script>
<script src="assets/js/libraries/filereader.js"></script>
<script src="assets/js/libraries/modernizr.js"></script>
<script src="assets/js/libraries/html5slider.js"></script>
<script src="assets/js/libraries/underscore-min.js"></script>
<script src="assets/js/libraries/backbone-min.js"></script>
<script src="assets/js/libraries/backbone.nopersistence.js"></script>
<script src="assets/js/share.js"></script>
<script src="assets/js/mfanimated.js"></script>
<script src="assets/js/models.js"></script>
<script src="assets/js/ui.js"></script>
<script src="assets/js/startup.js"></script>
<script>
var _gaq=[['_setAccount','UA-18857974-3'],['_trackPageview']];
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];
g.src=('https:'==location.protocol?'//ssl':'//www')+'.google-analytics.com/ga.js';
s.parentNode.insertBefore(g,s)}(document,'script'));
</script>
</body>
</html>