Added SQL, dao and app - not functional
This commit is contained in:
33
templates/listar_cotas.html
Normal file
33
templates/listar_cotas.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="pt-BR">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Listar Cotas Mensais</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Cotas Mensais</h1>
|
||||
<a href="{{ url_for('nova_cota') }}">Adicionar Nova Cota</a>
|
||||
<table border="1">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Militante ID</th>
|
||||
<th>Valor Antigo</th>
|
||||
<th>Valor Novo</th>
|
||||
<th>Data de Alteração</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for cota in cotas %}
|
||||
<tr>
|
||||
<td>{{ cota.id }}</td>
|
||||
<td>{{ cota.militante_id }}</td>
|
||||
<td>R$ {{ cota.valor_antigo }}</td>
|
||||
<td>R$ {{ cota.valor_novo }}</td>
|
||||
<td>{{ cota.data_alteracao }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user