-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpaste_form.html
99 lines (93 loc) · 1.94 KB
/
paste_form.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
<html>
<head>
<title>Paste</title>
<link
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700"
rel="stylesheet"
/>
</head>
<body>
<h1>Uploader Paste</h1>
<form action="/paste" method="POST">
<textarea name="text" rows="10" cols="50"></textarea>
<input
type="text"
placeholder="Leave blank for random"
name="filename"
placeholder="File Name"
/>
<input type="password" name="key" placeholder="API Key" required />
<input type="submit" value="Upload" />
</form>
</body>
</html>
<style>
body {
font: 400 1em/1.5em "Roboto", sans-serif;
font-size: 13px;
line-height: 1.5;
color: #fafafa;
background-color: #141516;
padding: 10px;
}
h1 {
font-size: 2em;
font-weight: 500;
color: #fafafa;
margin: 0;
padding: 5px;
text-align: center;
}
form {
margin: 0 auto;
width: 90%;
}
input[type="submit"] {
margin: 5 auto;
display: block;
background-color: #101111;
color: #fafafa;
border: none;
border-radius: 3px;
font-family: "Roboto", sans-serif;
padding: 7px;
width: 30%;
}
input[type="submit"]:hover {
background-color: #1d1e1f;
}
input[type="password"] {
margin: 5 auto;
display: block;
background-color: #101111;
color: #fafafa;
border: none;
border-radius: 3px;
padding: 7px;
width: 30%;
font-family: "Roboto", sans-serif;
}
input[type="text"] {
margin: 5 auto;
display: block;
background-color: #101111;
color: #fafafa;
border: none;
border-radius: 3px;
padding: 7px;
width: 30%;
font-family: "Roboto", sans-serif;
}
textarea {
width: 100%;
height: 50%;
border-radius: 5px;
border: none;
background-color: #1d1e1f;
color: #fafafa;
font-family: "Roboto", sans-serif;
outline: none;
resize: none;
scrollbar-width: thin;
}
</style>