-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
130 lines (126 loc) · 4.89 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>AES Encrypter</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width">
<link rel="stylesheet" href="node_modules/materialize-css/dist/css/materialize.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="css/print.css" media="print">
<script src="js/bundle.js"></script>
</script>
</head>
<body>
<div id="screen-content">
<div class="container">
<div class="row">
<div class="col s12">
<h4>AES Encrypter</h4>
</div>
<form class="col s12">
<div class="row">
<div class="col s12">
<div class="switch" id="encrypt-switch">
<label>
Encrypt
<input type="checkbox" id="encrypt-decrypt">
<span class="lever"></span>
Decrypt
</label>
</div>
</div>
</div>
<div class="row">
<div class="col s12">
<label id="title-label">Title</label>
<input id="title" class="materialize-textarea" type="text" />
</div>
</div>
<div class="row">
<div class="col s12">
<label id="note-label">Note</label>
<input id="note" class="materialize-textarea" type="text" />
</div>
</div>
<div class="row">
<div class="col s12">
<label id="textarea-label">Text to encrypt</label>
<textarea id="text" class="materialize-textarea"></textarea>
</div>
</div>
<div class="row">
<div class="col s12">
<label>Password</label>
<input id="password" type="password" class="validate">
</div>
</div>
<div class="row">
<div class="col s12">
<div class="switch">
<label>
Hide
<input type="checkbox" id="toggle-password">
<span class="lever"></span>
Show
</label>
</div>
</div>
</div>
<div class="row">
<div class="input-field col s6">
<button class="btn-large waves-effect waves-light full-width" id="submit">
<span>Encrypt</span>
<i class="material-icons right">lock</i>
</button>
</div>
<div class="input-field col s6">
<button class="btn-large waves-effect waves-light blue-grey lighten-5 full-width" id="clear-form">
<span class="black-text">Clear Form</span>
<i class="material-icons right black-text">clear</i>
</button>
</div>
</div>
</form>
<div class="col s12 hidden" id="output-container">
<label id="output-label">Encrypted output</label>
<div class="card-panel white">
<span class="black-text wrap" id="output-text"></span>
</div>
<a class="btn-large btn-floating waves-effect waves-light" id="copy-output" data-clipboard-target="#output-text">
<i class="material-icons right">content_copy</i>
</a>
<a class="btn-large btn-floating waves-effect waves-light" id="show-qr">
<span>QR</span>
</a>
<a class="btn-large btn-floating waves-effect waves-light" id="print">
<i class="material-icons right">print</i>
</a>
</div>
</div>
</div>
<div id="qr-modal" class="modal modal-fixed-footer">
<div class="modal-content">
<div id="qrcode"></div>
</div>
<div class="modal-footer">
<a href="#!" id="close-modal" class="modal-action modal-close waves-effect waves-green btn-flat">Close</a>
</div>
</div>
<div id="modal-overlay"></div>
</div><!-- screen -->
<div id="print-content">
<h3 id="print-title" class="overflow-wrap"></h3>
<label>Note</label>
<p id="print-note" class="overflow-wrap"></p>
<label>Encrypted Data</label>
<p id="print-output-text" class="overflow-wrap"></p>
<label>QR Code</label>
<div id="print-qrcode"></div>
</div>
<script type="text/javascript" src="node_modules/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="node_modules/clipboard/dist/clipboard.min.js"></script>
<script type="text/javascript" src="node_modules/materialize-css/dist/js/materialize.min.js"></script>
<script type="text/javascript" src="node_modules/materialize-css/js/modal.js"></script>
</body>
</html>