-
Notifications
You must be signed in to change notification settings - Fork 0
/
decrypt.html
72 lines (69 loc) · 3.32 KB
/
decrypt.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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>SecretMessage beta</title>
<script>
window.TextEncoder = window.TextDecoder = null;
</script>
<!-- Required for non-UTF encodings -->
<!-- <script src="https://morphar.github.io/secretmessage/js/encoding-indexes.js"></script> -->
<script src="https://morphar.github.io/secretmessage/js/encoding.js"></script>
<script src="https://morphar.github.io/secretmessage/js/es6-promise.auto.min.js"></script>
<link rel="stylesheet" href="https://morphar.github.io/secretmessage/css/bootstrap.min.css">
<link rel="stylesheet" href="https://morphar.github.io/secretmessage/css/main.css">
</head>
<body>
<nav class="navbar sticky-top navbar-light bg-light justify-content-center">
<a class="navbar-brand" href="https://morphar.github.io/secretmessage">
<img src="https://morphar.github.io/secretmessage/img/logo_small.svg" height="30" class="d-inline-block align-top" alt="">
Secret Message <sup class="text-success">beta</sup>
</a>
</nav>
<main role="main" class="container">
<p class="text-center">
To decrypt the message, please enter the pass phrase.
</p>
<form id="decryptform">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="input-group">
<div class="input-group-prepend">
<span class="input-group-text">Pass phrase</span>
</div>
<input autocomplete="off" size="50" type="password" name="decryptpass" id="decryptpass" class="form-control">
</div>
</div>
</div>
<div class="row justify-content-center" style="text-align: center;">
<div class="col-lg-auto"> </div>
</div>
<div class="row justify-content-center" style="text-align: center;">
<div class="col-lg-2">
<button type="submit" id="showmessage" class="btn btn-success" disabled>Show message</button>
</div>
</div>
<div class="row justify-content-center" style="text-align: center;">
<div class="col-lg-auto"> </div>
</div>
<div class="row justify-content-center">
<div class="col-lg-8">
<textarea style="width:100%;" class="form-control" rows="4" autocomplete="off" readonly name="message" id="message" placeholder="Your secret message"></textarea>
</div>
</div>
</form>
</main>
<footer class="footer fixed-bottom bg-light">
<div class="container justify-content-center">
<span class="text-muted" style="font-size:0.8em;">
<a href="https://github.com/morphar/secretmessage">GitHub</a>
<!-- Bla 🔒 Yadda -->
</span>
</div>
</footer>
<script type="text/javascript" src="https://morphar.github.io/secretmessage/js/security.js"></script>
<script type="text/javascript" src="https://morphar.github.io/secretmessage/js/main.js"></script>
</body>
</html>