-
Notifications
You must be signed in to change notification settings - Fork 1
/
cadastroAnimais.html
192 lines (184 loc) · 10.8 KB
/
cadastroAnimais.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
<!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/cadastroAnimais.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="#"><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="home.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>Cadastro de Animais</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">
<select class="custom-select">
<option selected>Espécie</option>
<option value="gato">Gato</option>
<option value="cachorro">Cachorro</eoption>
</select>
</div>
<div class="form-group">
<select class="custom-select" id="sexo">
<option selected>Sexo</option>
<option value="femea">Fêmea</option>
<option value="macho">Macho</eoption>
</select>
</div>
<div class="form-group">
<select class="custom-select" id="porte">
<option selected>Porte</option>
<option value="femea">Pequeno</option>
<option value="macho">Médio</eoption>
<option value="macho">Grande</eoption>
</select>
</div>
<div class="form-group">
<label for="nome">Cor</label>
<input type="text" class="form-control obrigatorio" id="cor" name="cor"
required oninvalid="setCustomValidity('Campo Obrigatório!')" oninput="setCustomValidity('')"onkeypress="return ApenasLetras(event,this);">
</div>
<div class="form-group">
<label for="nome">Raça</label>
<input type="text" class="form-control obrigatorio" id="raca" name="raca"
required oninvalid="setCustomValidity('Campo Obrigatório!')" oninput="setCustomValidity('')"onkeypress="return ApenasLetras(event,this);">
</div>
<div class="form-group">
<select class="custom-select" id="situacao">
<option selected>Situação</option>
<option value="femea">Aguardando Adoção</option>
<option value="macho">Adotado</eoption>
</select>
</div>
<div class="form-group">
<label for="peso">Peso</label>
<input type="text" id="peso" class="form-control obrigatorio" aria-describedby="emailHelp" name="peso"
required oninvalid="setCustomValidity('Campo Obrigatório!')" oninput="setCustomValidity('')" onkeyup="somenteNumeros(this);">
</div>
<div class="form-group">
<label for="outra_data">Data da Postagem</label>
<input type="text" class="form-control outra_data obrigatorio" name="outra_data"
required oninvalid="setCustomValidity('Campo Obrigatório!')" maxlength="10" onkeypress="dtNascimento(this)" oninput="setCustomValidity('')" >
</div>
<label for="descricao">Descrição</label>
<div class="form-group">
<textarea id="descricao"></textarea>
</div>
<button type="submit" class="btn btn-warning" id="botao">Cadastrar</button>
</form>
</div>
</section>
</main>
<!-- Modal -->
<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="js/cadastroAnimais.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/cadastroOng.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/cadastroAnimais.js"></script>
</body>
</html>