Save segunda brancha as backup
This commit is contained in:
13
Templates/Sistemas/Xclientes/detail.html
Normal file
13
Templates/Sistemas/Xclientes/detail.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{% extends 'base.html' %}
|
||||
|
||||
{% block title %}
|
||||
{{object}} | Sistemas
|
||||
{% endblock title %}
|
||||
|
||||
|
||||
{% block content %}
|
||||
<h1>{{object.cliente}}</h1>
|
||||
{{object.id_sistema}} <br>
|
||||
{{object.num_licencias}}
|
||||
{% endblock content %}
|
||||
|
||||
36
Templates/Sistemas/Xclientes/lista.html
Normal file
36
Templates/Sistemas/Xclientes/lista.html
Normal file
@@ -0,0 +1,36 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
|
||||
{% block title %}
|
||||
Sistemas Lista
|
||||
{% endblock title %}
|
||||
|
||||
|
||||
|
||||
{% block content %}
|
||||
<table class="table">
|
||||
<thead class="thead-dark">
|
||||
<tr>
|
||||
<th scope="col">#</th>
|
||||
<th scope="col">Sistema</th>
|
||||
<th scope="col">Cliente</th>
|
||||
<th scope="col">No. Licencias</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
<tbody>
|
||||
{% for row in object_list %}
|
||||
<tr>
|
||||
<th scope="row">{{row.id}}</th>
|
||||
<td>{{row.id_sistema}}</td>
|
||||
<td>{{row.cliente}}</td>
|
||||
<td>{{row.num_licencias}}</td>
|
||||
<td><a href="{% url 'detail_sistemas' row.id %}" class="btn btn-info">Detalles</a></td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endblock content %}
|
||||
|
||||
Reference in New Issue
Block a user