-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (54 loc) · 2.72 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
<!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>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
</head>
<body class="container">
<h1 class="mt-4">Estoque de Bebidas</h1>
<p class="text-secondary">Proprietário: <strong>Rafael</strong></p>
<div class="form-check form-switch">
<input onchange="ativarDarkmode()" class="form-check-input" type="checkbox" role="switch" id="darkmode">
<label class="form-check-label" for="darkmode">Darkmode</label>
</div>
<hr>
<input id="busca" onkeyup="filtrar()" type="text" class="form-control mb-3" placeholder="Buscar">
<table id="table" class="table table-hover table-striped">
<thead class="table-dark">
<tr>
<th>#ID</th>
<th>Nome</th>
<th>Descrição</th>
<th>Quantidade</th>
<th>Foto</th>
<th>Ações</th>
</tr>
</thead>
<tbody id="tabela-dados"></tbody>
</table>
<div class="modal fade" id="modalFoto" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="staticBackdropLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5 text-dark" id="modalTitulo">Modal title</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="modalFotoConteudo">
...
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Understood</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-ENjdO4Dr2bkBIFxQpeoTz1HIcje39Wm4jDKdf19U8gI4ddQ3GYNS7NTKfAdVQSZe" crossorigin="anonymous"></script>
<script src="dados.js"></script>
<script src="eventos.js"></script>
<script src="darkmode.js"></script>
</body>
</html>