-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
61 lines (48 loc) · 1.76 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">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>WebNWB</title>
<link rel="stylesheet" href="./styles.css">
<!-- Make Plotly Accessible -->
<script src='./external/plotly/plotly-2.9.0.min.js'></script>
<!-- Browser Import (local) -->
<script src="./dist/index.umd.js"></script>
<!-- Browser Import (remote) -->
<!-- <script src="https://cdn.jsdelivr.net/npm/webnwb@latest"></script> -->
</head>
<body>
<section>
<div id="options">
<button id="file">Load File</button>
<button id="get">Download</button>
<button id="save">Save</button>
<br/><br/>
<label>Stream Remote Files</label>
<input id="streaming" type="checkbox" checked><br/><br/>
<hr/>
<h2 id="dandiHeader">DANDI</h3>
<span><i id="dandiStatus">Loading dandisets...</i></span>
<div id="dandiDiv" style="display:none;">
<select id="dandi"></select>
<select id="assets"></select>
<button id="dandiButton">Get</button>
</div>
<hr/>
<h3>URL</h3>
<input id="url"></input>
<button id="urlButton">Get</button>
<h3>Samples</h3>
<select id="sampleSelect"></select>
<button id="sampleButton">Get</button>
<h3>Browser Storage</h3>
<select id="indexedDBSelect"></select>
<button id="indexedDBButton">Get</button>
</div>
<div id="editorDiv"></div>
</section>
</body>
<script src="./demo/index" type="module"></script>
</html>