-
Notifications
You must be signed in to change notification settings - Fork 0
/
formulario.html
177 lines (166 loc) · 8.52 KB
/
formulario.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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<!doctype html>
<html lang="en">
<head>
<title>Óros · Cadastre-se!</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Descubra seu horóscopo com apenas seu nome e data de nascimento.">
<meta name=" author " content="Kadu Floresta">
<link rel="sortcut icon" href="img/favicon.png" type="image/x-icon" />;
<link rel="stylesheet" href="css/style.css">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<script src="js/Index.js"></script>
</head>
<body class="bodyContent">
<nav>
<h1 class="pageName">🔯 · Óros</h1>
<ul class="nav-links ">
<li class="active"><a href="formulario.html">⭐️ Cadastro</a></li>
<li><a href="Index.html">⭐️ home</a></li>
</ul>
</nav>
<div class="container">
<div class="tituloForm">
<hr>
<h3 class="mx-auto" style="width:max-content"> · Cadastro do Usuário · </h3>
<hr>
</div>
<form>
<h4>Dados Principais</h4>
<div class="form-row">
<div class="form-group col-3">
<label for="nome">Nome:</label>
<input type="text" class="form-control" id="nome">
</div>
<div class="form-group col-3">
<label for="sobrenome">Sobrenome:</label>
<input type="text" class="form-control" id="sobrenome">
</div>
<div class="form-group col-3">
<label for="dataNascimento">Data de Nascimento:</label>
<input type="date" class="form-control" id="dataNascimento">
</div>
<div class="form-group col-3">
<label for="cpf">CPF:</label>
<input type="text" name="cpf" class="form-control" id="cpf" placeholder="Somente números"
onkeydown="javascript: fMasc( this, mCPF );">
</div>
</div>
<hr>
<h4>Endereço</h4>
<div class="form-row">
<div class="form-group col-5">
<label for="rua">Rua:</label>
<input type="text" class="form-control" id="rua" placeholder="Exemplo: Rua Fulano">
</div>
<div class="form-group col-1">
<label for="numero">Nº:</label>
<input type="number" class="form-control" id="numero" min="1">
</div>
<div class="form_group col-3">
<label for="cidade">Cidade:</label>
<select class="form-control" id="cidade">
<option value="chapeco">Chapecó</option>
<option value="florianopolis">Florianópolis</option>
<option value="joinville" selected>Joinville</option>
<option value="itajai">Itajaí</option>
</select>
</div>
<div class="form_group col-3">
<label for="estado">Estado:</label>
<select class="form-control" id="estado">
<option value="AC">Acre</option>
<option value="AL">Alagoas</option>
<option value="AP">Amapá</option>
<option value="AM">Amazonas</option>
<option value="BA">Bahia</option>
<option value="CE">Ceará</option>
<option value="DF">Distrito Federal</option>
<option value="ES">Espírito Santo</option>
<option value="GO">Goiás</option>
<option value="MA">Maranhão</option>
<option value="MT">Mato Grosso</option>
<option value="MS">Mato Grosso do Sul</option>
<option value="MG">Minas Gerais</option>
<option value="PA">Pará</option>
<option value="PB">Paraíba</option>
<option value="PR">Paraná</option>
<option value="PE">Pernambuco</option>
<option value="PI">Piauí</option>
<option value="RJ">Rio de Janeiro</option>
<option value="RN">Rio Grande do Norte</option>
<option value="RS">Rio Grande do Sul</option>
<option value="RO">Rondônia</option>
<option value="RR">Roraima</option>
<option value="SC">Santa Catarina</option>
<option value="SP">São Paulo</option>
<option value="SE">Sergipe</option>
<option value="TO">Tocantins</option>
</select>
</div>
</div>
<hr>
<div class="form-row">
<fieldset class="form-group col-6">
<h4>Gênero:</h4>
<div class="form-check">
<input class="form-check-input" type="radio" id="genero" value="Feminino">
<label class="form-check-label" for="genero">Feminino</label>
<input class="form-check-input" type="radio" id="genero" value="Maculino">
<label class="form-check-label" for="genero">Masculino</label>
</div>
</fieldset>
<fieldset class="form-group col-6">
<h4>NewsLetter:</h4>
<div class="form-check">
<input class="form-check-input" type="checkbox" id="newLetter" value="SMS">
<label class="form-check-label" for="newLetter">SMS</label>
<input class="form-check-input" type="checkbox" id="newLetter" value="email">
<label class="form-check-label" for="newLetter">E-mail</label>
<input class="form-check-input" type="checkbox" id="newLetter" value="whatsapp">
<label class="form-check-label" for="newLetter">WhatsApp</label>
</div>
</fieldset>
</div>
<hr>
<input type="button" onclick="CriarUsuario()" id="btnCriar" class="btn btn-success btn-block" value="Criar">
<input type="button" style="display: none;" id="btnEditar" onclick="EditarUsuario()"
class="btn btn-warning btn-block" value="Editar">
</form>
<table class="table table-bordered table-dark mt-3 text-center" id="tabelaUsuarios">
<thead class="thead-dark">
<tr class="text-center">
<th class="bg-primary">Nome</th>
<th class="bg-primary">Sobrenome</th>
<th class="bg-primary">Data de Nascimento</th>
<th class="bg-primary">CPF</th>
<th class="bg-primary">Rua</th>
<th class="bg-primary">Numero</th>
<th class="bg-primary">Cidade</th>
<th class="bg-primary">Estado</th>
<!-- <th class="bg-primary">Gênero</th>
<th class="bg-primary">NewsLetter</th> -->
<th class="bg-primary">Editar</th>
<th class="bg-primary">Excluir</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"
integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js"
integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"
integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV"
crossorigin="anonymous"></script>
</body>
</html>