-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
109 lines (106 loc) · 3.77 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Encoder Decoder</title>
<link rel="stylesheet" href="./Css/style.css" />
</head>
<body>
<div class="outer-wrapper">
<!-- navbar -->
<div class="nav-wrapper container">
<p class="nav-heading">CEASER CIPHER ENCODER DECORDER</p>
</div>
<!-- main body -->
<div class="main-outer-wrapper">
<div class="main-wrapper container">
<!-- plain text section -->
<div class="plain-text box" id="plain-text-wrapper">
<!-- plain text header -->
<div class="header">
<span>VIEW</span>
<h3>Plaintext</h3>
</div>
<!-- plain text body -->
<div class="plain-body">
<textarea
class="view-text-area"
style="height: 200px"
placeholder="Your Plain Text"
id="view-text-area"
></textarea>
</div>
</div>
<!-- config section -->
<div class="config box" id="config-wrapper">
<!-- config header section-->
<div class="header">
<ul class="cypher-list">
<li><button id="encode">ENCODE</button></li>
<li><button id="decode">DECODE</button></li>
</ul>
<h3>Ceaser cipher</h3>
</div>
<!-- shift number section -->
<div class="form">
<div class="shift">
<div class="field">
<label for="" class="field-label">SHIFT</label>
</div>
<div class="field-number">
<button class="btn-step-down" id="btn-step-down">
Step Down
</button>
<div class="number-input-wrapper">
<div class="number-display">
<span class="display-value" id="shift-value">1</span>
<span class="display-desc" id="display-desc">a→b</span>
</div>
</div>
<button class="btn-step-up" id="btn-step-up">Step Up</button>
</div>
</div>
<div class="field-text">
<label for="" class="field-alphabet field">ALPHABET</label>
<div class="alphabet-wrapper">
<span>abcdefghijklmnopqrstuvwxyz</span>
</div>
</div>
<!-- encod and decode button -->
<div class="encode-decode-btn-wrapper">
<button class="enc-dec-btn" id="enc-dec-btn">ENCODE</button>
</div>
.
</div>
</div>
<!-- cypher text container -->
<div class="cypher-text box" id="cypher-text-wrapper">
<!-- cypher text header -->
<div class="header">
<span>VIEW</span>
<h3>Ciphertext</h3>
</div>
<!-- cypher text body -->
<div class="cypher-body">
<textarea
class="view-text-area"
style="height: 200px"
placeholder="Your Cypher Text"
id="cypher-text-area"
></textarea>
</div>
</div>
</div>
</div>
<!-- footer section -->
<div class="footer-wrapper container">
<h3>Made by <a href="https://github.com/khageshwor/">khageshwor</a></h3>
</div>
</div>
<!-- scripts file -->
<script src="./Js/script.js"></script>
<script src="./Js/function.js"></script>
</body>
</html>