-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
56 lines (51 loc) · 1.88 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'">
<title>Shatter Map Utility Tool</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="content">
<div class="left">
<h1><span>Shatter</span><span>Map</span> to BMP</h1>
<div class="pathInput">
<label>Path</label>
<input id="bmpOutputPathInput" type="text" />
<button id="bmpOutputPathButton" type="button">Browse</button>
</div>
<textarea id="shatterMapInput"></textarea>
<div class="bottom">
<p>
Copy the <ShatterMap> contents in to this text area,
and select a path where to write the BMP file.
</p>
<button id="bmpOutputSubmit" type="button">Save</button>
</div>
</div>
<div class="right">
<h1>BMP to <span>Shatter</span><span>Map</span></h1>
<div class="pathInput">
<label>Path</label>
<input id="bmpInputTextInput" type="text" />
<button id="bmpInputButton" type="button">Browse</button>
</div>
<div class="shattedMapOutputContainer">
<textarea id="shatterMapOutput"></textarea>
<button id="shatterMapOutputCopyButton" type="button">📋</button>
</div>
<div class="bottom">
<p>
Select a BMP file, and the <ShatterMap> will appear above.
</p>
</div>
</div>
<div id="toast">
<button id="closeToastButton">❌</button>
<div id="toastText"></div>
</div>
</div>
<script src="./renderer.js"></script>
</body>
</html>