-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
61 lines (58 loc) · 3.53 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>up2ipfs</title>
<meta name="keywords" content="IPFS">
<link rel="stylesheet" href="./static/style.css">
<script src="https://fastly.jsdelivr.net/npm/jquery@latest/dist/jquery.min.js"></script>
<script src="./static/file.js" defer></script>
</head>
<body>
<input id="file" type="file" multiple style="display: none;">
<div class="container">
<div class="upload">
<div class="title">
Up2IPFS<small style="font-size:12px;">(Up files to ipfs)</small>
</div>
<div class="content" id="dragbox">
<svg class="icon" viewBox="0 0 1335 1024" xmlns="http://www.w3.org/2000/svg">
<path
d="M1097.060174 392.125217C1073.730783 172.966957 893.261913 0.378435 666.089739 0.378435c-227.127652 0-415.610435 171.920696-430.948174 391.746782C101.910261 415.454609 0 525.356522 0 666.601739c0 149.147826 125.239652 274.476522 274.476522 274.476522h195.828869v-78.669913H274.476522a193.691826 193.691826 0 0 1-195.940174-195.806609c0-102.021565 70.678261-180.580174 172.588522-195.917913l54.561391-8.013913 8.013913-62.553043c16.005565-180.580174 172.588522-321.157565 352.389565-321.157566 180.580174 0 337.029565 141.356522 352.389565 321.157566v62.553043l62.664348 8.013913c101.910261 16.005565 172.477217 93.896348 172.477218 195.917913 0 109.901913-85.904696 195.806609-195.806609 195.806609h-195.917913v78.580869h196.029217c149.147826 0 274.476522-125.261913 274.476522-274.476521 0-141.133913-101.999304-259.072-235.25287-274.387479"
fill="#909399"></path>
<path
d="M612.218435 364.766609l1.335652 2.003478L389.698783 590.58087l55.229217 55.362782 181.938087-181.938087V1018.88h78.558609v-78.58087h156.471652-156.471652V458.039652l183.808 183.919305 55.340521-55.340522-277.147826-277.058783-55.229217 55.229218z m-141.913044 575.666087h156.471652-156.716521 0.222608z"
fill="#909399"></path>
</svg>
<p class="desc">Click / Paste / Drag to upload</p>
</div>
</div>
<div class="filelist">
<div class="button-container">
<div class="select-group">
<label for="gatewaySelect">Gateway:</label>
<select id="gatewaySelect" onchange="changeGateway(this);">
<option value="https://i0.img2ipfs.com">img2ipfs</option>
<option value="https://cdn.ipfsscan.io">ipfsscan</option>
<option value="https://gateway.v2ex.pro">v2ex.pro</option>
<option value="https://ipfs.io">ipfs.io</option>
<option value="http://127.0.0.1:8080">localhost</option>
</select>
</div>
<button onclick="copyAllLinks();" name="xkx" id="copyAll" class="button">Copy All</button>
</div>
<div class="list"></div>
</div>
</div>
<div id="footer" style="position:fixed;width: 100%;text-align: center;bottom: 0px;display: block;">
<div style="height: 20px">
<div class="info">
<a href="https://github.com/tlze/up2ipfs">This project</a> |
<a href="https://ipfs.github.io/public-gateway-checker/">More gateway</a>
</div>
</div>
© 2023-2024
</div>
</body>
</html>