Split LogEvents into events, and errors
This commit is contained in:
1 parent
ec1b1c852b
commit
36470ff7ef
5 files changed
+49
-17
No files matched your search
@@ -87,6 +87,7 @@
|
||||
<li class="header">Info</li>
|
||||
<li><a href="/users"><i class="fa-solid fa-users fa-fw"></i> Users</a></li>
|
||||
<li><a href="/events"><i class="fa-solid fa-circle-exclamation fa-fw"></i> Events</a></li>
|
||||
<li><a href="/errors"><i class="fa-solid fa-exclamation-triangle fa-fw"></i> Errors</a></li>
|
||||
<li><a href="/machines"><i class="fa-solid fa-microchip fa-fw"></i> Machines</a></li>
|
||||
<li><a href="/networks"><i class="fa-solid fa-circle-nodes fa-fw"></i> Networks</a></li>
|
||||
</ul>
|
||||
@@ -119,7 +120,5 @@
|
||||
{% endblock %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,34 @@
|
||||
{% extends "OpenBench/base.html" %}
|
||||
|
||||
{% load mytags %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<table class="hoverable">
|
||||
|
||||
<tr class="table-header">
|
||||
<th>Date</th>
|
||||
<th>Worker</th>
|
||||
<th>User</th>
|
||||
<th>Test</th>
|
||||
<th>Summary</th>
|
||||
<th>Logs</th>
|
||||
</tr>
|
||||
|
||||
{% for event in events %}
|
||||
<tr>
|
||||
<td class="timestamp">{{event.created|date:'U'}}</td>
|
||||
<td><a href="/machines/{{event.machine_id}}">{{event.machine_id}}</a></td>
|
||||
<td>{{event.author|capfirst}}</td>
|
||||
<td><a href="/test/{{event.test_id}}">{{event.test_id|testIdToPrettyName}}</a></td>
|
||||
|
||||
<td>{{event.summary}}</td>
|
||||
<td>{% if event.log_file %}<a href='/event/{{event.id}}'>View</a>{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
<table>
|
||||
|
||||
{% include "OpenBench/Blocks/pagebrowser.html" %}
|
||||
|
||||
{% endblock %}
|
||||
@@ -10,10 +10,8 @@
|
||||
<th>Date</th>
|
||||
<th>User</th>
|
||||
<th>Test</th>
|
||||
<th>Worker</th>
|
||||
<th>TC</th>
|
||||
<th>Summary</th>
|
||||
<th>Logs</th>
|
||||
</tr>
|
||||
|
||||
{% for event in events %}
|
||||
@@ -21,10 +19,8 @@
|
||||
<td class="timestamp">{{event.created|date:'U'}}</td>
|
||||
<td>{{event.author|capfirst}}</td>
|
||||
<td><a href="/test/{{event.test_id}}">{{event.test_id|testIdToPrettyName}}</a></td>
|
||||
<td>{% if event.machine_id %} {{event.machine_id}} {% endif %}</td>
|
||||
<td>{{event.test_id|testIdToTimeControl}}</td>
|
||||
<td>{{event.summary}}</td>
|
||||
<td>{% if event.log_file %}<a href='/event/{{event.id}}'>View</a>{% endif %}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
|
||||
Reference in new issue
Block a user