-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (66 loc) · 2.12 KB
/
index.html
File metadata and controls
66 lines (66 loc) · 2.12 KB
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
66
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width,initial-scale=1">
<title>Numeric view</title>
<meta name="author" content="Mark Swoope">
<link rel="stylesheet" href="sanitize/sanitize.css">
<link rel="stylesheet" href="sanitize/typography.css">
<link rel="stylesheet" href="sanitize/forms.css">
<link rel="stylesheet" href="main.css">
<script defer src="ScalarStorage.js"></script>
<script defer src="main.js"></script>
</head>
<body>
<header>
<h1>Numeric View</h1>
<p>View binary representation of numeric values.</p>
</header>
<main>
<div class="flex">
<select id="signedness">
<option value="signed">Signed</option>
<option value="unsigned">Unsigned</option>
</select>
<select id="size">
<option value="8">8-bit</option>
<option value="16">16-bit</option>
<option value="32">32-bit</option>
<option value="64">64-bit</option>
</select>
<select id="type">
<option value="int">Integer</option>
<option value="float">Floating-point</option>
</select>
<select id="endianness">
<option value="big">Big endian</option>
<option value="little">Little endian</option>
</select>
</div>
<div class="flex">
<table class="block">
<tbody id="bits" class="block"><tr></tr></tbody>
</table>
</div>
<div class="flex">
<input id="clear" type="button" value="Clear">
<input id="flip" type="button" value="Flip">
<input id="shiftLeft" type="button" value="Shift left">
<input id="shiftRight" type="button" value="Shift right">
<input id="increment" type="button" value="Increment">
<input id="decrement" type="button" value="Decrement">
</div>
<div class="flex">
<div>
<label for="value">Value: </label>
<input id="value" type="text">
</div>
</div>
</main>
<footer>
<p>Created by Mark Swoope (<a href="mailto:markswoope@outlook.com">markswoope@outlook.com</a>).<br>
View on Github: <a href="https://github.com/Protovision/numeric-view/">https://github.com/Protovision/numeric-view/</a></p>
</footer>
</body>
</html>