forked from multimho/bedweter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
30 lines (30 loc) · 738 Bytes
/
index.html
File metadata and controls
30 lines (30 loc) · 738 Bytes
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<title>js-ipfs example</title>
<script src="build/bedweter.bundle.js"></script>
<style>
.content {
border: 1px solid black;
padding: 10px;
margin: 5px 0;
}
</style>
</head>
<body>
<h1>JS IPFS - Add data to IPFS from the browser</h1>
<textarea id="source">
</textarea>
<button id="store">add to ipfs</button>
<div>
<div>found in ipfs:</div>
<div class="content" id="hash">[ipfs hash]</div>
<div class="content" id="content">[ipfs content]</div>
</div>
<div>
<textarea id="foobar"></textarea>
<button id="read">read from ipfs</button>
</div>
</body>
</html>