This commit is contained in:
2026-04-22 01:53:31 +09:00
parent a0e8a7faf4
commit bc62dcdd10
3 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -52,7 +52,7 @@
msg.className = "tls-log-msg";
if (severity && SEV_LABEL[severity] && severity !== "info") {
const sev = document.createElement("span");
sev.className = "text-" + (SEV_COLOR[severity] || "tx") + " font-bold";
sev.className = "text-" + (SEV_COLOR[severity] || "light-grey") + " font-bold";
sev.textContent = SEV_LABEL[severity];
msg.appendChild(sev);
msg.appendChild(document.createTextNode(" "));
@@ -60,7 +60,7 @@
// Title is always in the default text color (white). Severity is
// communicated by the coloured label tag, not by tinting the title.
const msgText = document.createElement("span");
msgText.className = "textlight-grey";
msgText.className = "text-light-grey";
msgText.textContent = body || "";
msg.appendChild(msgText);
row.appendChild(msg);
+3 -3
View File
@@ -23,7 +23,7 @@
'Q': 'red', 'R': 'bright-purple'
} %}
{% set rank = result.rank or job.rank or '?' %}
{% set rank_color = rank_color_map.get(rank, 'tx') %}
{% set rank_color = rank_color_map.get(rank, 'light-grey') %}
<header class="tls-results-header">
<div class="tls-results-head">
@@ -72,7 +72,7 @@
<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="textlight-grey">{{ f.title }}</span>
<span class="text-light-grey">{{ f.title }}</span>
</span>
<span class="tls-log-detail text-light-grey-alt">{{ f.detail or '' }}</span>
</div>
@@ -386,7 +386,7 @@
{% if e.kind == 'phase' %}
<div class="tls-log-row">
<span class="tls-log-cat text-light-grey-alt">[{{ (e.phase or 'info')|replace('_','-')|lower }}]</span>
<span class="tls-log-msg textlight-grey">{{ e.detail or '' }}</span>
<span class="tls-log-msg text-light-grey">{{ e.detail or '' }}</span>
<span class="tls-log-detail text-light-grey-alt"></span>
</div>
{% else %}