| 1 |
{% if records %} |
| 2 |
<table> |
| 3 |
<thead> |
| 4 |
<tr> |
| 5 |
<th>Level</th> |
| 6 |
<th>Time</th> |
| 7 |
<th>Message</th> |
| 8 |
<th>Location</th> |
| 9 |
</tr> |
| 10 |
</thead> |
| 11 |
<tbody> |
| 12 |
{% for record in records %} |
| 13 |
<tr class="{{ loop.cycle('flDebugOdd', 'flDebugEven') }}"> |
| 14 |
<td>{{ record.level }}</td> |
| 15 |
<td>{{ record.time }}</td> |
| 16 |
<td>{{ record.message }}</td> |
| 17 |
<td title="{{ record.file_long }}:{{ record.line }}">{{ record.file }}:{{ record.line }}</td> |
| 18 |
</tr> |
| 19 |
{% endfor %} |
| 20 |
</tbody> |
| 21 |
</table> |
| 22 |
{% else %} |
| 23 |
<p>No messages logged.</p> |
| 24 |
{% endif %} |