-
Notifications
You must be signed in to change notification settings - Fork 1
/
minhaConta.html
233 lines (219 loc) · 14.4 KB
/
minhaConta.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>SOS PET</title>
<link href="https://fonts.googleapis.com/css?family=Pacifico&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous" />
<link href="https://fonts.googleapis.com/css?family=Fredoka+One|Lobster|Noto+Serif&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Fredoka+One|Handlee|Noto+Serif&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Chilanka&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Anton|Chilanka|Cute+Font&display=swap" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Liu+Jian+Mao+Cao|Oswald&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Fredoka+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Comfortaa|Fredoka+One&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto+Condensed&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/minhaConta.css"/>
<link rel="shortcut icon" href="img/favicon.png" />
</head>
<body>
<nav class="navbar navbar-expand-lg justify-content-center fixed-top nav-header btn-warning logo navbar-toggler" data-toggle="collapse nav">
<ul class="center navbar-nav btn-warning">
<a class="navbar font-titulo cor-especial btn-warning logo" href="index.html"><span class="responsible">SOS PET</span></a>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle navbar-header btn-warning" data-toggle="dropdown" href="#" role="button"
aria-haspopup="true" aria-expanded="false responssible-inicio">Início</a>
<div class="dropdown-menu fundo">
<a class="dropdown-item nav-item nav-link" href="sobreNos.html">Sobre Nós</a>
<a class="dropdown-item nav-item nav-link" href="mausTratos.html">Leis de proteção aos animais</a>
<a class="dropdown-item nav-item nav-link" href="index.html">Adote</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link navbar-header btn-warning nav-item nav-link responssible-adote" href="termoUso.html">Termo de Uso</a>
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle navbar-header btn-warning" data-toggle="dropdown" href="#" role="button"
aria-haspopup="true" aria-expanded="false responssible-inicio">Lista de Animais</a>
<div class="dropdown-menu fundo">
<a class="dropdown-item nav-item nav-link" href="cadastroAnimais.html">Cadastrar Animal</a>
<a class="dropdown-item nav-item nav-link" href="editarAnimais.html">Editar Animal</a>
<a class="dropdown-item nav-item nav-link" href="#" id="excluir-conta" data-toggle="modal" data-target="#exampleModalCenter">Remover Animal</a>
<a class="dropdown-item nav-item nav-link" href="listaAnimais.html">Meus Peludinhos</a>
</div>
</li>
<!--<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle navbar-header btn-warning" data-toggle="dropdown" href="#" role="button"
aria-haspopup="true" aria-expanded="false responssible-inicio">Lista de Animais</a>
<div class="dropdown-menu fundo">
<a class="dropdown-item nav-item nav-link" href="cadastroAnimais.html">Cadastrar Animais</a>
<a class="dropdown-item nav-item nav-link" href="editarAnimais.html">Editar Animais</a>
<a class="dropdown-item nav-item nav-link" href="#">Remover Animais</a>
</div>-->
</li>
<li class="nav-item dropdown ">
<a class="nav-link dropdown-toggle navbar-header btn-warning" data-toggle="dropdown" href="#" role="button"
aria-haspopup="true" aria-expanded="false responssible-inicio">Minha Conta</a>
<div class="dropdown-menu fundo">
<a class="dropdown-item nav-item nav-link" href="#">Editar Conta</a>
<div id="excluir-conta" class="dropdown-item nav-item nav-link" data-toggle="modal" data-target="#exampleModalCenter" >
<a class="dropdown-item nav-item nav-link" href="#">Excluir Conta</a></div>
<a class="dropdown-item nav-item nav-link" href="favoritos.html">Meus Favoritos</a> <a class="dropdown-item nav-item nav-link" href="index.html">Sair</a>
</div>
</li>
</ul>
<figure >
<img src="img/foto.png" id="my-photo" alt="foto de um animal" width="20%" height="100%">
</figure>
</nav>
<div id="borda-black"></div>
</header>
<main class="img">
<div class="justify-content-center container">
<h2>Dados Pessoais</h2>
<br>
<figure class="form-group">
<img src="img/foto.png" alt="foto de um animal" width="20%" height="20%">
</figure>
<span class="file-wrapper">
<button class="button" type="button" data-user-select-image="">Editar imagem</button>
</span>
<div class="input-group mb-3" required>
<select class="custom-select" id="tipoCadastro" readonly="readonly">
<option selected>Escolha o Tipo de Cadastro</option>
<option value="1">ONG</option>
<option value="2">Doador</eoption>
<option value="3">Adotante</option>
</select>
</div>
<form onsubmit="check_form()">
<section id="ong"><br>
<div class="form-group">
<label for="nome">Nome</label>
<input type="text" class="form-control obrigatorio" id="nome"name="nome"
required oninvalid="setCustomValidity('Por favor, preencha o nome todo')" oninput="setCustomValidity('')"onkeypress="return ApenasLetras(event,this);" readonly="readonly">
</div>
<div class="form-group">
<label for="cel">Celular</label>
<input type="text" class="form-control obrigatorio" id="cel"name="cel"
required oninvalid="setCustomValidity('Por favor, preencha o celular')" oninput="setCustomValidity('')" onkeypress="$(this).mask('(00) 00000-0009')" readonly="readonly">
</div>
<div class="form-group">
<label for="cpf">CPF</label>
<input type="text" class="form-control obrigatorio" id="cpf"name="cpf"
required oninvalid="setCustomValidity('Por favor, preencha o CPF')" oninput="setCustomValidity('')" maxlength="11" placeholder="digite somente o número ex:00000000000" onblur="return verificarCPF(this.value)" readonly="readonly">
</div>
<div class="form-group">
<label for="identidade">RG</label>
<input type="text" class="form-control obrigatorio" id="identidade"name="identidade"
required oninvalid="setCustomValidity('Por favor, preencha o RG')" oninput="setCustomValidity('')" onkeypress="$(this).mask('00.000.000 -0')" readonly="readonly" readonly="readonly">
</div>
<div class="form-group">
<label for="orgaoExpedidor">Orgão Expedidor</label>
<input type="text" class="form-control obrigatorio" id="orgaoExpedidor"name="orgaoExpedidor"
required oninvalid="setCustomValidity('Por favor, preencha o Orgão Expedidor')" oninput="setCustomValidity('')" onkeypress="return ApenasLetras(event,this);" readonly="readonly">
</div>
<div class="form-group">
<label for="outra_data">Data de Nascimento</label>
<input type="text" id="outra_data" class="form-control outra_data obrigatorio" name="outra_data"
required oninvalid="setCustomValidity('Por favor, preencha a Data de Nascimento')" maxlength="10" onkeypress="dtNascimento(this)" oninput="setCustomValidity('')" readonly="readonly">
</div>
<div class="form-group">
<label for="email">E-mail</label>
<input type="email" class="form-control input-md obrigatorio" id="email" name="email"
required oninvalid="setCustomValidity('Por favor, preencha o seu e-mail')" oninput="setCustomValidity('')" readonly="readonly">
</div>
<div class="form-group">
<label for="cep">Cep</label>
<input name="cep" type="text" id="cep" value="" onblur="pesquisacep(this.value);" class="form-control obrigatorio" aria-describedby="emailHelp"
required readonly="readonly">
</div>
<div class="form-group">
<label for="rua">Rua</label>
<input name="rua" type="text" id="rua" class="form-control obrigatorio" aria-describedby="emailHelp"
required readonly="readonly">
</div>
<div class="form-group">
<label for="num">Número</label>
<input type="text" id="num" class="form-control obrigatorio" aria-describedby="emailHelp" name="num"
required oninvalid="setCustomValidity('Por favor, preencha o complemento')" oninput="setCustomValidity('')" onkeyup="somenteNumeros(this);" readonly="readonly">
</div>
<div class="form-group">
<label for="complemento">Complemento</label>
<input type="text" id="complemento" class="form-control obrigatorio" aria-describedby="emailHelp"
required oninvalid="setCustomValidity('Por favor, preencha o complemento')" oninput="setCustomValidity('')"readonly="readonly" >
</div>
<div class="form-group">
<label for="bairro">Bairro</label>
<input name="bairro" type="text" id="bairro" class="form-control obrigatorio" aria-describedby="emailHelp"
required readonly="readonly">
</div>
<div class="form-group">
<label for="cidade">Cidade</label>
<input name="cidade" id="cidade" type="text" class="form-control obrigatorio" aria-describedby="emailHelp"
required readonly="readonly">
</div>
<div class="form-group">
<label for="uf">UF</label>
<input name="uf" type="text" id="uf" class="form-control obrigatorio" aria-describedby="emailHelp"
required readonly="readonly">
</div>
<div class="form-group">
<label for="senha">Senha</label>
<input type="password" class="form-control obrigatorio" id="senha" required oninvalid="setCustomValidity('Por favor, crie a sua senha')" oninput="setCustomValidity('')"readonly="readonly">
</div>
<button type="submit" class="btn btn-warning" id="botao" >Salvar Alterações</button>
</section>
</form>
</div>
</section>
</main>
<!-- Modal Excluir Conta -->
<div class="modal fade" id="exampleModalCenter" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="justify-content-center container">
<h2 class="logar">Você Realmente Deseja Remover esse Animal?</h2>
<div class="modal-body">
<form>
<button type="submit" class="btn btn-warning entrar-login">Excluir</button>
<button type="button" class="btn btn-warning entrar-login" data-dismiss="modal" aria-label="Close">Cancelar</button>
<!-- <button type="button" id="botao-x" class="close X" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button> -->
</form>
</div>
</div>
</div>
</div>
</div>
<footer class="bg-secondary p-3 rodape">
<p class="text-light m-0 text-center">
<a class="text-light" href="mailto:[email protected]"
>Contate-nos: ©SOS PET</a
>
</p>
</footer>
<script
src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN"
crossorigin="anonymous"
></script>
<script
src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q"
crossorigin="anonymous"
></script>
<script
src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl"
crossorigin="anonymous"
></script>
<script src="js/index.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.15/jquery.mask.min.js"></script>
<script src="js/minhaConta.js"></script>
</body>
</html>