Spaces:
No application file
No application file
Create list.html
Browse files- templates/list.html +23 -0
templates/list.html
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="pt-BR">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<title>Lista de Orçamentos</title>
|
6 |
+
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
|
7 |
+
</head>
|
8 |
+
<body>
|
9 |
+
<h1>Orçamentos de Reforma</h1>
|
10 |
+
<a href="{{ url_for('novo_orcamento') }}">Novo Orçamento</a>
|
11 |
+
<ul>
|
12 |
+
{% for o in orcamentos %}
|
13 |
+
<li>
|
14 |
+
{{ o.cliente }} - R$ {{ o.total }} -
|
15 |
+
<a href="{{ url_for('visualizar_orcamento', id=o.id) }}">Ver</a> |
|
16 |
+
<a href="{{ url_for('editar_orcamento', id=o.id) }}">Editar</a> |
|
17 |
+
<a href="{{ url_for('excluir_orcamento', id=o.id) }}">Excluir</a> |
|
18 |
+
<a href="{{ url_for('gerar_pdf', id=o.id) }}">PDF</a>
|
19 |
+
</li>
|
20 |
+
{% endfor %}
|
21 |
+
</ul>
|
22 |
+
</body>
|
23 |
+
</html>
|