Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 7556ad222c
Fetching contributors…

Cannot retrieve contributors at this time

55 lines (53 sloc) 2.413 kb
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Simple uploader - by Calvein</title>
<link href="http://fonts.googleapis.com/css?family=Pacifico&text='Simple uploader'" rel="stylesheet">
<link href="http://necolas.github.com/normalize.css/2.0.1/normalize.css" rel="stylesheet">
<link href="style.css" rel="stylesheet">
</head>
<body>
<header>
<h1>Simple uploader</h1>
<h2>By <a href="http://twitter.com/Calvein">Calvein</a> based on the original idea by <a href="http://twitter.com/jessedodds">Jesse Dodds</a></h2>
</header>
<form>
<div id="uploader">
<figure><div></div></figure><!--
--><label>
Choose a file...
</label>
<input type=file id=file><!--
--><progress max=100 value=30></progress>
<ul>
<li>Complete</li>
<li><a href=#>Remove</a></li>
</ul>
</div>
</form>
<p>
It's done in plain JavaScript and CSS3, there is no images.<br>The pattern comes from <a href="http://subtlepatterns.com/">Subtle Patterns</a>,
the icons are edited version of <a href="http://twitter.com/necolas">Nicolas Gallagher</a>'s <a href="http://nicolasgallagher.com/pure-css-gui-icons/">ones</a>.<br>
It works only (well I only tested those) on Chrome and Firefox.
</p>
<hr>
<footer>
Get the <img src="http://dribbble.com/favicon.ico" alt="Dribbble"> <a href="http://dribbble.com/shots/251571-Image-upload-idea">shot</a> |
Get the <img src="https://github.com/favicon.ico" alt="GitHub"> <a href="https://github.com/Calvein/Simple-uploader">code</a> |
<a href="http://twitter.com/Calvein" class="twitter-follow-button" data-show-count="false">Follow @calvein</a>
</footer>
<script src="http://platform.twitter.com/widgets.js"></script>
<script src="script.js"></script>
<script>
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-25537500-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.