-
Notifications
You must be signed in to change notification settings - Fork 0
/
version-002.html
91 lines (88 loc) · 3.4 KB
/
version-002.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
<!DOCTYPE html>
<html lang="es-AR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>v0.0.2</title>
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
<link rel="shortcut icon" href="#" type="image/x-icon">
</head>
<body class="dark-theme">
<!-- <body> -->
<header>
<div class="logo">
<h1>txt</h1>
<small>Encrypt challenge</small>
</div>
<nav>
<ul>
<li><a href="./index.html">v0.0.1</a></li>
<li class="active"><a href="./version-002.html">0.0.2</a></li>
</ul>
<!-- <select id="version">
<a href="index.html"><option value="0.0.1"></option>0.0.1</option></a>
<option value="0.0.1"><a href="version-002.html">0.0.2</a></option>
</select> -->
<button class="change-theme-button" id="theme_button"></button>
</nav>
</header>
<main>
<div>
<h2>Encypt txt challenge</h2>
<p>Ingresa el texto que desees encriptar o desencriptar.</p>
<p>Solo letras minúsculas, sin acentos, sin caracteres especiales y no puede estar vacío.</p>
</div>
<form>
<textarea id="input_txt" class="input-txt" placeholder="Ingresar texto" autofocus></textarea>
<div class="btn-group">
<button id="btn_decrypt">
<i class="bi bi-file-earmark-code"></i>
Desencriptar
</button>
<button id="btn_encript">
<i class="bi bi-file-earmark-code-fill"></i>
Encriptar
</button>
</div>
</form>
</main>
<section class="empty-message">
<div>
<!-- <img src="./img/no-message-img.svg" alt="No message image"> -->
<i class="bi bi-exclamation-octagon-fill"></i>
<h2>Ningún mensaje fue encontrado</h2>
<p>Ingresa el texto que desees encriptar o desencriptar.</p>
</div>
</section>
<section class="display-message hide-content">
<div>
<div>
<h2>Mensaje encriptado</h2>
<textarea id="encrypted_message" class="emcrypted-message" disabled>### #### #### #### ####</textarea>
</div>
<div class="copy-btn-content">
<button id="btn_copy" title="Copiar mensaje">
<i class="bi bi-floppy-fill"></i>
Copiar
</button>
</div>
</div>
</section>
<footer>
<small>© Copyright - 2024 | Mauricio Cox</small>
<div class="social">
<a href="https://github.com/coxmau77" target="_blank" rel="noopener noreferrer"
title="Visitar perfil en GitHub">
<i class="bi bi-github"></i>
</a>
<a href="https://www.linkedin.com/in/coxmau77/" target="_blank" rel="noopener noreferrer"
title="Visitar perfil en Linkedin">
<i class="bi bi-linkedin"></i>
</a>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/3.1.9-1/crypto-js.js"></script>
<script src="./js/version-002.js"></script>
</body>
</html>