-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
73 lines (69 loc) · 3.88 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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='UTF-8'>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<title>TmpFiles</title>
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css'
integrity='sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg=='
crossorigin='anonymous' referrerpolicy='no-referrer'/>
<link rel='stylesheet' href='/css/main.css'>
<link rel='icon' href='/img/favicon.svg' type='image/svg+xml'/>
<link rel='manifest' href='/manifest.json' type='application/manifest+json'/>
</head>
<body>
<nav class='navbar navbar-static-top navbar-expand-sm'>
<div class='container'>
<a class='d-none d-lg-block' href='/'>
<svg id='logo' xmlns='http://www.w3.org/2000/svg' fill='currentColor' viewBox='0 0 859 464'>
<path
d='M120.8 309.3c-13.3 0-20.8-10.7-20.8-24V140h63v-38h-63V28H47v74H0v38h47v151.5c0 44.9 26.8 63.2 71.2 63.2 8.6 0 20.2-2.4 31.7-5.5l16.6-48.4c-11.9 3.4-33.6 8.5-45.7 8.5zM225 102v28.9l9.6-28.9zm271.5-5.9c-29.6 0-61.8 21.9-75.1 46.9-7.6-36.2-35.2-46.4-71.4-46.4-30.6 0-62.2 19.4-75.5 45.4l-1.3-7L224 277.5V352h53V202.2c0-28.6 25.5-59.7 55.7-59.7 30.6 0 41.3 17.8 41.3 48.4V352h53V203.2c0-31.6 24.3-59.7 56.4-59.7 31.6 0 42.6 16.3 42.6 48.4V352h53V177.7c0-55.6-26.4-81.6-82.5-81.6zm266.7.5c-32.1 0-54.1 12.4-72.9 35.4l-10.7-30H640v362h53V325.1c16 24 39.4 31.6 70 31.6 57.1 0 96-38.2 96-94.3v-74.5c0-55.1-38.7-91.3-95.8-91.3zM806 262.4c0 31.6-27.7 47.4-55.8 47.4-30.6-.5-57.3-17.3-57.3-47.4v-73.9c0-27 27.7-44.9 57.3-44.9 30.1 0 55.8 13.3 55.8 46.4v72.4zm-639.4 38.4c4.4-1.3 7.4-2.3 8.1-2.7l11.7 38.3c-6.7 3.2-21.4 9-36.5 13.1L125.4 421h50.1L225 277.6V130.9l-58.4 169.9zm107-165.5L320.1 0h-50.6l-34.9 102H269'/>
</svg>
</a>
<ul class='navbar-nav col-12 col-md-4'>
<li class='nav-item'><a class='nav-link' href='/' accesskey='U'>Upload</a></li>
<li class='nav-item'><a class='nav-link' href='/download/' accesskey='D'>Download</a></li>
<li class='nav-item'><a class='nav-link' href='/delete/' accesskey='R'>Delete</a></li>
</ul>
</div>
</nav>
<main class='center col-12 col-md-7 col-xl-5'>
<h1 class='display-4 col' id='title'>Upload</h1>
<form id='upload-form' action='https://1.tmpfil.es/'>
<div class='input-group mb-3'>
<label for='file' aria-hidden='false' class='visually-hidden'>File</label>
<input name='file' class='form-control' type='file' id='file' required>
</div>
<div class='row'>
<div class='input-group mb-3'>
<label class='input-group-text' for='password'>Password</label>
<input class='form-control' name='password' type='password' id='password' autocomplete='new-password'
minlength='4'
maxlength='500' aria-label='password' placeholder='Optional'>
</div>
<div class='d-grid gap-2 d-md-flex justify-content-between'>
<div id='failure' class='text-danger'></div>
<button class='btn btn-success btn-lg' id='submit' disabled type='submit'>Upload</button>
</div>
</div>
<div id='captcha'></div>
</form>
<div id='success'>
<form>
<div class='input-group mb-3'>
<label class='input-group-text' for='url'>URL</label>
<input class='form-control' id='url' readonly autofocus/>
</div>
<div class='input-group mb-3'>
<label class='input-group-text' for='deletion-password'>Deletion Password</label>
<input class='form-control' id='deletion-password' readonly/>
</div>
<button class='btn btn-success btn-lg' type='reset' onclick='location.reload()'>Back</button>
</form>
</div>
</main>
<div id='popup'></div>
<script defer src='/js/encryption.js'></script>
<script defer src='/js/upload.js'></script>
<script src='https://challenges.cloudflare.com/turnstile/v0/api.js?onload=onloadTurnstileCallback' defer></script>
</body>