Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dishly
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
2
Issues
2
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
Dishly
Commits
cf9ee5cd
Commit
cf9ee5cd
authored
May 07, 2026
by
Marcos Teles
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adicionando HTML do index.
parent
c8f3d141
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
55 additions
and
1 deletion
+55
-1
index.html
templates/index.html
+55
-1
No files found.
templates/index.html
View file @
cf9ee5cd
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"pt-BR"
>
<html
lang=
"PT-br"
>
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"{{ url_for('static', filename='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>
Dishly
</title>
<title>
Dishly
</title>
</head>
</head>
<body>
<body>
<div
class=
"container"
>
<header>
<h1>
Receitas
</h1>
<p
class=
"subtitle"
>
Gerenciamento de receitas
</p>
</header>
<div
class=
"actions"
>
<a
href=
"/cadastro"
class=
"btn btn-primary"
>
➕ Nova Receita
</a>
</div>
{% if receitas %}
<div
class=
"table-responsive"
>
<table
class=
"receitas-table"
>
<thead>
<tr>
<th>
Nome
</th>
<th>
Porções
</th>
<th>
Tempo
</th>
<th>
Descrição
</th>
<th>
Ingredientes
</th>
<th>
Preparo
</th>
</tr>
</thead>
<tbody>
{% for a in receitas %}
<tr>
<td><strong>
{{ a.nome }}
</strong></td>
<td>
{{ a.porcoes }} porções
</td>
<td>
{{ a.tempo }} minutos
</td>
<td>
{{ a.descricao }}
</td>
<td>
{{ a.ingredientes }}
</td>
<td>
{{ a.preparo }}
</td>
<td
class=
"actions-column"
>
<a
href=
"/editar/{{ a.id }}"
class=
"btn btn-edit"
>
✏️ Editar
</a>
<a
href=
"/delete/{{ a.id }}"
class=
"btn btn-delete"
onclick=
"return confirm('Tem certeza que deseja deletar?')"
>
🗑️ Deletar
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
{% else %}
<div
class=
"empty-state"
>
<p>
Nenhuma receita cadastrada ainda.
</p>
<a
href=
"/cadastro"
class=
"btn btn-primary"
>
Cadastre a primeira receita
</a>
</div>
{% endif %}
</div>
</body>
</body>
</html>
</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