[CLEANUP] added a few missing newlines to the HTML report
Sometimes it is preferable that the HTML output can be parsed. Ensure better use of the newlines for this.
This commit is contained in:
parent
417fae0e60
commit
f2b74c26c5
|
@ -3178,7 +3178,7 @@ int produce_content_stats(struct session *s)
|
|||
"th,td {"
|
||||
" font-size: 0.8em;"
|
||||
" align: center;"
|
||||
"}"
|
||||
"}\n"
|
||||
"h1 {"
|
||||
" font-size: xx-large;"
|
||||
" margin-bottom: 0.5em;"
|
||||
|
@ -3231,8 +3231,8 @@ int produce_content_stats(struct session *s)
|
|||
"table.lgd { border-collapse: collapse; border-width: 1px; border-style: none none none solid; border-color: black;}\n"
|
||||
"table.lgd td { border-width: 1px; border-style: solid solid solid solid; border-color: gray; padding: 2px;}\n"
|
||||
"table.lgd td.noborder { border-style: none; padding: 2px; white-space: nowrap;}\n"
|
||||
"-->"
|
||||
"</style></head>");
|
||||
"-->\n"
|
||||
"</style></head>\n");
|
||||
|
||||
if (buffer_write_chunk(rep, &msg) != 0)
|
||||
return 0;
|
||||
|
@ -3260,25 +3260,25 @@ int produce_content_stats(struct session *s)
|
|||
"<b>maxsock = </b> %d<br>\n"
|
||||
"<b>maxconn = </b> %d (current conns = %d)<br>\n"
|
||||
"</td><td align=\"center\" nowrap>\n"
|
||||
"<table class=\"lgd\"><tr>"
|
||||
"<table class=\"lgd\"><tr>\n"
|
||||
"<td class=\"active3\"> </td><td class=\"noborder\">active UP </td>"
|
||||
"<td class=\"backup3\"> </td><td class=\"noborder\">backup UP </td>"
|
||||
"</tr><tr>"
|
||||
"</tr><tr>\n"
|
||||
"<td class=\"active2\"></td><td class=\"noborder\">active UP, going down </td>"
|
||||
"<td class=\"backup2\"></td><td class=\"noborder\">backup UP, going down </td>"
|
||||
"</tr><tr>"
|
||||
"</tr><tr>\n"
|
||||
"<td class=\"active1\"></td><td class=\"noborder\">active DOWN, going up </td>"
|
||||
"<td class=\"backup1\"></td><td class=\"noborder\">backup DOWN, going up </td>"
|
||||
"</tr><tr>"
|
||||
"</tr><tr>\n"
|
||||
"<td class=\"active0\"></td><td class=\"noborder\">active or backup DOWN </td>"
|
||||
"<td class=\"active4\"></td><td class=\"noborder\">not checked </td>"
|
||||
"</tr></table>\n"
|
||||
"</td>"
|
||||
"<td align=\"left\" nowrap width=\"1%%\">"
|
||||
"<b>External ressources:</b><ul style=\"margin-top: 0.25em;\">"
|
||||
"<li><a href=\"" PRODUCT_URL "\">Primary site</a><br>"
|
||||
"<li><a href=\"" PRODUCT_URL_UPD "\">Updates (v" PRODUCT_BRANCH ")</a><br>"
|
||||
"<li><a href=\"" PRODUCT_URL_DOC "\">Online manual</a><br>"
|
||||
"<b>External ressources:</b><ul style=\"margin-top: 0.25em;\">\n"
|
||||
"<li><a href=\"" PRODUCT_URL "\">Primary site</a><br>\n"
|
||||
"<li><a href=\"" PRODUCT_URL_UPD "\">Updates (v" PRODUCT_BRANCH ")</a><br>\n"
|
||||
"<li><a href=\"" PRODUCT_URL_DOC "\">Online manual</a><br>\n"
|
||||
"</ul>"
|
||||
"</td>"
|
||||
"</tr></table>\n"
|
||||
|
|
Loading…
Reference in New Issue