-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconsultar.html
50 lines (49 loc) · 2.06 KB
/
consultar.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Consumindo API</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Menu Lateral -->
<div id="mySidenav" class="sidenav">
<a href="javascript:void(0)" class="closebtn" onclick="closeNav()">×</a>
<a></a>
<a></a>
<a href="index.html">Página Inicial</a>
<a href="cadastrar.html">Cadastrar</a>
</div>
<div id="main">
<span style="font-size:30px;cursor:pointer" onclick="openNav()">☰ Menu</span>
</div>
<button class="btn btn-warning" id="altoContraste" onclick="toggleHighContrast()">Alto Contraste</button>
<div id="container" class="container d-flex flex-column align-items-center">
<h1 id="mytitle"></h1>
<!-- Menu dropdown -->
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-bs-toggle="dropdown" aria-expanded="false">
Selecione uma opção
</button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<li><a class="dropdown-item" href="#" id="notas">Notas</a></li>
<li><a class="dropdown-item" href="#" id="alunos">Alunos</a></li>
<li><a class="dropdown-item" href="#" id="disciplinas">Disciplinas</a></li>
</ul>
</div>
<!-- Tabela para exibir os dados -->
<div class="table-responsive">
<table class="table table-striped">
<thead>
<tr id="header-row"></tr>
</thead>
<tbody id="data-body"></tbody>
</table>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
<script src="script.js"></script>
</body>
</html>