From 619caca740c419fe8796dcb99f309e6331e02c68 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki Date: Sat, 3 Oct 2009 15:46:08 +0200 Subject: [PATCH] [MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname. --- src/cfgparse.c | 2 +- src/dumpstats.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cfgparse.c b/src/cfgparse.c index 3e74634531..70662b9f66 100644 --- a/src/cfgparse.c +++ b/src/cfgparse.c @@ -1889,7 +1889,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm) for (i=0; args[2][i]; i++) { c = args[2][i]; - if (!isupper(c) && !islower(c) && !isdigit(c) && c != '_' && c != '-') + if (!isupper(c) && !islower(c) && !isdigit(c) && c != '_' && c != '-' && c != '.') break; } diff --git a/src/dumpstats.c b/src/dumpstats.c index 7199fe07e5..f9d8785b4d 100644 --- a/src/dumpstats.c +++ b/src/dumpstats.c @@ -777,7 +777,7 @@ int stats_dump_http(struct session *s, struct buffer *rep, struct uri_auth *uri) "table.tbl { border-collapse: collapse; border-style: none;}\n" "table.tbl td { border-width: 1px 1px 1px 1px; border-style: solid solid solid solid; padding: 2px 3px; border-color: gray;}\n" "table.tbl th { border-width: 1px; border-style: solid solid solid solid; border-color: gray;}\n" - "table.tbl th.pxname {background: #b00040; color: #ffff40; font-weight: bold; border-style: solid solid none solid; padding: 2px 3px;}\n" + "table.tbl th.pxname {background: #b00040; color: #ffff40; font-weight: bold; border-style: solid solid none solid; padding: 2px 3px; white-space: nowrap;}\n" "table.tbl th.empty { border-style: none; empty-cells: hide; background: white;}\n" "table.tbl th.desc { background: white; border-style: solid solid none solid; text-align: left; padding: 2px 3px;}\n" "table.lgd { border-collapse: collapse; border-width: 1px; border-style: none none none solid; border-color: black;}\n"