reset password
This commit is contained in:
69
Templates/Clientes/Errores_Timbres_list.html
Normal file
69
Templates/Clientes/Errores_Timbres_list.html
Normal file
@@ -0,0 +1,69 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
|
||||
{% block content %}
|
||||
<div class="table-responsive-sm">
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">UUID</th>
|
||||
<th scope="col">Error</th>
|
||||
<th scope="col">RCF</th>
|
||||
<th scope="col">Folio</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for errTimbre in object_list %}
|
||||
<tr class="{% if errTimbre.modo|lower == 'prueba' %}table-danger{% endif %}">
|
||||
<th scope="row">{{errTimbre.uuid}}</th>
|
||||
<td>{{errTimbre.description}}</td>
|
||||
<td>{{errTimbre.rfcc}}</td>
|
||||
<td>{{errTimbre.folio}}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{% if page_obj.has_other_pages %}
|
||||
|
||||
<nav>
|
||||
<ul class="pagination justify-content-center">
|
||||
{% if page_obj.has_previous %}
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="?page={{ page_obj.previous_page_number }}{% for i,v in filters.items %}&{{i}}={{v}}{% endfor%}" aria-label="Previous">
|
||||
<span aria-hidden="true">«</span>
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="page-item disabled">
|
||||
<span class="page-link" aria-hidden="true">«</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
|
||||
{% for p in page_obj.paginator.page_range %}
|
||||
{% if page_obj.number == p %}
|
||||
<li class="page-item"><a class="page-link" style="color: red;" href="#">{{ p }}</a></li>
|
||||
{% else %}
|
||||
<li class="page-item"><a class="page-link" href="?page={{ p }}{% for i,v in filters.items %}&{{i}}={{v}}{% endfor%}">{{ p }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% if page_obj.has_next %}
|
||||
<li class="page-item">
|
||||
<a class="page-link" href="?page={{ page_obj.next_page_number }}{% for i,v in filters.items %}&{{i}}={{v}}{% endfor%}" aria-label="Next">
|
||||
<span aria-hidden="true">»</span>
|
||||
</a>
|
||||
</li>
|
||||
{% else %}
|
||||
<li class="page-item disabled">
|
||||
<span class="page-link" aria-hidden="true">»</span>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</nav>
|
||||
{% endif %}
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user