passei os frontends pra bootstrap-flask
This commit is contained in:
14
app.py
14
app.py
@@ -18,11 +18,13 @@ from functions.database import (
|
|||||||
from sqlalchemy import create_engine, and_
|
from sqlalchemy import create_engine, and_
|
||||||
from sqlalchemy.orm import sessionmaker
|
from sqlalchemy.orm import sessionmaker
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
|
from flask_bootstrap import Bootstrap5
|
||||||
|
|
||||||
Session = sessionmaker(bind=engine)
|
Session = sessionmaker(bind=engine)
|
||||||
session = Session()
|
session = Session()
|
||||||
|
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
bootstrap = Bootstrap5(app)
|
||||||
|
|
||||||
|
|
||||||
def session_run(model):
|
def session_run(model):
|
||||||
@@ -236,19 +238,11 @@ def listar_relatorios_vendas():
|
|||||||
def home():
|
def home():
|
||||||
links = []
|
links = []
|
||||||
for rule in app.url_map.iter_rules():
|
for rule in app.url_map.iter_rules():
|
||||||
# Filter out rules we can't navigate to in a browser
|
|
||||||
# and rules that require parameters
|
|
||||||
if "GET" in rule.methods and has_no_empty_params(rule):
|
if "GET" in rule.methods and has_no_empty_params(rule):
|
||||||
url = url_for(rule.endpoint, **(rule.defaults or {}))
|
url = url_for(rule.endpoint, **(rule.defaults or {}))
|
||||||
links.append((url, rule.endpoint))
|
links.append((url, rule.endpoint))
|
||||||
l_html = ""
|
|
||||||
for l in links:
|
return render_template('home.html', links=links)
|
||||||
l_html += f'<a href="{l[0]}">{l[1].replace("_"," ")}</a><br>'
|
|
||||||
home_html = f"""
|
|
||||||
<p>Links</p>
|
|
||||||
{l_html}
|
|
||||||
"""
|
|
||||||
return home_html
|
|
||||||
|
|
||||||
|
|
||||||
def has_no_empty_params(rule):
|
def has_no_empty_params(rule):
|
||||||
|
|||||||
41
templates/base.html
Normal file
41
templates/base.html
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="pt-br">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>{% block title %}{% endblock %} - Sistema de Gestão</title>
|
||||||
|
{{ bootstrap.load_css() }}
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
|
||||||
|
<div class="container">
|
||||||
|
<a class="navbar-brand" href="{{ url_for('home') }}">Sistema de Gestão</a>
|
||||||
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav">
|
||||||
|
<span class="navbar-toggler-icon"></span>
|
||||||
|
</button>
|
||||||
|
<div class="collapse navbar-collapse" id="navbarNav">
|
||||||
|
<ul class="navbar-nav">
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ url_for('listar_militantes') }}">Militantes</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ url_for('listar_cotas') }}">Cotas</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ url_for('listar_pagamentos') }}">Pagamentos</a>
|
||||||
|
</li>
|
||||||
|
<li class="nav-item">
|
||||||
|
<a class="nav-link" href="{{ url_for('listar_materiais') }}">Materiais</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</nav>
|
||||||
|
|
||||||
|
<div class="container mt-4">
|
||||||
|
{% block content %}{% endblock %}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{{ bootstrap.load_js() }}
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
18
templates/home.html
Normal file
18
templates/home.html
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
|
||||||
|
{% block title %}Início{% endblock %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-md-12">
|
||||||
|
<h2>Menu do Sistema</h2>
|
||||||
|
<div class="list-group">
|
||||||
|
{% for url, endpoint in links %}
|
||||||
|
<a href="{{ url }}" class="list-group-item list-group-item-action">
|
||||||
|
{{ endpoint|replace('_', ' ')|title }}
|
||||||
|
</a>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Início{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Listar Assinaturas Anuais</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Assinaturas Anuais</h1>
|
<h1>Assinaturas Anuais</h1>
|
||||||
<a href="{{ url_for('nova_assinatura') }}">Adicionar Nova Assinatura</a>
|
<a href="{{ url_for('nova_assinatura') }}">Adicionar Nova Assinatura</a>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@@ -34,5 +32,4 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Listar Cotas Mensais</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Cotas Mensais</h1>
|
<h1>Cotas Mensais</h1>
|
||||||
<a href="{{ url_for('nova_cota') }}">Adicionar Nova Cota</a>
|
<a href="{{ url_for('nova_cota') }}">Adicionar Nova Cota</a>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@@ -30,5 +28,4 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Listar Materiais</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Materiais Vendidos</h1>
|
<h1>Materiais Vendidos</h1>
|
||||||
<a href="{{ url_for('novo_material') }}">Adicionar Novo Material</a>
|
<a href="{{ url_for('novo_material') }}">Adicionar Novo Material</a>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@@ -32,5 +30,4 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,17 +1,37 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Lista de Militantes</title>
|
{% block content %}
|
||||||
</head>
|
<div class="row">
|
||||||
<body>
|
<div class="col-md-12">
|
||||||
<h1>Militantes</h1>
|
<h2>Lista de Militantes</h2>
|
||||||
<ul>
|
<a href="{{ url_for('novo_militante') }}" class="btn btn-primary mb-3">Novo Militante</a>
|
||||||
{% for militante in militantes %}
|
|
||||||
<li>{{ militante.nome }} - {{ militante.email }}</li>
|
<table class="table table-striped">
|
||||||
{% endfor %}
|
<thead>
|
||||||
</ul>
|
<tr>
|
||||||
<a href="{{ url_for('novo_militante') }}">Adicionar Novo Militante</a>
|
<th>Nome</th>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<th>CPF</th>
|
||||||
</body>
|
<th>Email</th>
|
||||||
</html>
|
<th>Telefone</th>
|
||||||
|
<th>Endereço</th>
|
||||||
|
<th>Filiado</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
{% for militante in militantes %}
|
||||||
|
<tr>
|
||||||
|
<td>{{ militante.nome }}</td>
|
||||||
|
<td>{{ militante.cpf }}</td>
|
||||||
|
<td>{{ militante.email }}</td>
|
||||||
|
<td>{{ militante.telefone }}</td>
|
||||||
|
<td>{{ militante.endereco }}</td>
|
||||||
|
<td>{{ 'Sim' if militante.filiado else 'Não' }}</td>
|
||||||
|
</tr>
|
||||||
|
{% endfor %}
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Listar Pagamentos</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Pagamentos</h1>
|
<h1>Pagamentos</h1>
|
||||||
<a href="{{ url_for('novo_pagamento') }}">Adicionar Novo Pagamento</a>
|
<a href="{{ url_for('novo_pagamento') }}">Adicionar Novo Pagamento</a>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@@ -30,5 +28,5 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Listar Relatórios de Cotas</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Relatórios de Cotas Mensais</h1>
|
<h1>Relatórios de Cotas Mensais</h1>
|
||||||
<a href="{{ url_for('novo_relatorio_cotas') }}">Adicionar Novo Relatório</a>
|
<a href="{{ url_for('novo_relatorio_cotas') }}">Adicionar Novo Relatório</a>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@@ -30,5 +28,5 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
{% endblock %}
|
||||||
</html>
|
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Listar Relatórios de Vendas</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Relatórios de Vendas de Materiais</h1>
|
<h1>Relatórios de Vendas de Materiais</h1>
|
||||||
<a href="{{ url_for('novo_relatorio_vendas') }}">Adicionar Novo Relatório</a>
|
<a href="{{ url_for('novo_relatorio_vendas') }}">Adicionar Novo Relatório</a>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@@ -30,5 +28,5 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Listar Vendas de Jornais</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Vendas de Jornais Avulsos</h1>
|
<h1>Vendas de Jornais Avulsos</h1>
|
||||||
<a href="{{ url_for('nova_venda_jornal') }}">Adicionar Nova Venda</a>
|
<a href="{{ url_for('nova_venda_jornal') }}">Adicionar Nova Venda</a>
|
||||||
<table border="1">
|
<table border="1">
|
||||||
@@ -30,5 +28,5 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Nova Assinatura Anual</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Registrar Nova Assinatura Anual</h1>
|
<h1>Registrar Nova Assinatura Anual</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div>
|
<div>
|
||||||
@@ -35,5 +33,5 @@
|
|||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('listar_assinaturas') }}">Voltar para Lista</a>
|
<a href="{{ url_for('listar_assinaturas') }}">Voltar para Lista</a>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Nova Cota Mensal</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Registrar Nova Cota Mensal</h1>
|
<h1>Registrar Nova Cota Mensal</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div>
|
<div>
|
||||||
@@ -27,5 +25,5 @@
|
|||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('listar_cotas') }}">Voltar para Lista</a>
|
<a href="{{ url_for('listar_cotas') }}">Voltar para Lista</a>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Nova Venda de Jornal</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Registrar Nova Venda de Jornal</h1>
|
<h1>Registrar Nova Venda de Jornal</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div>
|
<div>
|
||||||
@@ -27,5 +25,5 @@
|
|||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('listar_vendas_jornal') }}">Voltar para Lista</a>
|
<a href="{{ url_for('listar_vendas_jornal') }}">Voltar para Lista</a>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Novo Material</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Registrar Novo Material</h1>
|
<h1>Registrar Novo Material</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div>
|
<div>
|
||||||
@@ -31,5 +29,5 @@
|
|||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('listar_materiais') }}">Voltar para Lista</a>
|
<a href="{{ url_for('listar_materiais') }}">Voltar para Lista</a>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Novo Militante</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Criar Novo Militante</h1>
|
<h1>Criar Novo Militante</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
Nome: <input type="text" name="nome" required><br>
|
Nome: <input type="text" name="nome" required><br>
|
||||||
@@ -16,5 +14,6 @@
|
|||||||
<input type="submit" value="Criar">
|
<input type="submit" value="Criar">
|
||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Novo Pagamento</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Registrar Novo Pagamento</h1>
|
<h1>Registrar Novo Pagamento</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div>
|
<div>
|
||||||
@@ -27,5 +25,5 @@
|
|||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('listar_pagamentos') }}">Voltar para Lista</a>
|
<a href="{{ url_for('listar_pagamentos') }}">Voltar para Lista</a>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Novo Relatório de Cotas</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Registrar Novo Relatório de Cotas</h1>
|
<h1>Registrar Novo Relatório de Cotas</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div>
|
<div>
|
||||||
@@ -27,5 +25,6 @@
|
|||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('listar_relatorios_cotas') }}">Voltar para Lista</a>
|
<a href="{{ url_for('listar_relatorios_cotas') }}">Voltar para Lista</a>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
{% endblock %}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
<!DOCTYPE html>
|
{% extends 'base.html' %}
|
||||||
<html lang="pt-BR">
|
|
||||||
<head>
|
{% block title %}Listar Militantes{% endblock %}
|
||||||
<meta charset="UTF-8">
|
|
||||||
<title>Novo Relatório de Vendas</title>
|
{% block content %}
|
||||||
</head>
|
|
||||||
<body>
|
|
||||||
<h1>Registrar Novo Relatório de Vendas</h1>
|
<h1>Registrar Novo Relatório de Vendas</h1>
|
||||||
<form method="post">
|
<form method="post">
|
||||||
<div>
|
<div>
|
||||||
@@ -27,5 +25,6 @@
|
|||||||
</form>
|
</form>
|
||||||
<a href="{{ url_for('listar_relatorios_vendas') }}">Voltar para Lista</a>
|
<a href="{{ url_for('listar_relatorios_vendas') }}">Voltar para Lista</a>
|
||||||
<a href="{{ url_for('home') }}">Home</a>
|
<a href="{{ url_for('home') }}">Home</a>
|
||||||
</body>
|
|
||||||
</html>
|
|
||||||
|
{% endblock %}
|
||||||
|
|||||||
Reference in New Issue
Block a user