[MINOR] add a link to the CSV export on the stats page.

This commit is contained in:
Willy Tarreau 2007-10-18 11:05:48 +02:00
parent 55bb8450c0
commit 5031e6adf5

View File

@ -274,6 +274,11 @@ int stats_dump_http(struct session *s, struct uri_auth *uri, int flags)
(s->flags & SN_STAT_HIDEDWN) ? ";up" : "",
(s->flags & SN_STAT_NORFRSH) ? ";norefresh" : "");
chunk_printf(&msg, sizeof(trash),
"<li><a href=\"%s;csv%s\">CSV export</a><br>\n",
uri->uri_prefix,
(uri->refresh > 0) ? ";norefresh" : "");
chunk_printf(&msg, sizeof(trash),
"</td>"
"<td align=\"left\" valign=\"top\" nowrap width=\"1%%\">"