-
Notifications
You must be signed in to change notification settings - Fork 3
/
home.html
236 lines (210 loc) · 11.7 KB
/
home.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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en" manifest="/appcache/paste.manifest"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en" manifest="/appcache/paste.manifest"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en" manifest="/appcache/paste.manifest"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en" manifest="/appcache/paste.manifest"> <!--<![endif]-->
<head>
<!-- Basic Page Needs
================================================== -->
<meta charset="utf-8">
<title>Paste</title>
<meta name="description" content="Paste app for app.net">
<meta name="author" content="@mcdemarco">
<!-- Mobile Specific Metas
================================================== -->
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<!-- CSS
================================================== -->
<link rel="stylesheet" href="/css/base.css">
<link rel="stylesheet" href="/css/skeleton.css">
<link rel="stylesheet" href="/css/layout.css">
<link rel="stylesheet" href="/css/paste.css">
<link rel="stylesheet" title="Pojoaque" href="/css/libs/pojoaque.css">
<link rel="alternate stylesheet" title="Highlight.js" href="/css/libs/default.css">
<link rel="alternate stylesheet" title="Google Code" href="/css/libs/googlecode.css">
<link rel="alternate stylesheet" title="Tomorrow Night" href="/css/libs/tomorrow-night.css">
<link rel="alternate stylesheet" title="XCode" href="/css/libs/xcode.css">
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Favicons & Apple Icons
================================================== -->
<link rel="shortcut icon" href="images/favicon.ico">
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
<!-- need images -->
<link rel="apple-touch-icon" sizes="144x144" href="images/apple-touch-icon-144x144.png">
<link href="http://paste-app.net/images/apple-touch-startup-image-320x460.png"
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)"
rel="apple-touch-startup-image"><!-- iPhone -->
<link href="http://paste-app.net/images/apple-touch-startup-image-640x920.png"
media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"><!-- iPhone (Retina) -->
<link href="http://paste-app.net/images/apple-touch-startup-image-640x1096.png"
media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"><!-- iPhone 5 -->
<link href="http://paste-app.net/images/apple-touch-startup-image-768x1004.png"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 1)"
rel="apple-touch-startup-image"><!-- iPad -->
<link href="http://paste-app.net/images/apple-touch-startup-image-1024x748.png"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 1)"
rel="apple-touch-startup-image"><!-- iPad -->
<link href="http://paste-app.net/images/apple-touch-startup-image-1536x2008.png"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: portrait) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"><!-- iPad (Retina) -->
<link href="http://paste-app.net/images/apple-touch-startup-image-2048x1496.png"
media="(device-width: 768px) and (device-height: 1024px) and (orientation: landscape) and (-webkit-device-pixel-ratio: 2)"
rel="apple-touch-startup-image"><!-- iPad (Retina) -->
<!-- JS
================================================================================================= -->
<!--script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" ></script-->
<script src="/js/libs/jquery-1.10.2.min.js"></script>
<script src="/js/libs/jquery.mustache.js"></script>
<script src="/js/libs/purl.js"></script>
<script src="/js/libs/highlight.pack.js"></script>
<script src="/js/libs/appnet.js"></script>
<script src="/js/config.js"></script>
<script src="/js/main.js"></script>
<script>
$(document).ready(initialize);
</script>
</head>
<body>
<!-- Primary Page Layout
================================================== -->
<div class="container">
<div class="sixteen columns">
<h1 class="remove-bottom" style="margin-top: 40px"><a href="http://paste-app.net/"><img src="/images/banner-358x148.png" width="179" height="74" alt="Paste"/></a></h1>
</div>
<div class="fourteen columns">
<h5>A clipboard for app.net</h5>
</div>
<div class="two columns" style="text-align:right;">
<button class="loggedIn" id="logOutButton" style="display:none;margin-top:-10px;" onclick="logout();">Log Out</a>
</div>
<div class="sixteen columns">
<hr />
<h3 class="about">About Paste</h3>
<p class="loggedOut" style="display:none;">Paste allows you to create and view short text clippings using <a href="http://app.net/">app.net</a>. <a href="#" id="more" onclick="toggleAbout();">[more]</a>
<p class="about">
Paste is a pasteboard/pinboard running on the social networking platform <a href="http://app.net/">app.net</a>.
Each paste has a public link that can be viewed without logging in to app.net, as well as a "private" link for use by other app.net users and apps. Logged-in users will also see a list of their recent pastes. To create pastes, you will need a (free) app.net account.
</p>
<p class="about">
Pastes require a description; a default description is provided for you. Pastes may also have titles, paste text, and a type for the paste text (used for display and highlighting of the paste text). Paste tags have been replaced by hashtags in the description.
</p>
<p class="about">
By using Paste you agree to our <a href="/tos.html">Terms of Service</a> and <a href="/privacy.html">Privacy Policy</a>.
</p>
<p class="about">
Paste is the brainchild of <a href="https://alpha.app.net/duerig">Jonathon Duerig</a>. This version is maintained and hosted by <a href="https://alpha.app.net/mcdemarco">M. C. DeMarco</a>. For more information and help, see the <a href="/support.html">support page</a>.
</p>
</div>
<div id="overview" class="sixteen columns">
<div id="pasteError"></div>
<div id="yourPaste"><p class="loggedOut" style="display:none;">To begin:</p></div>
<div id="loginRequest" class="loggedOut" style="display:none;">
<a href='' class='adn-button' data-type='authorize_v2' data-width="145" data-height="22" >Authorize with App.net</a><script>(function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src='//d2zh9g63fcvyrq.cloudfront.net/adn.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'adn-button-js'));</script>
<p>An App.net account is required to create new pastes. You can create an account and sign in by clicking this button.</p>
</div>
<div id="newPaste" class="loggedIn" style="display:none;">
<h3>New Paste</h3>
<div>
<form id="paste-create">
<input placeholder="Paste Title (Optional)" id="paste-title" name="title" style="width:75%;" />
<select id="paste-content_type" name="content_type" style="margin-bottom:3px;display:inline-block;">
<option value="" selected>Paste type (optional)</option>
<option value="text">Plain text</option>
<option value="markdown">Markdown</option>
<option disabled>---</option>
<option value="actionscript">ActionScript</option>
<option value="apache">Apache</option>
<option value="applescript">AppleScript</option>
<option value="asciidoc">AsciiDoc</option>
<option value="bash">Bash</option>
<option value="c">C</option>
<option value="cpp">C++</option>
<option value="cs">C#</option>
<option value="css">CSS</option>
<option value="clojure">Clojure</option>
<option value="coffeescript">CoffeeScript</option>
<option value="d">D</option>
<option value="delphi">Delphi</option>
<option value="diff">diff</option>
<option value="django">Django</option>
<option value="erlang">Erlang</option>
<option value="fsharp">F#</option>
<option value="go">Go</option>
<option value="haml">Haml</option>
<option value="handlebars">Handlebars</option>
<option value="haskell">Haskell</option>
<option value="html">HTML</option>
<option value="http">HTTP</option>
<option value="ini">ini</option>
<option value="java">Java</option>
<option value="javascript">JavaScript</option>
<option value="json">JSON</option>
<option value="lisp">Lisp</option>
<option value="lua">Lua</option>
<option value="matlab">Matlab</option>
<option value="objectivec">Objective C</option>
<option value="php">PHP</option>
<option value="perl">Perl</option>
<option value="prolog">Prolog</option>
<option value="python">Python</option>
<option value="r">R</option>
<option value="ruby">Ruby</option>
<option value="rust">Rust</option>
<option value="scala">Scala</option>
<option value="scheme">Scheme</option>
<option value="smalltalk">Smalltalk</option>
<option value="sql">SQL</option>
<option value="tex">TeX</option>
<option value="vbscript">VBScript</option>
<option value="vbnet">VB.Net</option>
<option value="xml">XML</option>
<option disabled>---</option>
<option value="code">other</option>
</select>
<textarea placeholder="Paste Text (Optional)" id="paste-text" name="content" rows="7"></textarea>
<div class="formDescription">
<textarea placeholder="Paste Description (Required)" title="Paste Description (Required)" id="paste-description" name="description" rows="4"></textarea>
</div>
<div class="formCounter">
<span id="pasteCounter"></span>
</div>
<div class="formButtons">
<button>Save</button> <button onclick="event.preventDefault();clearForm();">Clear</button>
</div>
</form>
</div>
</div>
<div id="recentPastesHeader" class="loggedIn" style="display:none;">
<hr />
<h3>Recent Pastes</h3>
</div>
</div>
<!-- two columns of recent pastes -->
<div class="eight columns" id="col1">
</div>
<div class="eight columns" id="col2">
</div>
<div class="sixteen columns" id="morePastes" style="text-align:right;">
<button class="loggedIn" style="display:none;" onclick="morePastes();">Load More Pastes</button>
</div>
<footer class="sixteen columns">
<div>
<a href="#" onclick="toggleAbout();">about</a>
<a href="http://app.net/"><img src="/images/[email protected]" width="18px" height="18px" /></a>
<a href="http://paste-app.net">paste-app.net</a>
<a href="http://app.net/"><img src="/images/[email protected]" width="18px" height="18px" /></a>
<a href="https://alpha.app.net/mcdemarco" target="_blank">@mcdemarco</a>
</div>
</footer>
</div><!-- container -->
<!-- End Document
================================================== -->
</body>
</html>