--
This commit is contained in:
@@ -67,11 +67,12 @@
|
||||
Log row for a finding. Columns:
|
||||
[step] severity-label + title(white) detail(gray)
|
||||
#}
|
||||
{% set _color_compat = {'tx': 'light-grey', 'tx-alt': 'light-grey-alt'} %}
|
||||
{% macro finding_row(f) -%}
|
||||
<div class="tls-log-row">
|
||||
<span class="tls-log-cat text-light-grey-alt">[{{ (f.step or f.group or f.category or 'info')|replace('_','-')|lower }}]</span>
|
||||
<span class="tls-log-msg">
|
||||
<span class="text-{{ f.color }} font-bold">{{ f.severity_label|upper }}</span>
|
||||
<span class="text-{{ _color_compat.get(f.color, f.color) }} font-bold">{{ f.severity_label|upper }}</span>
|
||||
<span class="text-light-grey">{{ f.title }}</span>
|
||||
</span>
|
||||
<span class="tls-log-detail text-light-grey-alt">{{ f.detail or '' }}</span>
|
||||
|
||||
Reference in New Issue
Block a user