-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
67 lines (61 loc) · 2.32 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
57
58
59
60
61
62
63
64
65
66
67
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>H</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/combine/npm/bootstrap@5.1.1,npm/darkreader@4.9.34"></script>
<link href="assets/style.css" rel="stylesheet">
<script src="assets/hh.js" type="text/javascript"></script>
<script src="assets/h.js" type="text/javascript"></script>
</head>
<body>
<div class="container-md py-5">
<div class="card">
<div class="card-header">
<h1>H Translator</h1>
<span>by <b>dnorhoj</b></span>
</div>
<div class="card-body">
<textarea class="form-control" id="h" placeholder="Welcome!"></textarea>
<div class="input-group py-2">
<button class="btn btn-outline-primary w-50" id="hhh">Hencode</button>
<button class="btn btn-outline-primary w-50" id="hhhh">Hdecode</button>
</div>
<div class="clipboard">
<button class="btn-clipboard" id="hhhhh">Copy</button>
</div>
<textarea class="form-control" id="hh"
placeholder="hHhHhHHHhHHhhHhHhHHhHHhhhHHhhhHHhHHhHHHHhHHhHHhHhHHhhHhHhhHhhhhH" disabled></textarea>
</div>
</div>
</div>
<div aria-live="polite" aria-atomic="true" class="position-relative"></div>
<div class="toast-container position-absolute top-0 end-0 p-3">
<div class="toast align-items-center text-white bg-success border-0" id="hhhhhh" role="alert" aria-live="assertive"
aria-atomic="true">
<div class="d-flex">
<div class="toast-body">
Copied!
</div>
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast"
aria-label="Close"></button>
</div>
</div>
<div class="toast align-items-center text-white bg-danger border-0" id="hhhhhhh" role="alert" aria-live="assertive"
aria-atomic="true">
<div class="d-flex">
<div class="toast-body">
Invalid input data!
</div>
<button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast"
aria-label="Close"></button>
</div>
</div>
</div>
</div>
</body>
</html>