Show table head also in vhosts page
This commit is contained in:
parent
f2b3151f0b
commit
4be0998c6e
|
@ -1509,9 +1509,9 @@ web_page_host(_, Host, #request{path=[<<"statsdx">> | Filter], q = Q,
|
||||||
Res = [?XC(<<"h1">>, <<(translate:translate(Lang, ?T("Statistics")))/binary, " Dx">>),
|
Res = [?XC(<<"h1">>, <<(translate:translate(Lang, ?T("Statistics")))/binary, " Dx">>),
|
||||||
?XC(<<"h2">>, list_to_binary("Sessions with: "++io_lib:format("~p", [Filter]))),
|
?XC(<<"h2">>, list_to_binary("Sessions with: "++io_lib:format("~p", [Filter]))),
|
||||||
?XAE(<<"table">>, [],
|
?XAE(<<"table">>, [],
|
||||||
[?XE(<<"tbody">>,
|
[
|
||||||
do_sessions_table(global, Lang, Filter, Sort_query, Host)
|
?XE(<<"thead">>, [?XE(<<"tr">>, make_sessions_table_tr(Lang) )]),
|
||||||
)
|
?XE(<<"tbody">>, do_sessions_table(global, Lang, Filter, Sort_query, Host))
|
||||||
])
|
])
|
||||||
],
|
],
|
||||||
{stop, Res};
|
{stop, Res};
|
||||||
|
|
Loading…
Reference in New Issue