This repository has been archived by the owner on Dec 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
viduploader.html
65 lines (49 loc) · 2.66 KB
/
viduploader.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>CRYPTOMURALS DAPP</title>
<meta name="description" content="CryptoMurals NFTs marketplace" />
<meta name="keywords" content="buy and sell NFTs curated contents" />
<meta name="author" content="Xunorus" />
<link rel="shortcut icon" href="favicon.ico">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"/>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"/>
<link href="css/hamburgers.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/base.css" />
<script>document.documentElement.className="js";var supportsCssVars=function(){var e,t=document.createElement("style");return t.innerHTML="root: { --tmp-var: bold; }",document.head.appendChild(t),e=!!(window.CSS&&window.CSS.supports&&window.CSS.supports("font-weight","var(--tmp-var)")),t.parentNode.removeChild(t),e};supportsCssVars()||alert("Please view this demo in a modern browser that supports CSS Variables.");</script>
<script src="https://cdn.jsdelivr.net/npm/web3@latest/dist/web3.min.js"></script>
<script src="https://unpkg.com/moralis/dist/moralis.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/sweetalert2.all.min.js"></script>
</head>
<body>
<!-- HEADER -->
<header>
<button class="hamburger hamburger--collapse" type="button" id="button" onclick="connect();" value="before">
<span class="hamburger-box">
<span class="hamburger-inner"></span>
</span>
</button>
<img id="imgLogo" src="logo_cryptomurals.svg" />
<div class=" text-wrap" id="logg">
</div>
</header>
<div class="container">
<div id="app" class="modal-content" >
<div class="title">IPFS MEDIA UPLOADER</div>
<div id="success_message"></div>
<div class="form_element">
<input type="file" class="form-control" accept="image/*,video/mp4,audio/*" id="input_image" name="image" placeholder="NFT image">
</div>
<div class="form_element">
<button class="btn btn-primary btn-lg btn-block" id="submit_button">Upload</button>
</div>
</div>
</div>
<script type="text/javascript" src="js/ipfsviduploader.js"></script>
</body>
</html>
<!-- upload file to ipfs -->
<!-- https://docs.nftport.xyz/docs/nftport/b3A6MjE0MDYzNzY-upload-a-file-to-ipfs -->