-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
93 lines (84 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Encrypter/Decrypter</title>
<link rel="stylesheet" href="./css/reset.css">
<link rel="stylesheet" href="./css/global-desktop.css">
<link rel="stylesheet" href="./css/w3.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-theme-black.css">
<link rel="stylesheet" href="https://www.w3schools.com/lib/w3-colors-2021.css">
<link rel="stylesheet" href="./assets/fonts/fontawesome-free-6.4.0-web/css/fontawesome.min.css">
<link rel="stylesheet" href="./assets/fonts/fontawesome-free-6.4.0-web/css/brands.min.css">
<link rel="stylesheet" href="./assets/fonts/fontawesome-free-6.4.0-web/css/solid.min.css">
<script src="./js/main.js"></script>
</head>
<body class="w3-colors-2021-green-ash">
<!-- Header -->
<header class="w3-container w3-theme w3-padding" id="header-encrypt">
<div class="w3-center">
<h4>Alura Challenge - Oracle ONE</h4>
<h1 class="w3-xxxlarge w3-animate-bottom">Encrypter / Decrypter</h1>
</div>
</header>
<div class="w3-row-padding w3-center w3-margin">
<div class="w3-half">
<div class="w3-card w3-container w3-padding" style="min-height:460px">
<h3>Enter text to encrypt or decrypt</h3><br>
<i class="fa-solid fa-keyboard fa-bounce w3-margin-bottom w3-text-theme"
style="color: #33d17a; font-size: 50px;"></i>
<div id="notification" class="w3-text-red" style="visibility: visible;"></div>
<textarea class="w3-input w3-border w3-round-large w3-border-black w3-hover-border-dark-gray text-error"
name="text-to-encrypt" id="text-to-encrypt" cols="30" rows="10"
placeholder="Write here the text to encrypt... Or write a encrypted text to decrypt..."></textarea>
<button id="encrypt-button"
class="w3-btn w3-round-xlarge w3-large w3-left-align w3-dark-gray w3-hover-light-gray w3-margin-top"
style="font-weight: bold;"><i class="fa-solid fa-lock"></i> Encrypt
</button>
<button id="decrypt-button"
class="w3-btn w3-round-xlarge w3-large w3-right-align w3-dark-gray w3-hover-light-gray w3-margin-top"
style="font-weight: bold;"><i class="fa-solid fa-lock-open"></i> Decrypt
</button>
</div>
</div>
<div class="w3-col w3-hide-large w3-margin-bottom"></div>
<div class="w3-half">
<div class="w3-card w3-container w3-padding" style="min-height:460px">
<h3>Result</h3><br>
<i class="fa-solid fa-message w3-margin-bottom w3-text-theme"
style="color: #33d17a; font-size: 50px;"></i>
<textarea class="w3-input w3-border w3-round-large w3-border-black" name="encrypted-text"
id="encrypted-text" cols="30" rows="10" readonly></textarea>
<button id="copy-button"
class="w3-btn w3-round-xlarge w3-large w3-left-align w3-dark-gray w3-hover-light-gray w3-margin-top"
style="font-weight: bold;"><i class="fa-solid fa-copy"></i> Copy
</button>
</div>
</div>
</div>
<!-- Footer -->
<footer class="w3-container w3-theme w3-padding-16">
<h3>Made by ❤</h3>
<a href="mailto:luciano.dlf@gmail.com"><i class="fa-solid fa-envelope social-link"></i></a>
<a href="https://www.facebook.com/luciano.dlf" target="_blank"><i
class="fa-brands fa-facebook social-link"></i></a>
<a href="https://www.instagram.com/luciano.j.dlf" target="_blank"><i
class="fa-brands fa-instagram social-link"></i></a>
<a href="https://twitter.com/dlfluciano" target="_blank"><i class="fa-brands fa-twitter social-link"></i></a>
<a href="https://www.linkedin.com/in/lucianodelfino" target="_blank"><i
class="fa-brands fa-linkedin social-link"></i></a>
<a href="https://github.com/lucianodlf" target="_blank"><i class="fa-brands fa-github social-link"></i></a>
<a href="https://g.dev/lucianodlf" target="_blank"><i class="fa-brands fa-google social-link"></i></a>
<a href="https://discord.com/channels/lucianodlf#0059" target="_blank"><i
class="fa-brands fa-discord social-link"></i></a>
<hr>
<p>Powered by <a href="" target="_blank">luciano.dlf</a></p>
<div style="position:relative;bottom:55px;" class="w3-tooltip w3-right">
<a class="w3-text-white" href="#header-encrypt"><span class="w3-xlarge">
<i class="fa fa-chevron-circle-up"></i></span></a>
</div>
</footer>
</body>
</html>