-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (81 loc) · 2.59 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>ColumnarTransposition</title>
</head>
<body>
<div class="container">
<div class="title"><h1>Columnar Cipher</h1></div>
<div class="main">
<section class="controls-section">
<!-- button -->
<div class="type-controls">
<!-- encrypt -->
<label class="encrypt" for="encrypt">Encrypt</label>
<input
type="button"
id="encrypt"
value="encrypt"
name="btn-encrypt"
onclick="handleEncrypt()"
/>
<!-- decrypt -->
<label class="decrypt" for="decrypt">Decrypt</label>
<input
type="button"
id="decrypt"
value="decrypt"
name="btn-decrypt"
onclick="handleDecrypt()"
/>
</div>
<div class="controls-input">
<!-- plaintext -->
<div class="plaintext">
<label class="text" for="text">Plaintext</label>
<div class="input-plaintext">
<input type="text" id="plaintext" placeholder="Click here" />
</div>
</div>
<!-- keyword & Pad Char -->
<div class="keyword-padchar">
<div class="word">
<label for="keyword">Keyword</label>
<div class="input-keyword">
<input
type="text"
id="keyword"
value="KEY"
placeholder="Click here"
/>
</div>
</div>
<div class="word">
<label for="padchar">Pad Character (letter only)</label>
<div class="input-padchar">
<input
type="text"
id="padchar"
value="X"
placeholder="Click here"
/>
</div>
</div>
</div>
<!-- ciphertext -->
<div class="ciphertext">
<label class="text" for="text">Ciphertext</label>
<div class="input-ciphertext">
<input type="text" id="ciphertext" placeholder="Click here" />
</div>
</div>
</div>
</section>
</div>
</div>
<script src="script.js"></script>
</body>
</html>