devicehub-django/evidence/templates/evidences.html

41 lines
962 B
HTML
Raw Normal View History

2024-07-11 15:40:45 +00:00
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<div class="row">
<div class="col">
<h3>{{ subtitle }}</h3>
</div>
</div>
<div class="dataTable-container">
<form method="post">
{% csrf_token %}
<table class="table">
<thead>
<tr>
<th scope="col" data-sortable="">
<a class="dataTable-sorter" href="#">Title</a>
</th>
</tr>
</thead>
2024-07-26 15:59:34 +00:00
{% for snap in evicendes %}
2024-07-11 15:40:45 +00:00
<tbody>
<tr>
<td>
2024-07-26 15:59:34 +00:00
<input type="checkbox" name="evidences" value="{{ snap.id }}" />
2024-07-11 15:40:45 +00:00
</td>
<td>
2024-07-26 15:59:34 +00:00
<a href="{# url 'evidence:details' snap.pk #}">{{ snap.uuid }} {{ snap.sid }} {{ snap.version }}</a>
2024-07-11 15:40:45 +00:00
</td>
<td>
<a href="{% url 'device:details' snap.computer.device.pk %}">{{ snap.computer.device.manufacturer }} {{ snap.computer.device.model }}</a>
</td>
</tr>
</tbody>
{% endfor %}
</table>
</form>
</div>
{% endblock %}