-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
68 lines (61 loc) · 2.46 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
68
<!DOCTYPE html>
<html style="width: 100%; height: 100%;">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>hill cipher</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" media="screen" href="style.css" />
</head>
<body>
<div class="container">
<h1 class="title">Enter alphabetic</h1>
<div class="txtDiv">
<textarea name="alphabetics" id="alphaTxt" rows="20" disabled></textarea>
<div class="btnsDiv">
<button>a...z</button>
<button>A...Z</button>
<button>0...9</button>
</div>
</div>
<p class="info">Number of characters <span id="numCharTxt"></span></p>
<button id="okayBtn">okay!</button>
</div>
<div class="container hide">
<h1 class="title">your key is</h1>
<div class="matrixDiv">
<input type="text" value="17"disabled>
<input type="text" value="17"disabled>
<input type="text" value="5" disabled>
<input type="text" value="21"disabled>
<input type="text" value="18"disabled>
<input type="text" value="21"disabled>
<input type="text" value="2" disabled>
<input type="text" value="2" disabled>
<input type="text" value="19"disabled>
</div>
<button id="goBtn">GO!</button>
</div>
<div class="container hide">
<div class="tabsDiv">
<span class="operation_excute" alt="encryption icon" width="100" height="80" style="font-size: 30px;">encryption</span>
<span class="operation_excute" alt="decryption icon" width="100" height="80" style="font-size: 30px;">decryption</span>
</div>
<h2 id="title1">Enter Plain Text</h3>
<textarea cols="30" rows="7" id="txt1"></textarea>
<button id="actionBtn">encrypt</button>
<h2 id="title2">Cipher Text</h3>
<textarea cols="30" rows="7" id="txt2" disabled></textarea>
</div>
<div class="hide" id="alertContainer">
<div class="position-absolute" id="alert">
<span>
<!-- correct: class="fas fa-check text-success" warning: class="fas fa-times text-danger" -->
<i class="fas" id="alertIcon"></i>
</span>
<span id="alertMessage"></span>
</div>
</div>
<script src="main.js"></script>
</body>
</html>