1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2024-12-24 23:25:24 +00:00

added filter for logs

This commit is contained in:
cserma 2023-03-01 14:11:30 +03:00
parent 75ee073ed4
commit 8160819b39

View file

@ -6,6 +6,12 @@
{% block page_heading %}{% trans "Logs" %}{% endblock page_heading %} {% block page_heading %}{% trans "Logs" %}{% endblock page_heading %}
{% block page_heading_extra %}
{% include 'search_block.html' %}
{% endblock page_heading_extra %}
{% block content %} {% block content %}
<div class="row"> <div class="row">
<div class="col-lg-12"> <div class="col-lg-12">
@ -28,7 +34,7 @@
<th scope="col">{% trans "Message" %}</th> <th scope="col">{% trans "Message" %}</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody class="searchable">
{% for log in logs %} {% for log in logs %}
<tr> <tr>
<td>{{ log.id }}</td> <td>{{ log.id }}</td>
@ -47,3 +53,6 @@
</div> </div>
</div> </div>
{% endblock %} {% endblock %}
{% block script %}
<script src="/static/js/filter-table.js"></script>
{% endblock script %}