-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
113 lines (107 loc) · 4.43 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
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="icon" type="image/x-icon" href="favicon.ico">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootswatch/5.1.0/materia/bootstrap.min.css"
integrity="sha512-UbcqXY5A2/3zERj9nrfx+dZUoI/i5wwF4dLhxefMzGRlq7ehXnPQp/HklTHjtnN6/vO6AfLWrsv1igEOqfv0Xg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<title>Mpilo | CyphrX</title>
<style>
textarea:disabled {
color: rgb(36, 36, 36) !important
}
nav, button:not(.btn-close):not([data-bs-dismiss]) {
background-image: none !important;
}
</style>
</head>
<body>
<div class="sticky-top">
<div class="px-2 w-100 text-center bg-primary text-light position-relative" data-banner>
<small>For now only encoding is supported!</small>
</div>
<nav class="navbar navbar-light bg-info">
<div class="container-md">
<div class="navbar-brand heading display-6" href="/">
<span class="text-danger" style="font-size: xx-large; font-weight: bold; font-family: roboto;">
CyphrX</span>
<span class="d-block fw-bold text-secondary" style="font-size: 15px; margin: 0; line-height: 0.5;">
by mpilo
</span>
</div>
<div class="d-flex"></div>
</div>
</nav>
</div>
<div data-container class="container pt-3">
<h6>transposition cyphr</h6>
<div class="card mb-5">
<div class="card-body">
<div class="form-floating mb-3">
<input data-key type="text" class="form-control" id="cyphr-key">
<label for="cyphr-key" class="form-label">cyphr key</label>
</div>
<div class="mb-3">
<textarea data-input class="form-control" placeholder="message to cyphr" id="cyphr-msg"
style="height: 120px"></textarea>
</div>
<div class="text-end my-2">
<button data-cyphr class="btn py-2 text-uppercase fw-bold btn-info rounded-pill">cyphr message</button>
</div>
</div>
</div>
<div data-output-card class="card mb-3 d-none">
<div class="mb-3 card-header">
<label for="order-opt" class="form-lable">change start order</label>
<select id="order-opt" data-cyphr-order class="form-select py-1" aria-label="change table order">
</select>
<!--help text-->
<div class="text-muted" style="font-size: 12px;">
<span class="text-muted">sequence or order of the first step</span>
</div>
</div>
<div class="card-body">
<p style="text-align: justify;" data-output class="card-text d-none"></p>
</div>
<div class="card-footer text-end">
<button class="btn btn-outline-info py-2 rounded-pill" data-bs-toggle="modal" data-bs-target="#cyphr-modal">cyphr
steps</button>
</div>
</div>
<div class="modal fade" id="cyphr-modal" tabindex="-1" aria-labelledby="steps" aria-hidden="true">
<div class="modal-dialog modal-xl modal-dialog-scrollable">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="steps">Cyphr steps</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<div class="mb-3">
<label for="order-opt" class="form-lable">add cyphr step</label>
<select id="order-opt" data-table-order class="form-select py-1" aria-label="change table order">
</select>
</div>
<div data-table></div>
<div data-table-sec></div>
</div>
<div class="modal-footer text-end">
<textarea disabled data-cyphr-output class="form-control" placeholder="cyphr output"
style="height: 100px"></textarea>
<button data-copy class="btn rounded-pill btn-info py-2">copy cyphr</button>
</div>
</div>
</div>
</div>
</div>
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-b5kHyXgcpbZJO/tY9Ul7kGkf1S0CWuKcCD38l8YkeH8z8QjE0GmW1gYU5S9FOnJ0"
crossorigin="anonymous"></script>
<!--transposition js file-->
<script src="transposition.js"></script>
</body>
</html>