-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathindex.html
62 lines (58 loc) · 1.91 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
<!DOCTYPE html>
<html>
<head>
<title>Shortly</title>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap.min.css" />
<style>
body {
padding-top: 60px;
}
input, textarea, button {
font: 15px 'Monaco', 'Bitstream Vera Sans', 'Courier', monospace;
}
textarea {
padding: 10px;
width: 100%;
height: 400px;
}
#instructions {
margin-top: 2em;
}
</style>
<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap-responsive.min.css" />
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="vendor/jquery-1.7.1.js"></script>
<script type="text/javascript" src="vendor/base64.js"></script>
<script type="text/javascript" src="vendor/rawinflate.js"></script>
<script type="text/javascript" src="vendor/rawdeflate.js"></script>
<script type="text/javascript" src="lib/shortly.js"></script>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/">Shortly</a>
<p class="navbar-text pull-left">Serverless pastebin service</p>
<p class="navbar-text pull-right"><a href="https://github.com/lucaspiller/shortly">Fork me on GitHub</a></p>
</div>
</div>
</div>
<div class="container">
<div>
<textarea id="input-field"></textarea>
<button id="save-button" class="btn btn-primary btn-large">Save as URL</button>
</div>
<div id="instructions">
<h2>Instructions</h2>
<ol>
<li>Paste code into the text area.</li>
<li>Click <em>Save as URL</em>.</li>
<li>Copy the URL from the address bar.</li>
<li>Share!</li>
</ol>
</div>
</div>
</body>
</html>