index and paginator added

This commit is contained in:
Francisco Rodriguez
2022-11-27 11:05:35 -07:00
parent ac180683c3
commit 76465e348b
6 changed files with 186 additions and 4 deletions

View File

@@ -0,0 +1,31 @@
{% extends "base.html" %}
{% block content %}
<table class="table">
<thead>
<tr>
<th scope="col">UUID</th>
<th scope="col">
<input id="table_name" name="name" value="True" type="checkbox" class="form-check-input" >
RFC Cliente
</th>
<th scope="col">actions</th>
</tr>
</thead>
<tbody>
{% for obj in timbres %}
<tr class="">
<th scope="row">{{obj.uuid}}</th>
<td>{{obj.rfcc}}</td>
<td>
{% if request.user.is_staff %}
<a href="#" class="btn btn-info">View</a>
{% endif %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endblock content %}