Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kaliztro authored Apr 18, 2022
1 parent 08828de commit bf1a53a
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 88 deletions.
39 changes: 10 additions & 29 deletions panesul.css
Original file line number Diff line number Diff line change
@@ -1,43 +1,25 @@

body {
font-size: 100%;
background-color: #303131;
}

.div1 {
width: auto;
height: auto;
display: inline-block;
padding: 30px;
background-color: #2e2f30;
border-radius: 20px;
}

.div2 {
position: absolute; /* topo*/
width: auto;
height: auto; /* altura */
display: inline-block; /* deixa um ao lado do outro */
padding: 30px;
background-color: #2e2f30;
border-radius: 20px; /* deixa os cantos arredondados */
margin-left: 10px; /* deixa o espaço entre os 2 blocos */
}

.section1 {
max-width: 40rem;
margin: 0 auto;
}

.titulo {
color: #ffffff;
font-size: 40px;
width: 360px;
margin-left: auto;
margin-right: auto;
}

p {
color: #ffffff;
color: #ff0000;
}

.input{
border-radius: 10px;
.maquinasDinheiro {
width: 300px;
margin-left: auto;
margin-right: auto;
}

p.stone {
Expand All @@ -55,4 +37,3 @@ p.dinheiro {
.input {
background-color: #d0d3d6;
}

82 changes: 30 additions & 52 deletions panesul.html
Original file line number Diff line number Diff line change
@@ -1,82 +1,60 @@
<html lang="pt-br">

<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">

<link rel="shortcut icon" href="./Panesul.png">
<link rel="stylesheet" type="text/css" href="panesul.css">

<title>Panesul - Fechamento</title>
<!doctype html>
<html>
<head>
<title>Panesul - Fechamento</title>
<link rel="shortcut icon" href="./Panesul.png">
<link rel="stylesheet" type="text/css" href="panesul.css">
</head>

<script type="text/javascript" src="./script.js"></script>

</head>

<body>
<body>

<section class="section1" >
<h1 class="titulo" id="h1">Fechamento de caixa</h1>

<div class="div1">

<div class="fundo">

<h1 class="titulo"><b>Fechamento de Caixa</b></h1>

<p class="banrisul"> Banrisul 1 <input class="input" type="number" id="banri1"></p>
<p class="banrisul"> Banrisul 2 <input class="input" type="number" id="banri2"></p>
<div class="maquinasDinheiro">

<p class="banrisul"> Banrisul 1 <input type="number" id="banri1"></p>
<p class="banrisul"> Banrisul 2 <input type="number" id="banri2"></p>

<p class="banrisul" id="banrisulTotal">Total: </p></p>

<button onclick="banrisulSoma()">Total</button>

<p class="stone"> Stone 1 <input class="input" type="number" id="stone1"></p>
<p class="stone"> Stone 2 <input class="input" type="number" id="stone2"></p>

<p class="stone" id="stoneTotal">Total: </p></p>

<p class="stone"> Stone 1 <input type="number" id="stone1"></p>
<p class="stone"> Stone 2 <input type="number" id="stone2"></p>
<p class="stone" id="stoneTotal">Total: </p></p>
<button onclick="stoneSoma()">Total</button>

<p > Cielo <input class="input" type="number" id="cielo"> </p>
<p > Cielo <input type="number" id="cielo"> </p>

<p id="cieloTotal">Total: </p></p>

<button onclick="cieloSoma()">Total</button>

<p class="dinheiro"> Dinheiro <input class="input" type="number" id="dinheiro"></p>
<p class="dinheiro"> Pix <input class="input" type="number" id="pix"></p>

<p class="dinheiro"> Dinheiro <input type="number" id="dinheiro"></p>
<p class="dinheiro"> Pix <input type="number" id="pix"></p>
<p class="dinheiro" id="dinheiroTotal">Total: </p></p>

<button onclick="total()">Total</button>



<br><br> <button onclick="calculadora()"> Somar </button>
<br><br> <button onclick="calculadora()"> Somar </button>

<input class="input" type="number" id="soma">

<br><br> <button onclick="calculadora2()"> Subtrair </button>
<br><br> <button onclick="calculadora2()"> Subtrair </button>

<input class="input" type="number" id="Subtrair">

</div>
</div>

<div class="div2">
<h1 class="titulo"> Pagamentos</h1>

<div class="fundo">
<p class="func">Funcionários <input class="input" type="number" id="func"> </p>
<p class="manu">Manutenção <input class="input" type="number" id="manu"> </p>
<p class="out">Outros <input class="input" type="number" id="out"> </p>

</div>
</div>


</section>

</body>
</body>

</html>
8 changes: 1 addition & 7 deletions script.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,8 @@ function calculadora() {
let entrada = 1;
let acumulador = parseFloat(document.getElementById('soma').value);

// acumulador = isNaN(pix)?0:acumulador;

while(entrada != 0) {
entrada = parseFloat(prompt(`Digite o valor à ser somado`)); //prompt("arg01", "arg02") //arg02 mostra um texto na caixa
entrada = parseFloat(prompt(`Digite o valor à ser somado`));
acumulador += entrada;
document.getElementById('soma').value = acumulador

Expand All @@ -77,8 +75,6 @@ function calculadora2() {
let entrada = 1;
let acumulador = parseFloat(document.getElementById('soma').value);

// acumulador = isNaN(pix)?0:acumulador;

while(entrada != 0) {
entrada = parseFloat(prompt(`Digite o valor à ser Subtraido`));
acumulador -= entrada;
Expand All @@ -88,5 +84,3 @@ function calculadora2() {
}
}

console.log(`\n\n\n\n\n 🤬 ei oq vc esta fazendo aqui?. cai fora!! \n\n\n\n\n`)
console.log(`\n\n\n\n\n Desenvolvido por Kaliztro#4988 \n\n\n\n\n`)

0 comments on commit bf1a53a

Please sign in to comment.