min.ie/links/templates/index.html

42 lines
1.8 KiB
HTML
Raw Normal View History

2015-01-17 23:54:26 +00:00
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
2015-01-18 14:21:52 +00:00
<link rel="stylesheet" href="/static/normalize.css" />
<link rel="stylesheet" href="/static/skeleton.css" />
2015-01-17 23:54:26 +00:00
<link rel="stylesheet" href="/static/style.css" />
<title>minie links!</title>
</head>
<body>
2015-01-18 14:21:52 +00:00
<div class="container">
2015-01-17 23:54:26 +00:00
<div id="logo">
<a href="/"><img src="/static/minie.png" alt="min.ie" /></a>
</div>
2015-01-18 14:21:52 +00:00
<form method="post" action="/">
{{form.url}}
<input type="submit" value="shrink" name="shrink" class="button-primary" />
</form>
2015-01-17 23:54:26 +00:00
{% if short_url %}
<form name="url">
2015-01-18 14:21:52 +00:00
<label onclick="document.url.short_link.focus();document.url.short_link.select();" for="short_link">Short Link</label>
<input type="text" class="u-full-width" name='short_link' value='{{short_url}}' readonly='true' onclick='javascript:this.focus();this.select();' />
2015-01-17 23:54:26 +00:00
</form>
{% endif %}
2015-01-18 14:21:52 +00:00
<div id="info">
<p>Makes links shorter, like this: <a href="https://min.ie/WVFdWJMa" target="_blank">https://min.ie/WVFdWJMa</a></p>
<p>Drag this bookmarklet <a onclick="return false" class="bookmark" href="javascript:void(window.location='http://min.ie/'+window.location)">min.ie</a> to your bookmark bar for quick shrinking. Then just click the bookmark on a page you want a short url for.</p>
</div>
<footer><a href="https://twitter.com/kudoz">Tweet</a> or <a href="https://github.com/kudos/min.ie">Fork</a>. &copy; <a href="http://crem.in">Jonathan Cremin</a></footer>
2015-01-17 23:54:26 +00:00
</div>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-66209-5";
urchinTracker();
</script>
</body>
</html>