]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: stats: improve alignment of color codes to save one line of header
authorWilly Tarreau <w@1wt.eu>
Tue, 13 May 2014 19:58:31 +0000 (21:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 13 May 2014 20:01:21 +0000 (22:01 +0200)
Having both "active or backup DOWN" and "not checked" on the left side of
the color caption inflates the whole header block for no reason. Simply
move them both on the same line and reduce the header height.

src/dumpstats.c

index c76e115ee2b81df00c91c9c21a49f8dcf6470cfb..eae736c53f11d5cdfa395239868d7680df2988ce 100644 (file)
@@ -3846,7 +3846,6 @@ static void stats_dump_html_info(struct stream_interface *si, struct uri_auth *u
                      "<td class=\"backup1\"></td><td class=\"noborder\">backup DOWN, going up </td>"
                      "</tr><tr>\n"
                      "<td class=\"active0\"></td><td class=\"noborder\">active or backup DOWN &nbsp;</td>"
-                     "</tr><tr>\n"
                      "<td class=\"active8\"></td><td class=\"noborder\">not checked </td>"
                      "</tr><tr>\n"
                      "<td class=\"maintain\"></td><td class=\"noborder\" colspan=\"3\">active or backup DOWN for maintenance (MAINT) &nbsp;</td>"