Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
Projeto_dos_viadinhos
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
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
IFRO
Projeto_dos_viadinhos
Commits
182bdabe
Commit
182bdabe
authored
Apr 16, 2026
by
Miguel Eduardo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
teste
parent
0466be17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
0 deletions
+53
-0
.gitignore
templates/.gitignore
+3
-0
cadastro.html
templates/cadastro.html
+25
-0
editar.html
templates/editar.html
+25
-0
No files found.
templates/.gitignore
0 → 100644
View file @
182bdabe
env/
*.db
\ No newline at end of file
templates/cadastro.html
0 → 100644
View file @
182bdabe
<!DOCTYPE html>
<html>
<head>
<title>
Cadastrar Animal
</title>
<link
rel=
"stylesheet"
href=
"{{ url_for('static', filename='style.css') }}"
>
</head>
<body>
<h1>
➕ Cadastro de Animal
</h1>
<form
method=
"POST"
>
<input
type=
"text"
name=
"nome"
placeholder=
"Nome"
required
><br><br>
<input
type=
"text"
name=
"especie"
placeholder=
"Espécie"
required
><br><br>
<input
type=
"number"
name=
"idade"
placeholder=
"Idade"
required
><br><br>
<input
type=
"number"
step=
"0.1"
name=
"peso"
placeholder=
"Peso"
required
><br><br>
<button
type=
"submit"
>
Salvar
</button>
</form>
<br>
<a
href=
"/"
>
⬅ Voltar
</a>
</body>
</html>
\ No newline at end of file
templates/editar.html
0 → 100644
View file @
182bdabe
<!DOCTYPE html>
<html>
<head>
<title>
Editar Animal
</title>
<link
rel=
"stylesheet"
href=
"{{ url_for('static', filename='style.css') }}"
>
</head>
<body>
<h1>
✏️ Editar Animal
</h1>
<form
method=
"POST"
>
<input
type=
"text"
name=
"nome"
value=
"{{ animal.nome }}"
required
><br><br>
<input
type=
"text"
name=
"especie"
value=
"{{ animal.especie }}"
required
><br><br>
<input
type=
"number"
name=
"idade"
value=
"{{ animal.idade }}"
required
><br><br>
<input
type=
"number"
step=
"0.1"
name=
"peso"
value=
"{{ animal.peso }}"
required
><br><br>
<button
type=
"submit"
>
Atualizar
</button>
</form>
<br>
<a
href=
"/"
>
⬅ Voltar
</a>
</body>
</html>
\ No newline at end of file
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