{% extends "layout.html" %}
|
|
{% block content %}
|
|
<h1>Students List</h1>
|
|
<a href="{{ url_for('add_repostaje') }}" class="btn btn-primary">Add Student</a>
|
|
<table class="table">
|
|
<thead>
|
|
<tr>
|
|
<th>ID</th>
|
|
<th>Name</th>
|
|
<th>Age</th>
|
|
<th>Grade</th>
|
|
<th>Actions</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for repostajes in repostajess %}
|
|
<tr>
|
|
|
|
<td>{{ repostajes.identificador }}</td>
|
|
<td>{{ repostajes.fecha }}</td>
|
|
<td>{{ repostajes.vehiculo }}</td>
|
|
<td>{{ repostajes.kms }}</td>
|
|
<td>{{ repostajes.litros }}</td>
|
|
<td>{{ repostajes.descuento }}</td>
|
|
<td>{{ repostajes.precioxlitro }}</td>
|
|
<td>{{ repostajes.importe }}</td>
|
|
<td>
|
|
<a href="{{ url_for('edit_record', id=repostajes.identificador) }}" class="btn btn-warning">Edit</a>
|
|
<a href="{{ url_for('delete_record', id=repostajes.identificador) }}" class="btn btn-danger">Delete</a>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
</table>
|
|
{% endblock %}
|