-
Notifications
You must be signed in to change notification settings - Fork 1
/
cadastroOng.html
214 lines (200 loc) · 13 KB
/
cadastroOng.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
<!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/cadastroOng.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="cadastro.html">Cadastre-se</a>
</li>
<li class="nav-item">
<a class="nav-link navbar-header btn-warning nav-item nav-link responssible-adote" href="cadastroOng.html">Cadastre sua ONG</a>
</li>
<li class="nav-item">
<div class="nav-link navbar-header btn-warning nav-item nav-link responssible-ajude hover-login" data-toggle="modal" data-target="#exampleModalCenter" >
Login</div>
</li>
</ul>
</div>
</nav>
<div id="borda-black"></div>
</header>
<main class="img">
<div class="justify-content-center container">
<h2>Cadastre Sua ONG</h2>
<form onsubmit="check_form()">
<section id="ong"><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="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);">
</div>
<div class="form-group">
<label for="identidade">Razão Social</label>
<input type="text" class="form-control obrigatorio" id="identidade"name="identidade"
required oninvalid="setCustomValidity('Por favor, preencha a Razão Social')" oninput="setCustomValidity('')">
</div>
<div class="form-group">
<label for="cpf">CNPJ</label>
<input type="text" class="form-control input-md" id="cnpj" onkeyup="FormataCnpj(this,event)" onblur="if(!validarCNPJ(this.value)){alert('CNPJ Informado é inválido'); this.value='';}" maxlength="18" ng-model="cadastro.cnpj"aria-describedby="emailHelp" name="cnpj" onkeyup="cpfMascara(th)"
required oninvalid="this.setCustomValidity('Por favor, preencha o CNPJ')" oninput="setCustomValidity('')">
</div>
<label>Telefone</label>
<input type="text" class="form-control" id="telefone" name="telefone"><br>
<label>Celular</label>
<input type="text" class="form-control" id="celular" name="celular" required oninvalid="setCustomValidity('Por favor, preencha o cel')" oninput="setCustomValidity('')"><br>
<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('')">
</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 >
</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>
</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);">
</div>
<div class="form-group">
<label for="complemento">Complemento</label>
<input type="text" id="complemento" class="form-control obrigatorio" aria-describedby="emailHelp">
</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>
</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>
</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>
</div>
<label>Conta Bancária</label>
<input type="text" class="form-control" id="conta-banco" name="conta-banco" required oninvalid="setCustomValidity('Por favor, preencha o complemento')" oninput="setCustomValidity('')"><br>
<div class="input-group mb-3" required>
<select class="custom-select" id="tipoConta">
<option selected>Escolha o Tipo de Conta</option>
<option value="1">Corrente</option>
<option value="2">Poupança</eoption>
</select>
</div>
<div class="form-group">
<label for="num">Agência</label>
<input type="text" id="agencia" class="form-control obrigatorio" aria-describedby="emailHelp" name="agencia"
required oninvalid="setCustomValidity('Por favor, preencha a agência')" oninput="setCustomValidity('')" onkeyup="somenteNumeros(this);">
</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('')">
</div>
<button type="submit" class="btn btn-warning" id="botao" >Cadastrar</button>
</section>
</form>
</div>
</section>
</main>
<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">Já sou cadastrado</h2>
<div class="modal-body">
<form>
<div class="form-group">
<label for="login">E-mail</label>
<input type="email" class="form-control input-login" name="login" required placeholder="Digite seu E-mail" oninvalid="setCustomValidity('Por favor, o seu login precisa ser o seu e-mail')" oninput="setCustomValidity('')" >
</div>
<div class="form-group">
<label for="exampleInputPassword1">Senha</label>
<input type="password" class="form-control input-login" id="exampleInputPassword1" required placeholder="Digite sua Senha" oninvalid="setCustomValidity('Por favor, digite a sua senha')" oninput="setCustomValidity('')">
</div>
<div class="form-group form-check">
<input type="checkbox" class="form-check-input" id="exampleCheck1">
<label class="form-check-label lembra-senha" for="exampleCheck1">Lembrar minha senha</label>
</div>
<button type="submit" class="btn btn-warning entrar-login">Entrar</button>
<button type="button" id="botao-x" class="close X" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</form><br>
<a class="ajuda" href="cadastro.html">Não sou cadastrado</a>
</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]?subject=DeveloperContact"
> 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="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="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery.mask/1.14.11/jquery.mask.min.js"></script>
<script src="js/cadastroOng.js"></script>
</body>
</html>