-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
125 lines (101 loc) · 4.49 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<html>
<head>
<meta charset="utf-8" />
<title>Orçamento pessoal</title>
<!-- Bootstrap início -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js" integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js" integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+" crossorigin="anonymous"></script>
<!-- Bootstrap fim -->
<!-- Font Awesome -->
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
<script src="app.js"></script>
</head>
<body>
<nav class="navbar navbar-expand-lg navbar-dark bg-primary mb-5">
<div class="container">
<a class="navbar-brand" href="#">
<img src="logo.png" width="50" height="35" alt="Orçamento pessoal">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="index.html">Cadastro</a>
</li>
<li class="nav-item">
<a class="nav-link" href="consulta.html">Consulta</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<div class="row">
<div class="col mb-5">
<h1 class="display-4">Registro de nova despesa</h1>
</div>
</div>
<div class="row mb-2">
<div class="col-md-2">
<select class="form-control" id="ano" name="form_txt">
<option value="">Ano</option>
<option value="2023">2023</option>
<option value="2024">2024</option>
</select>
</div>
<div class="col-md-2">
<select class="form-control" id="mes" name="form_txt">
<option value="">Mês</option>
<option value="1">Janeiro</option>
<option value="2">Fevereiro</option>
<option value="3">Março</option>
<option value="4">Abril</option>
<option value="5">Maio</option>
<option value="6">Junho</option>
<option value="7">Julho</option>
<option value="8">Agosto</option>
<option value="9">Setembro</option>
<option value="10">Outubro</option>
<option value="11">Novembro</option>
<option value="12">Dezembro</option>
</select>
</div>
<div class="col-md-2">
<input type="text" class="form-control" placeholder="Dia" id="dia" name="form_txt" />
</div>
<div class="col-md-6">
<select class="form-control" id="tipo" name="form_txt">
<option value="">Tipo</option>
<option value="1">Alimentação</option>
<option value="2">Educação</option>
<option value="3">Lazer</option>
<option value="4">Saúde</option>
<option value="5">Transporte</option>
</select>
</div>
</div>
<div class="row">
<div class="col-md-9">
<input type="text" class="form-control" placeholder="Descrição" id="descricao" name="form_txt" />
</div>
<div class="col-md-2">
<input type="text" class="form-control" placeholder="Valor" id="valor" name="form_txt" />
</div>
<div class="col-md-1 d-flex justify-content-end">
<button type="button" class="btn btn-primary" onclick="cadastrarDespesa()">
<i class="fas fa-plus"></i>
</button>
</div>
<br>
<br>
<div class="col-md-2 d-flex">
<button type="button" class="btn btn-primary" onclick="limpaCampos()"> Limpar
</button>
</div>
</div>
</div>
</body>
</html>