mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
[MINOR] add a link to the CSV export on the stats page.
This commit is contained in:
parent
55bb8450c0
commit
5031e6adf5
@ -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%%\">"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user