[MINOR] Allow dots in show-node & add "white-space: nowrap" in th.pxname.

This commit is contained in:
Krzysztof Piotr Oledzki 2009-10-03 15:46:08 +02:00 committed by Willy Tarreau
parent 48cb2aed5a
commit 619caca740
2 changed files with 2 additions and 2 deletions

View File

@ -1889,7 +1889,7 @@ int cfg_parse_listen(const char *file, int linenum, char **args, int kwm)
for (i=0; args[2][i]; i++) { for (i=0; args[2][i]; i++) {
c = args[2][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; break;
} }

View File

@ -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 { 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 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 { 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.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.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" "table.lgd { border-collapse: collapse; border-width: 1px; border-style: none none none solid; border-color: black;}\n"