Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
CRUD Animais da Fazenda
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
O Bar da Lora
CRUD Animais da Fazenda
Commits
bebb32bd
Commit
bebb32bd
authored
Apr 16, 2026
by
Marcos Teles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adicionado o HTML principal
parent
b3ebce56
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
cadastrar.html
templates/cadastrar.html
+25
-0
index.html
templates/index.html
+35
-0
No files found.
templates/cadastrar.html
View file @
bebb32bd
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"{{ url_for('static', filename='static/style.css') }}"
>
<link
rel=
"preconnect"
href=
"https://fonts.googleapis.com"
>
<link
rel=
"preconnect"
href=
"https://fonts.gstatic.com"
crossorigin
>
<link
href=
"https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap"
rel=
"stylesheet"
>
<title>
Cadastro
</title>
</head>
<body>
<h1>
Novo Animal
</h1>
<form
method=
"POST"
>
Nome:
<input
type=
"text"
name=
"nome"
required
><br>
Especie:
<input
type=
"text"
name=
"especie"
required
><br>
Idade:
<input
type=
"number"
name=
"idade"
required
><br>
Peso:
<input
type=
"number"
name=
"cidade"
required
><br>
<button
type=
"submit"
>
Salvar
</button>
</form>
</body>
</html>
templates/index.html
View file @
bebb32bd
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"{{ url_for('static', filename='static/style.css') }}"
>
<link
rel=
"preconnect"
href=
"https://fonts.googleapis.com"
>
<link
rel=
"preconnect"
href=
"https://fonts.gstatic.com"
crossorigin
>
<link
href=
"https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap"
rel=
"stylesheet"
>
<title>
Lista de Animais
</title>
</head>
<body>
<h1>
Animais Cadastrados
</h1>
<a
href=
"/cadastrar"
><button>
Novo Cadastro
</button></a>
<table
border=
"1"
>
<tr>
<th>
Nome
</th>
<th>
Espécie
</th>
<th>
Idade
</th>
<th>
Peso
</th>
</tr>
{% for a in animais %}
<tr>
<td>
{{ a.nome }}
</td>
<td>
{{ a.especie }}
</td>
<td>
{{ a.idade }}
</td>
<td>
{{ a.peso }}
</td>
</tr>
{% endfor %}
</table>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment