-
Notifications
You must be signed in to change notification settings - Fork 0
/
cadastroAnimal.php
92 lines (89 loc) · 3.89 KB
/
cadastroAnimal.php
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
<?php
include_once 'head.php';
?>
<body>
<?php
// include_once 'menu.php';
?>
<div class="container">
<div class="col-md-3"></div>
<form class="form-group col-md-6" id="formCadastroAnimal">
<div class="form-group">
<div class="alert alert-success">
<?php if(isset($_REQUEST['msg']))
echo $_REQUEST['msg'];
?>
</div>
</div>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">Nome:</span>
<input type="text" class="form-control" id="nome" name="nome" maxlength="255">
</div>
</div>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">Descrição:</span>
<input type="text" class="form-control" id="descricao" name="descricao" maxlength="255">
</div>
</div>
<div class="form-group">
<input type="radio" name="sexo" value="1" checked="true"> Masculino
<input type="radio" name="sexo" value="2" > Feminino
</div>
<div class="form-group col-md-2" >
<div class="input-group">
<span class="input-group-addon">Peso</span>
<input type="number" id="peso" class="form-control" name="peso" maxlength="3">
</div>
</div>
<div class="form-group col-md-2" >
<div class="input-group">
<span class="input-group-addon">Altura</span>
<input type="number" id="altura" class="form-control" name="altura" maxlength="3">
</div>
</div>
<div class="form-group col-md-4">
<select id="raca" class="form-control">
<option value="0">Raça ...</option>
<option value="1">Pintcher</option>
<option value="2">Pastor Alemão</option>
<option value="3">Pastor Suíço</option>
</select>
</div>
<div class="form-group col-md-4" >
<select id="cor" class="form-control">
<option value="0">Cor ...</option>
<option value="1">Amarelo</option>
<option value="2">Preto</option>
<option value="3">Azul</option>
</select>
</div>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">Data de chegada: </span>
<input type="date" class="form-control" id="dataChegada" name="dataChegada">
</div>
</div>
<div class="form-group">
<div class="input-group">
<span class="input-group-addon">Data de óbito: </span>
<input type="date" class="form-control" id="dataObito" name="dataObito">
</div>
</div>
<div class="form-group">
<textarea class="form-control" id="obs" name="obs" placeholder="Observações"></textarea>
</div>
<div class="processando" id="procCadAnimal">
<img src="img/ajax-loader.gif">
</div>
<div class="form-group" id="retornoCadAnimal">
</div>
<button type="button" id="cadastrarAnimal" class="btn btn-success" onclick="cadastro();">Cadastrar</button>
</form>
<div class="col-md-3"></div>
</div>
<?php include 'rodape.php';
?>
</body>
</html>