index and paginator added
This commit is contained in:
31
Templates/Clientes/index.html
Normal file
31
Templates/Clientes/index.html
Normal 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 %}
|
||||
|
||||
Reference in New Issue
Block a user