-
Notifications
You must be signed in to change notification settings - Fork 1
/
administrador.php
225 lines (196 loc) · 7.97 KB
/
administrador.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
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
<!doctype html>
<html lang="en">
<head>
<title>Administrador - Biogranja</title>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css">
<style>
img {
max-width: 100px;
margin: 20px auto;
display: block;
}
form {
display: block;
margin: 50px auto;
max-width: 400px;
}
.menu {
display: flex;
flex-direction: row;
padding: 20px 0;
justify-content: flex-end;
width: 100%;
list-style: none;
border-bottom: 1px solid #d9d0d0;
}
.menu li {
margin-left: 40px;
}
a {
color: #524d4d;
font-size: 18px;
font-weight: 300;
}
a:hover {
text-decoration: none;
color: #333
}
</style>
</head>
<body>
<div class="container">
<ul class="menu">
<li><a href="#">Funcionário</a></li>
<li><a href="#">Adm</a></li>
<li><a href="#">Sair</a></li>
</ul>
<div class="row">
<div class="col-md-6">
<h1 class="h1 mt-5 text-left mb-5">Sistema Biogranja - Administrador</h1>
</div>
<div class="col-md-6 d-flex align-items-center justify-content-end">
<a name="relatorio" id="relatorio" class="btn btn-success" href="#" role="button">Gerar Relatório</a>
</div>
</div>
<!-- Button trigger modal -->
<button type="button" class="btn btn-info btn-small mb-3" data-toggle="modal" data-target="#modelId">
Cadastrar Galinha
</button>
<table class="table">
<thead>
<tr>
<th class="w-25">Raça</th>
<th class="w-25">Peso</th>
<th class="w-25">Destino</th>
<th class="w-25">Ação</th>
</tr>
</thead>
<tbody>
<tr>
<td>Legorne</td>
<td>6.89</td>
<td>Corte</td>
<td>
<a name="btn-editar" id="btn-editar" class="btn btn-secondary" href="#" role="button">Editar</a>
<a name="btn-excluir" id="btn-excluir" class="btn btn-danger" href="#" role="button">Excluir</a>
</td>
</tr>
</tbody>
</table>
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-small mb-3" data-toggle="modal" data-target="#modelId">
Cadastrar Ração
</button>
<table class="table">
<thead>
<tr>
<th class="w-50">Marca</th>
<th class="w-25">Peso</th>
<th>Ação</th>
</tr>
</thead>
<tbody>
<tr>
<td>FortAve</td>
<td>8.5</td>
<td>
<a name="btn-editar" id="btn-editar" class="btn btn-secondary" href="#" role="button">Editar</a>
<a name="btn-excluir" id="btn-excluir" class="btn btn-danger" href="#" role="button">Excluir</a>
</td>
</tr>
</tbody>
</table>
<!-- Modal -->
<div class="modal fade" id="modelId" tabindex="-1" role="dialog" aria-labelledby="modelTitleId" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title">Cadastrar Nova Galinha</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<form action="" method="get">
<div class="form-group">
<label for="raca">Raça</label>
<select name="destino" id="destino" class="form-control">
<option value="Master Grey">Master Grey</option>
<option value="Legorne">Legorne</option>
<option value="Frizzle">Frizzle</option>
<option value="Feral Chicken">Feral Chicken</option>
</select>
</div>
<div class="form-group">
<label for="peso">Peso</label>
<input type="text" name="peso" id="peso" class="form-control" placeholder="Peso" aria-describedby="helpId">
</div>
<div class="form-group">
<label for="destino">Destino</label>
<select name="destino" id="destino" class="form-control">
<option value="Corte">Corte</option>
<option value="Postura">Postura</option>
</select>
</div>
<button type="submit" class="btn btn-outline-info float-right w-50">Salvar</button>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Fechar</button>
</div>
</div>
</div>
</div>
<!-- Button trigger modal -->
<button type="button" class="btn btn-primary btn-small mb-3" data-toggle="modal" data-target="#modelId">
Cadastrar Funcionário
</button>
<table class="table">
<thead>
<tr>
<th class="w-25">Matricula</th>
<th class="w-50">Nome</th>
<th>Ação</th>
</tr>
</thead>
<tbody>
<tr>
<td>0982123</td>
<td>Funcionário 01</td>
<td>
<a name="btn-editar" id="btn-editar" class="btn btn-secondary" href="#" role="button">Editar</a>
<a name="btn-excluir" id="btn-excluir" class="btn btn-danger" href="#" role="button">Excluir</a>
</td>
</tr>
</tbody>
</table>
<h3 class="h3">Galinheiros</h3>
<table class="table mt-1">
<thead>
<tr>
<th class="w-75">Galinheiro</th>
<th>Ação</th>
</tr>
</thead>
<tbody>
<tr>
<td>Galinheiro 01</td>
<td>
<a name="btn-editar" id="btn-editar" class="btn btn-secondary" href="#" role="button">Ativar</a>
<a name="btn-excluir" id="btn-excluir" class="btn btn-danger" href="#" role="button">Desativar</a>
</td>
</tr>
</tbody>
</table>
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"></script>
</body>
</html>