-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
39 lines (39 loc) · 2.55 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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Multi base transcoder</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<link rel="stylesheet" href="stylesheet.css">
</head>
<body>
<div class="position-absolute top-50 start-50 translate-middle">
<div class="encoder">
<div class="input-group flex-nowrap margin-10">
<span class="input-group-text" id="addon-wrapping01">Text</span>
<input type="text" class="form-control" id="text_encode" placeholder="Only Ascii characters allowed" pattern="[A-Za-z0-9]" aria-describedby="addon-wrapping01">
<button type="button" class="btn" id="paste_in_text">Paste in text</button>
</div>
<div class="input-group flex-nowrap margin-10">
<span class="input-group-text" id="addon-wrapping02">Hex</span>
<input type="text" class="form-control" id="text_hex" placeholder="Hexadecimal" pattern="[A-F0-9]" readonly aria-describedby="addon-wrapping02">
<button type="button" class="btn" id="paste_in_hex">Paste in HEX</button>
</div>
<div class="input-group flex-nowrap margin-10">
<span class="input-group-text" id="addon-wrapping03">Base65536</span>
<input type="text" class="form-control" id="text_encoded" placeholder="Decode only" readonly aria-describedby="addon-wrapping03">
<button type="button" class="btn" id="paste_in_text_encoded">Paste encoded text</button>
</div>
<div class="form-check margin-10" id="text_output_selector" aria-hidden=true hidden>
<input type="checkbox" class="form-check-input" style="margin-left : 30px; margin-right : 30px;" id="text_output">
<lable class="form-check-label" style="margin-left : 30px; margin-right : 30px;" for="flexCheckDefault">Text output</lable>
</div>
<button type="submit" class="btn" id="encode">Encode</button>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="index.js"></script>
</div>
</body>
</html>