-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (43 loc) · 1.71 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Legacy to MiniMessage Converter</title>
<meta name="description" content="A simple website that translates legacy color codes into MiniMessage format.">
<meta name="author" content="Uhuli">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script language="javascript" type="text/javascript" src="main.js"></script>
<link rel="stylesheet" href="style.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap" rel="stylesheet">
</head>
<body>
<h1>Legacy to MiniMessage Converter</h1>
<textarea id="text" name="text" placeholder="Paste your legacy text here..."></textarea>
<div class="theme-toggle">
<input type="checkbox" id="themeToggle" name="themeToggle">
<label for="themeToggle" class="theme-icon"></label>
</div>
<div class="settings">
<div class="setting">
<label for="concise">Concise MiniMessage</label>
<input type="checkbox" id="concise" name="concise">
<span class="sub">(<u> vs <underlined>)</span>
</div>
<div class="setting">
<label for="char">Formatting Character</label>
<select name="char" id="char">
<option value="&">&</option>
<option value="§">§</option>
</select>
</div>
<div class="setting">
<label for="rgb">Convert RGB</label>
<input type="checkbox" id="rgb" name="rgb" checked>
<span class="sub">(&#RRGGBB to <#RRGGBB>)</span>
</div>
<!-- Additional settings can be added here -->
</div>
<div id="preview">Live Preview will appear here...</div>
<button id="copyButton">Copy to Clipboard</button>
</body>
</html>