]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: stats: define the description' background color in dark color scheme
authorWilly Tarreau <w@1wt.eu>
Mon, 11 Apr 2022 05:59:27 +0000 (07:59 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 11 Apr 2022 06:01:43 +0000 (08:01 +0200)
Shawn Heisey reported that the proxy's description was unreadable in dark
color scheme. This is because the text color is changed in the table but
not the cell's background.

This should be backported to 2.5.

src/stats.c

index 5379332ca7c1362adcae0f605494b3d106cf4b0a..2d1a33ce7f79fda622f0c0e6eaaeee9a173ea5bc 100644 (file)
@@ -3356,6 +3356,7 @@ static void stats_dump_html_head(struct appctx *appctx, struct uri_auth *uri)
                      " a.lfsb:visited {color: #e8e6e3; text-decoration: none;}\n"
                      " a.lfsb:hover {color: #b5afa6; text-decoration: none;}\n"
                      " table.tbl th.empty { background-color: #181a1b; }\n"
+                     " table.tbl th.desc { background: #181a1b; }\n"
                      " table.tbl th.pxname { background-color: #8d0033; color: #ffff46; }\n"
                      " table.tbl th { border-color: #808080; }\n"
                      " table.tbl td { border-color: #808080; }\n"