release 1.15.1: SUMMARY severity backgrounds on mon HTML; fix section paint

Phase section() ╔═║╚ boxes are class section (no sum-header). Real
SUMMARY rows keep solid OK/WARN/ERROR/INFO backgrounds on the web.
This commit is contained in:
Hernâni Marques 2026-07-19 04:41:24 +02:00
parent 25cb8216b3
commit 66fa471d00
No known key found for this signature in database
GPG key ID: CB5738652768F7E9
4 changed files with 85 additions and 48 deletions

6
lib.sh
View file

@ -921,9 +921,11 @@ _summary_totals_box() {
local ROW_BLK=$'\e[1;97;48;5;53m' # bold white on dark magenta
local ROW_TOT=$'\e[1;37;48;5;236m' # bold white on dark gray
printf -- '\n%s╔══════════════════════════════════════╗%s\n' "$hdr_bg" "$N"
# Include SUMMARY on all three frame lines so HTML classify maps them to sum-header
# (phase section() boxes use the same ╔═║╚ glyphs but must not get sum-* paint).
printf -- '\n%s╔════════ %s ════════════════════╗%s\n' "$hdr_bg" "$_sum_lbl" "$N"
printf -- '%s║ %-34s ║%s\n' "$hdr_bg" "$_sum_lbl" "$N"
printf -- '%s╚══════════════════════════════════════╝%s\n' "$hdr_bg" "$N"
printf -- '%s╚════════ %s ════════════════════╝%s\n' "$hdr_bg" "$_sum_lbl" "$N"
# $1=row_bg $2=badge_bg $3=tag $4=n $5=label_fg — full-width-ish row
_sum_row() {