-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
313 lines (287 loc) · 13.5 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
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Criptografar Texto...">
<link rel="apple-touch-icon" sizes="180x180" href="Public/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="Public/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="Public/favicon-16x16.png">
<link rel="manifest" href="Public/site.webmanifest">
<link rel="stylesheet" href="Css/styles.css" type="text/css" media="all">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/sweetalert2@11/dist/sweetalert2.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/pdfmake.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.68/vfs_fonts.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/2.4.0/jspdf.umd.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdf.js/2.9.359/pdf.min.js"></script>
<script src="./Plugins/Modal.js" defer></script>
<script src="./Js/Assistent.js" defer></script>
<script src="./Plugins/Import.js" defer></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script type="text/javascript" src="./db/src/LocalDB.js"></script>
<title>CripTexto</title>
</head>
<body>
<div class="area">
<ul class="circles">
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ul>
</div>
<div id="modal-configuration" class="modal-configuration">
<div class="modal-content-configuration">
<span class="close">×</span>
<h2>Configuração</h2>
<div class="configuration-content">
<div class="configuration-label-checkbox">
<label class="switch">
<input type="checkbox" id="letras" checked>
<span class="slider"></span>
</label>
<label>Ativar Letras</label>
</div>
<div class="configuration-label-checkbox">
<label class="switch">
<input type="checkbox" id="numeros" checked>
<span class="slider"></span>
</label>
<label>Ativar Numeros</label>
</div>
<div class="configuration-label-checkbox">
<label class="switch">
<input type="checkbox" id="simbolos" checked>
<span class="slider"></span>
</label>
<label>Ativar Simbolos</label>
</div>
</div>
</div>
</div>
<div id="modal-skins" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Modelos de Templates</h2>
<div class="container-iframes-templates">
</div>
</div>
</div>
<div id="modal-import" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Extensões Aceitas</h2>
<div class="sd-import">
<div class="sd_import_button">
<button data-type="txt">TXT</button>
</div>
<div class="sd_import_button">
<button data-type="pdf">PDF</button>
</div>
</div>
</div>
</div>
<div id="modal-history" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Historico de Templates</h2>
<div class="history">
<table id="template-table">
<thead>
<tr>
<th>ID</th>
<th>Nome da Template</th>
<th>Ações</th>
</tr>
</thead>
<tbody>
<!-- Linhas da tabela serão inseridas dinamicamente aqui -->
</tbody>
</table>
</div>
</div>
</div>
<div id="modal-paint" class="modal">
<div class="modal-content">
<span class="close">×</span>
<h2>Desenhar Template</h2>
<div class="paint">
<div class="modal_paint_tools" style="position: relative;">
<div class="panel-security">
<span class="close_panel">×</span>
<h4>Configurações de Download 📦</h4>
<input type="text" id="name_docs" placeholder="Nome do Documento ..." value="documento">
<input type="password" id="password" name="Senha do Documento ..." placeholder="Password">
<!-- <button type="submit">Salvar Configurações</button> -->
</div>
<div class="entry-paint">
<input type="text" id="text_seacher" placeholder="Criar Template..." maxlength="20" />
<button class="search-find-template">🔎</button>
</div>
<div style="display: flex; position: relative;">
<button class="container-descriptografia_header_actions_footer_link_skin"
id="openConfigSecurity">
Security
<img src="./Assets/Icons/encrip.svg" alt="Icon de Link" />
</button>
<button class="container-descriptografia_header_actions_footer_link_skin">
Fullscreen
<img src="./Assets/Icons/ArrowLink.svg" alt="Icon de Link" />
</button>
</div>
<div class="panel">
<select class="save-options" id="select-method-save-paint">
<option value="save-html">Salvar HTML</option>
<option value="save-pdf">Salvar PDF</option>
<option value="save-pdf-password">Salvar PDF + Senha</option>
</select>
</div>
<div class="container-save-paint">
<button id="insert-data">Salvar</button>
</div>
<div class="container-save-paint">
<button id="download_btn" class="download_btn">Baixar</button>
</div>
</div>
<div class="modal_paint_view"></div>
</div>
</div>
</div>
<div class="container-components-strt">
<!-- Navegação -->
<header class="container-header">
<nav class="navigation">
<ul>
<li><a href="#">GitHub</a></li>
<li><a href="#">Sobre</a></li>
<li><a href="#">Linkedin</a></li>
</ul>
</nav>
</header>
<!-- Conteudo Actions -->
<section class="container-actions">
<div class="container-menu-history">
<div class="menu-tools">
<div class="menu-tools_Logo">
<img src="./Assets/Logo.svg" alt="Logo.svg" />
</div>
<div class="menu-tools_Buttons">
<div class="button_icon">
<button id="openModalHistory">
History
<img src="./Assets/Icons/History.svg" alt="icon Ferramentas" />
</button>
</div>
<div class="button_icon" id="shareButton">
<button>
Share
<img src="./Assets/Icons/Share.svg" alt="icon Compartilhar" />
</button>
</div>
<div class="button_icon">
<button>
Tools
<img src="./Assets/Icons/Tools.svg" alt="icon Ferramentas" />
</button>
</div>
</div>
</div>
</div>
<div class="container-criptografia">
<div class="container-criptografia_header_actions">
<div class="container-criptografia_header_actions_buttons">
<button id="gooey-button" class="openModalImport">
Importar
<span class="bubbles">
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
<span class="bubble"></span>
</span>
<img src="./Assets/Icons/Import.svg" alt="icon Ferramentas" />
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<filter id="gooey">
<!-- in="sourceGraphic" -->
<feGaussianBlur in="SourceGraphic" stdDeviation="5" result="blur" />
<feColorMatrix in="blur" type="matrix"
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 19 -9"
result="highContrastGraphic" />
<feComposite in="SourceGraphic" in2="highContrastGraphic" operator="atop" />
</filter>
</defs>
</svg>
</button>
<button id="openModalConfigurationBtn">
Configurar
<img src="./Assets/Icons/Config.svg" alt="icon Ferramentas" />
</button>
</div>
</div>
<div class="container-criptografia_header_actions_cripto_texto">
<textarea placeholder="Digite seu Texto..." id="texto_codificar"></textarea>
</div>
<div class="container-criptografia_header_actions_footer">
<div class="container-criptografia_header_actions_footer_button">
<button class="criptografar">
<img src="./Assets/Icons/PadLock_Open.svg" </button>
</div>
<div class="container-criptografia_header_actions_footer_button">
<button class="descriptografar">
<img src="./Assets/Icons/PadLock_Close.svg" </button>
</div>
</div>
</div>
<div class="container-descriptografia">
<div class="container-descriptografia_header_actions">
<div class="container-descriptografia_header_actions_title">
<h1>Codigo Gerado</h1>
</div>
</div>
<div class="container-descriptografar_header_actions_cripto_texto">
<textarea disabled id="texto_codificado"></textarea>
</div>
<div class="container-actions-button-descriptografia">
<button id="openModalSkins" class="container-descriptografia_header_actions_footer_link_skin">
Criar Skin
<img src="./Assets/Icons/ArrowLink.svg" alt="Icon de Link" />
</button>
<button id="openModalPaint" class="container-descriptografia_header_actions_footer_link_skin">
Desenhar Skin
<img src="./Assets/Icons/ArrowLink.svg" alt="Icon de Link" />
</button>
</div>
<div class="container-descriptografia_header_actions_footer">
<div class="container-descriptografar_header_actions_footer_button">
<button class="copiar">
Copiar
</button>
</div>
</div>
</div>
</section>
</div>
<script>
window.jsPDF = window.jspdf.jsPDF;
</script>
<script src="./Js/Configuration.js"></script>
<script src="./Js/Download.js"></script>
<script src="./Js/Criptografar.js"></script>
<script src="./Js/Descriptografar.js"></script>
<script src="./Js/Commands.js"></script>
<script src="./Js/Templates.js"></script>
<script src="./Js/banco_dados.js"></script>
</body>
</html>