-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdump.html
47 lines (45 loc) · 1.12 KB
/
dump.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
<!DOCTYPE html>
<html>
<head>
<style>
:root {
height: 100%;
font-family: sans-serif;
font-size: 48px;
}
#root {
display: flex;
flex-direction: row;
align-items: stretch;
height: 100%;
margin: 0;
}
#root > * {
flex: 1 0 auto;
}
#drop {
display: flex;
flex-direction: column;
align-items: center;
height: 100%;
justify-content: center;
}
#json {
font-size: 12px;
}
</style>
</head>
<body id="root">
<div id="drop">
drop file
<progress id="progress"></progress>
</div>
<div>
<input disabled id="input" pattern="0x[0-9a-f]{8}">
<button disabled id="run">Read</button>
<pre id="json">
</pre>
</div>
</body>
<script src="dump.js"></script>
</html>