-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (42 loc) · 1.49 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>PixelCrypt</title>
<link rel="stylesheet" href="/src/styles.css" />
</head>
<body>
<canvas id="Render"></canvas>
<div id="Header">
<h1>PixelCrypt</h1>
</div>
<div id="Content">
<div id="Preview">
<img id="PreviewImage" />
</div>
<div id="tabHolder">
<div id="FilePicker" class="Tab">
<h1>File Picker</h1>
<input type="file" id="FileInputPicker" accept="image/*" style="display: none" />
<button id="FilePickerButton">Choose File</button>
<label for="FileInputPicker" id="FilePickerLabel">No file chosen</label>
</div>
<div id="Encode" class="Tab">
<h1>Encode</h1>
<textarea id="EncodeText" placeholder="Text to encode into the image"></textarea>
<br>
<button id="EncodeButton">Encode</button>
</div>
<div id="Decode" class="Tab">
<h1>Decode</h1>
<button id="DecodeButton">Decode</button>
<br>
<textarea id="DecodedText" placeholder="Decoded text" readonly></textarea>
</div>
</div>
</div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>