-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (69 loc) · 3.04 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DREAMOTO</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<header>DREAMOTO - Planejamento de Compra para a Moto dos seus Sonhos</header>
<div class="container">
<div class="cadastro">
<h2>Cadastrar Moto</h2>
<form id="formMoto">
<label>ID</label>
<input type="number" id="id" required required placeholder="Digite um nº inteiro para ser o código da moto">
<label>Marca</label>
<input type="text" id="marca" required required required placeholder="Digite a marca da moto">
<label for="tipo">Escolha o tipo de moto</label>
<select id="tipo" name="tipo" required>
<option value="TIPO">Escolha um tipo de pilotagem</option>
<option value="URBANA">URBANA</option>
<option value="SCOOTER">SCOOTER</option>
<option value="NAKED">NAKED</option>
<option value="Esportiva">ESPORTIVA</option>
<option value="Big Trail">BIG TRAIL</option>
<option value="OFF ROAD">OFF ROAD</option>
<option value="Custom">CUSTOM</option>
<option value="ELÉTRICA">ELÉTRICA</option>
</select>
<label>Modelo</label>
<input type="text" id="modelo" required required placeholder="Digite o modelo da moto">
<label>Ano</label>
<input type="number" id="ano" required required placeholder="yyyy">
<label>Cor</label>
<input type="text" id="cor" required required placeholder="Digite a cor da moto">
<label>Preço</label>
<input type="number" step="0.01" id="preco" required required placeholder="Após digitar um valor será adicionado '.00' centavos">
<button type="submit">Salvar Moto</button>
</form>
</div>
<table id="tabelaMotos">
<div class="titleBar">
<h2>Lista de Motos</h2>
<div class="searchHeader">
<button id="searchIcon">🔍</button>
<input type="text" id="searchBar" placeholder="Digite para pesquisar...(PRESS TAB TO ACTIVE UPPERCASE)" class="hidden">
</div>
</div>
<thead>
<tr>
<th>ID</th>
<th>Marca</th>
<th>Tipo</th>
<th>Modelo</th>
<th>Ano</th>
<th>Cor</th>
<th>Preço</th>
<th>Ações</th>
</tr>
</thead>
<tbody>
<!-- Dados gerados dinamicamente -->
</tbody>
</table>
</div>
<script src="script.js"></script>
</body>
</html>