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
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
Rafaela Ramos
CRUD_Animais_da_Fazenda
Commits
e9b2b819
Commit
e9b2b819
authored
Apr 16, 2026
by
Marina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mudei o index
parent
e455730f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
index.html
templates/index.html
+32
-0
No files found.
templates/index.html
View file @
e9b2b819
{% extends 'base.html' %}
{% block content %}
<h2>
Lista de Animais
</h2>
<table>
<tr>
<th>
Nome
</th>
<th>
Espécie
</th>
<th>
Idade
</th>
<th>
Peso
</th>
<th>
Ações
</th>
</tr>
{% for animal in animais %}
<tr>
<td>
{{ animal.nome }}
</td>
<td>
{{ animal.especie }}
</td>
<td>
{{ animal.idade }}
</td>
<td>
{{ animal.peso }}
</td>
<td>
<a
href=
"/editar/{{ animal.id }}"
>
Editar
</a>
<a
href=
"/excluir/{{ animal.id }}"
>
Excluir
</a>
</td>
</tr>
{% endfor %}
</table>
{% endblock %}
\ 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