-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (99 loc) · 3.54 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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8" />
<title>Auto Posto LSW ΙΙ</title>
<meta name="viewport" content="width=device-width" />
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap" rel="stylesheet">
<link href="style.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="favicon.webp" />
<link rel="author" href="https://frontedu.me" />
</head>
<body>
<header>
<a href="index.html">
<h1>Posto de Gasolina<strong>LSW ΙΙ ⛽</strong></h1>
</a>
</header>
<!-- GRID CONTENT 1|1 -->
<div class="grid-container">
<main class="purchase">
<!-- MAIN TOP -->
<section class="section-1">
<h2>Nova venda</h2>
<form class="add-card" id="form">
<h3>Combustível</h3>
<div class="wrapper">
<input type="radio" name="select" value="Gasolina" id="option-1" checked />
<label for="option-1" class="option option-1" onclick="undoValue()">
<div class="dot"></div>
<span class="gas-ml">Gasolina</span>
</label>
<input type="radio" name="select" value="Etanol" id="option-2" />
<label for="option-2" class="option option-2" onclick="undoValue()">
<div class="dot"></div>
<span>Etanol</span>
</label>
</div>
<div class="fields inline">
<label for="valor-litro">
<h3>Valor<span> /L</span></h3>
<input type="number" disabled id="valor-litro" name="preco" />
</label>
<label for="quant-litros">
<h3>Quantidade<span> /L</span></h3>
<input type="number" id="quant-litros" placeholder="0" oninput="preview()" class="" name="quant" min="0" />
</label>
</div>
<input name="vendido" class="block confirma" type="submit" value="Confirmar" />
</form>
</section>
<!-- MAIN BOTTOM -->
<section class="section-2">
<h2>Visão Geral da Bomba</h2>
<div class="cards inline">
<div class="card1">
<h3 class="mt-card">Gasolina</h3>
<h4 id="quant-gas">0</h4>
<span class="span-card"> litros</span>
</div>
<div class="card2">
<h3 class="mt-card">Etanol</h3>
<h4 id="quant-eta">0</h4>
<span class="span-card"> litros</span>
</div>
</div>
</section>
</main>
<aside class="overview">
<!-- SIDEBAR TOP -->
<section class="section-3">
<h2 class="">Resumo do dia</h2>
<div class="cards card-mobile inline">
<div class="card1 card-fat">
<h3 class="mt-card">Faturamento</h3>
<span class="span-card">R$ </span>
<h4 class="main-color" id="faturamento">0</h4>
</div>
<div class="card2 card-vol">
<h3 class="mt-card">Volume</h3>
<h4 class="main-color" id="volume">0</h4>
<span class="span-card"> litros</span>
</div>
</div>
</section>
<!-- SIDEBAR BOTTOM -->
<section class="section-4">
<h2>Últimas vendas
<span id="quant-vendas">0</span>
</h2>
<div id="purchases" class="historico">
<p>Nenhuma venda efetuada.</p>
</div>
</section>
</aside>
</div>
<script src="script.js"></script>
</body>
</html>