MINOR: stats: improve alignment of color codes to save one line of header

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.
This commit is contained in:
Willy Tarreau 2014-05-13 21:58:31 +02:00
parent ec6b012bf4
commit d03fdf41ec

View 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>" "<td class=\"backup1\"></td><td class=\"noborder\">backup DOWN, going up </td>"
"</tr><tr>\n" "</tr><tr>\n"
"<td class=\"active0\"></td><td class=\"noborder\">active or backup DOWN &nbsp;</td>" "<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>" "<td class=\"active8\"></td><td class=\"noborder\">not checked </td>"
"</tr><tr>\n" "</tr><tr>\n"
"<td class=\"maintain\"></td><td class=\"noborder\" colspan=\"3\">active or backup DOWN for maintenance (MAINT) &nbsp;</td>" "<td class=\"maintain\"></td><td class=\"noborder\" colspan=\"3\">active or backup DOWN for maintenance (MAINT) &nbsp;</td>"