This repository has been archived by the owner on Dec 31, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
92 lines (86 loc) · 3.53 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
<!DOCTYPE html>
<html lan="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width-device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>
Lista de compras
</title>
<link rel="stylesheet" href="./style.css" media="all">
</head>
<body>
<!-- Painel para editar/adicionar um novo item -->
<div id="add_edit_pane" class="pane">
<div class="content">
<div class="header">
<div>
<input id="input_name" type="text" placeholder="Nome do produto">
</div>
<div>
<input id="input_price" type="number" placeholder="Preço do produto">
</div>
<div>
<input id="input_amount" type="number" placeholder="Quantidade de itens">
</div>
</div>
<div class="footer">
<button id="addedit_cancel" onclick="closeAddEditPane(0)">Cancelar</button>
<button id="addedit_confirm" onclick="closeAddEditPane(1)">Ok</button>
</div>
</div>
</div>
<main>
<header>
<span>Nada adicionado ainda</span>
<p>Clique no botão abaixo para exibir as opções...</p>
</header>
<div id="list_div">
<ul id="main_list">
<!-- <li> -->
<!-- <div class="content"> -->
<!-- <div> -->
<!-- <span class="product_name">Arroz -</span> -->
<!-- <span class="product_price">R$ 20,00</span> -->
<!-- <span class="product_amount">(1)</span> -->
<!-- </div> -->
<!-- <div> -->
<!-- <span class="product_total">R$ 20,00</span> -->
<!-- </div> -->
<!-- </div> -->
<!-- <div class="buttons"> -->
<!-- <button class="remove_item">Remover</button> -->
<!-- <button class="edit_item">Editar</button> -->
<!-- </div> -->
<!-- </li> -->
</ul>
<div id="final_data">
<div>
<span class="title">Produtos:</span>
<span id="total_products"></span>
</div>
<div class="big">
<span class="title">Total:</span>
<span id="total_price"></span>
</div>
<div>
<span class="title">Itens:</span>
<span id="total_items"></span>
</div>
</div>
</div>
</main>
<!-- Opções do programa -->
<footer>
<input id="check_opitions" type="checkbox">
<ul id="opitions_section" onclick="closeDock()">
<li onclick="openAddEditPane()">Adicionar novo</li>
<li onclick="clearList()">Limpar lista</li>
</ul>
<label for="check_opitions" id="open_opitions">
+
</label>
</footer>
<script src="./script.js"></script>
</body>
</html>