dashboard/templates/journal.html

10 lines
404 B
HTML

{% if error %}
<div class="jline j-error-once"><span class="muted">journalctl: {{ error }}</span></div>
{% endif %}
{% for e in entries %}
<div class="jline{% if e.prio <= 3 %} j-err{% elif e.prio == 4 %} j-warn{% endif %}" data-cursor="{{ e.cursor }}">
<span class="j-time">{{ e.stamp }}</span>
<span class="j-ident">{{ e.ident }}</span>
<span class="j-msg">{{ e.msg }}</span>
</div>
{% endfor %}