-
Notifications
You must be signed in to change notification settings - Fork 1
/
pedidoDom.html
112 lines (86 loc) · 3.89 KB
/
pedidoDom.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
<!DOCTYPE html>
<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">
<title>Pedidos DOM</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ" crossorigin="anonymous">
<link rel="stylesheet" href="/pedidoDom.css">
</head>
<body>
<div class="h1">
<h1>Faça seu pedido no Restaurante</h1>
</div>
<div id="mainConteiner">
<div class="mapaFratelli">
</div>
<div class="inputNumber">
<label for="numberTable">Número da mesa:</label>
<input type="text" placeholder="Numero mesa" id="numberTable">
<div class="conteinerButton">
<button onclick="createTable()">Criar mesa</button>
<button onclick="closeTable()">Fechar mesa</button>
</div>
</div>
<div>
<div class="conteinerSelect">
<label for="chopp">Chopp :</label>
<select name="typeChoop" id="typeChoop">
<option selected disabled>Escolha uma opção</option>
<option value="Pilsen">Pilsen</option>
<option value="Red">Red</option>
<option value="Ipa">Ipa</option>
<option value="Summer">Summer</option>
<option value="Session Ipa">Session Ipa</option>
</select>
<label for="bebibas">Bebidas :</label>
<select name="typeBebidas" id="typeBebidas">
<optgroup label="Refrigerante">
<option selected disabled>Escolha uma opção</option>
<option value="Coca Cola">Coca Cola</option>
<option value="Coca Cola Zero">Coca Cola Zero</option>
<option value="Guarana">Guarana</option>
<option value="Guarana Zero">Guarana Zero</option>
</optgroup>
<optgroup label="Soda Italiana">
<option value="Morango">Morango</option>
<option value="Maçã verde">Maçã verde</option>
<option value="Tangerina">Tangerina</option>
<option value="Maracujá">Maracujá</option>
</optgroup>
</select>
<label for="food">Food :</label>
<select name="typeFood" id="typeFood">
<option selected disabled>Escolha uma opção</option>
<option value="Pastel">Pastel</option>
<option value="Gorgonzola">Gorgonzola</option>
<option value="coxinha">coxinha</option>
</select>
<button onclick="description()">Descrição</button>
</div>
</div>
<div id="description"></div>
<h2>Lista de mesa</h2>
<ul id="listTable"></ul>
</div>
<div class="divTable">
<table id="table">
<thead>
<tr>
<th>produto</th>
<th>quantidade</th>
<th>valor</th>
<th>total</th>
</tr>
</thead>
<tbody id="tableBody">
<tr class="tableTd"></tr>
</tbody>
</table>
</div>
<script src="./pedidoDom.js"></script>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
</body>
</html>