forked from sudokode/pbwww
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
153 lines (137 loc) · 6.79 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html>
<head>
<title>pb - Hello phrik</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="icon" type="image/png" href="/static/images/ptpb-32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/static/images/ptpb-128.png" sizes="128x128" />
<link rel="icon" type="image/png" href="/static/images/ptpb-512.png" sizes="512x512" />
<link href="/static/css/pbs.css" type="text/css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css" type="text/css" rel="stylesheet">
<link href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.37/css/bootstrap-datetimepicker.min.css" type="text/css" rel="stylesheet">
<script src="//code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.11.1/moment.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.17.37/js/bootstrap-datetimepicker.min.js"></script>
<script id="index-script" src="/js/index.js"></script>
<style id="index-style"></style>
</head>
<body>
<div id="stash" class="hidden" aria-hidden="true">
<div class="alert alert-info fade in" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
</div>
</div>
<div class="navbar-fixed-top">
<div class="progress hidden">
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuemin="0" aria-valuemax="100">
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="text-center">
<h1 class="page-header"><a href="https://pybin.pw/" target="_blank">pybin.pw</a></h1>
<h3>A website to paste shit</h3>
<p class="lead small">You're welcome</p>
</div>
</div>
<form id="paste-form" enctype="multipart/form-data" method="POST" action="/">
<div id="alert-col" class="col-sm-12">
</div>
<div class="col-sm-12 form-group">
<textarea id="content" name="content" class="form-control paste-content" autofocus="autofocus"></textarea>
<div id="filename" class="hidden well text-center"><h4></h4></div>
</div>
<div class="col-xs-6 col-sm-6 form-inline form-group">
<div class="form-group">
<button id="paste" type="submit" class="btn btn-primary btn-block" data-method="post">
Paste
<span class="fa fa-spin fa-spinner hidden"></span>
</button>
</div>
<div class="form-group">
<input type="file" id="file-input" class="sr-only">
<button id="file" type="submit" class="btn btn-default btn-block" disabled="disabled">
Upload File
<span class="fa fa-spin fa-spinner hidden"></span>
</button>
</div>
<div class="form-group">
<button id="shorturl" type="submit" class="btn btn-default btn-block" formaction="/u">
Short URL
<span class="fa fa-spin fa-spinner hidden"></span>
</button>
</div>
</div>
<div class="col-xs-6 col-sm-6 form-inline form-group text-right">
<div class="form-group">
<div class="btn-group btn-block">
<input id="private" name="private" class="api-input hidden" type="checkbox" value="1">
<label for="private" class="btn btn-default btn-block">Private</label>
</div>
</div>
<div class="form-group">
<button id="clear" type="reset" class="btn btn-default btn-block">Clear</button>
</div>
</div>
<div class="col-xs-6 col-sm-6 col-sm-push-6 form-group">
<div class="form-group">
<label for="sunset" class="sr-only">Expires</label>
<div class="input-group" id="sunset">
<input type="text" class="form-control api-input" id="datetime" name="sunset" placeholder="Expires">
<input type="text" class="form-control api-input hidden ignore-disable" name="sunset" placeholder="Expires (seconds)" disabled="disabled">
<span id="swap" class="input-group-addon">
<span class="fa fa-calendar"></span>
<span class="fa fa-clock-o hidden"></span>
</span>
</div>
</div>
<div class="form-group">
<label for="label" class="sr-only">Label</label>
<input type="text" id="label" class="form-control" placeholder="Label" disabled="disabled">
</div>
</div>
<div class="col-xs-12 col-sm-6 col-sm-pull-6 form-inline form-group">
<div class="form-group">
<div class="input-group">
<input id="pasteid" class="form-control" placeholder="paste ID" disabled="disabled">
<div class="input-group-btn">
<button id="load" type="submit" class="btn btn-default" data-uri="#pasteid" disabled="disabled">Load
<span class="fa fa-spin fa-spinner hidden"></span>
</button>
</div>
</div>
</div>
</div>
<div class="col-xs-12 col-sm-6 col-sm-pull-6 form-inline form-group">
<div class="form-group">
<div class="input-group">
<input id="uuid" class="form-control" placeholder="paste UUID" disabled="disabled">
<div class="input-group-btn">
<button id="update" type="submit" class="btn btn-default" data-uri="#uuid" data-method="put" disabled="disabled">
Update
<span class="fa fa-spin fa-spinner hidden"></span>
</button>
</div>
<div class="input-group-btn">
<button id="delete" type="submit" class="btn btn-default" data-uri="#uuid" data-method="delete" disabled="disabled">
Delete
<span class="fa fa-spin fa-spinner hidden"></span>
</button>
</div>
</div>
</div>
</div>
</form>
</div>
<footer class="footer">
<div class="container">
<p class="text-muted text-center small">Send all complaints <a href="https://github.com/pybin-pw/pbwww" target="_blank">here</a></p>
</div>
</footer>
</div>
</body>
</html>