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
9bd6d758
Commit
9bd6d758
authored
May 07, 2026
by
Natã Frederico Sangalletti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Melhorias nos HTMLs
parent
a80c2760
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
13 deletions
+33
-13
cadastro.html
templates/cadastro.html
+8
-4
editar.html
templates/editar.html
+4
-0
index.html
templates/index.html
+21
-9
No files found.
templates/cadastro.html
View file @
9bd6d758
<!
DOCTYPE
html>
<!
doctype
html>
<html
lang=
"pt-BR"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"/static/style.css"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/
>
<link
rel=
"stylesheet"
href=
"/static/style.css"
/
>
<title>
Cadastro
</title>
</head>
<body>
<div>
<form
action=
"/cadastro"
method=
"POST"
>
<label
for=
"nome"
>
Nome da Receita
</label>
<input
id=
"nome"
name=
"nome"
type=
"text"
required
>
<input
id=
"nome"
name=
"nome"
type=
"text"
required
/
>
<button
type=
"reset"
>
Limpar
</button>
<button
type=
"submit"
>
Salvar
</button>
</form>
</div>
</body>
</html>
\ No newline at end of file
templates/editar.html
View file @
9bd6d758
<!DOCTYPE html>
<html
lang=
"pt-BR"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"/static/style.css"
>
<title>
Editar Receita
</title>
</head>
<body>
<div>
<form
action=
"/editar/{{ receita.id }}"
method=
"POST"
>
...
...
@@ -17,4 +19,5 @@
</form>
</div>
</body>
</html>
\ No newline at end of file
templates/index.html
View file @
9bd6d758
<!
DOCTYPE
html>
<!
doctype
html>
<html
lang=
"pt-BR"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
href=
"/static/style.css"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
/
>
<link
rel=
"stylesheet"
href=
"/static/style.css"
/
>
<title>
Dishly
</title>
</head>
<body>
<a
href=
"/cadastro"
>
Cadastrar Receita
</a>
<h1>
Lista de Receitas
</h1>
<ul>
{% for receita in receitas %}
<header>
<h1>
Seja Bem-vindo ao Dishly
</h1>
</header>
<div>
<a
href=
"/cadastro"
>
Cadastrar Receita
</a>
<h1>
Lista de Receitas
</h1>
<ul>
{% for receita in receitas %}
<li>
{{ receita.nome }}
<a
href=
"/editar/{{ receita.id }}"
>
Editar
</a>
</li>
{% endfor %}
</ul>
{% endfor %}
</ul>
</div>
<footer>
<p>
©
2023 Dishly. Todos os direitos reservados.
</p>
</footer>
</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