-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
111 lines (95 loc) · 6.61 KB
/
index.html
File metadata and controls
111 lines (95 loc) · 6.61 KB
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
<!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>Toolbox</title>
<link rel="icon" href="imagens/toolbox.png">
<link rel="stylesheet" href="reset.css">
<link rel="stylesheet" href="style.css">
</head>
<body>
<img src="imagens/background.jpg" draggable="false" id="background">
<div id=divLogo>
<img src="imagens/toolbox.png" draggable="false" id="logoImg"><p id=logoTexto>Toolbox</p>
</div>
<div id="circle1" onclick="fecharCalculadora()"><img src=imagens/backcalc.png id="imgCalc" draggable="false" height=100% style="position: fixed; z-index: -10; "></div>
<div id="circle2" onclick="fecharDecoder()"><img src=imagens/back.png draggable="false" id="imgDecoder" height=100% style="position: fixed; z-index: -10; "></div>
<div id="caixa">
<div class="iconesMenu" style="background-color: rgb(189, 189, 189)">
<div class=iconInfo onclick="abrirCalculadora()"><div class="infoText">Calculadora</br>Simples</div></div><img src="imagens/calculadora.png" draggable="false" width="75%" height="75%" style="margin-top: 22px;">
</div>
<div class="iconesMenu" style="background-color: #3964c0">
<div class=iconInfo onclick="abrirDecoder()" ><div class="infoText" style="padding-top: 76px; font-size: 18px;"> Decodificador</div></div><img src="imagens/decoder.png" draggable="false" width="75%" height="75%" style="margin-top: 23px;">
</div>
</div>
<div id="divCalculadora">
<div id="displayBox">
<p id="display"></p>
</div>
<div id="botoes">
<button class ="botoes" id="num1" onclick="check();addSoma();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">+</div></button>
<button class ="botoes" id="num2" onclick="check();addSub();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">-</div></button>
<button class ="botoes" id="num3" onclick="check();addMult();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">X</div></button>
<button class ="botoes" id="num4" onclick="check();addDiv();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">÷</div></button>
<button class ="botoes" id="num5" onclick="check();addUm();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">1</div></button>
<button class ="botoes" id="num6" onclick="check();addDois();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">2</div></button>
<button class ="botoes" id="num7" onclick="check();addTres();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">3</div></button>
<button class ="botoes" id="num8" onclick="check();addZero();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">0</div></button>
<button class ="botoes" id="num9" onclick="check();addQuatro();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">4</div></button>
<button class ="botoes" id="num10" onclick="check();addCinco();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">5</div></button>
<button class ="botoes" id="num11" onclick="check();addSeis();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">6</div></button>
<button class ="botoes" id="num12" onclick="Clear();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">C</div></button>
<button class ="botoes" id="num13" onclick="check();addSete();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">7</div></button>
<button class ="botoes" id="num14" onclick="check();addOito();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">8</div></button>
<button class ="botoes" id="num15" onclick="check();addNove();refresh()"><img draggable="false" src="imagens/botao.png" width="47px"><div id="textoBot">9</div></button>
<button class ="botoes" id="num16" onclick="check();Equal();refresh()"><img draggable="false" src="imagens/botao2.png" width="47px"><div id="textoBot">=</div></button>
</div>
<img id="Calculadora" draggable="false" src="imagens/calculadora.png">
</div>
<!--CODIFICADOR ======================================
-->
<div id="divDecoder">
<div id=decoderBox>
<div id="divEsquerda" class="divBox">
<div class=select>
<select onchange="codeCheck()" class="tipo" id="codeTipo">
<option>Selecione a linguagem</option>
<option value="base64">Base64</option>
<option value="cesar">Cifra de César</option>
<option value="binario">Binário</option>
</select>
</div>
<textarea class="inputBox" id="codeBox"></textarea>
<button id="sinal" class="sinal" style="display: none;" onclick="toggleCodeBut()">+</button>
<input type="number" min=0 max=25 class="numBox" id="numBox" style="display: none;">
<button id="codeBut" onclick="code()" class="decBotoes">Codificar</button>
</div>
<div id=divDireita class="divBox">
<div class="select">
<select onchange="decodeCheck()" class="tipo" id="decodeTipo">
<option>Selecione a linguagem</option>
<option value="base64">Base64</option>
<option value="cesar">Cifra de César</option>
<option value="binario">Binário</option>
</select>
</div>
<textarea type="text" class="inputBox" id="decodeBox"></textarea>
<button id="decoSinal" class="sinal" style="display: none;" onclick="toggleDecodeBut()">+</button>
<input type="number" min=0 max=25 class="numBox" id="decoNumBox" size="1" style="display: none;">
<button id=decodeBut onclick="decode()" class="decBotoes">Decodificar</button>
</div>
</div>
</div>
<!--CODIFICADOR =================================
-->
<p onclick="link()" id="credit">por Gabriel Lopes - 2022</p>
</body>
<script>
function link(){
window.open("https://github.com/C836", "_blank")}
</script>
<script src=calculadora.js></script>
<script src=decodificador.js></script>
</html>