Try to fix some dialyzer in mod_webpresence

This commit is contained in:
Badlop 2022-08-16 17:39:40 +02:00
parent 3293ba1cfe
commit f48adc2ea0
1 changed files with 4 additions and 4 deletions

View File

@ -1103,17 +1103,17 @@ do_stat_table_with(Values, Total) ->
do_table_element(L, [N], Perc) ->
?XE(<<"tr">>,
[?XE(<<"td">>, [L]),
?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], [N]),
?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], ?BC(N)),
?XE(<<"td">>,
[?XAE(<<"div">>,
[{<<"class">>, <<"graph">>}],
[?XAC(<<"div">>,
[{<<"class">>, <<"bar">>}, {<<"style">>, ?BC([<<"width: ">>, Perc, <<"%;">>])}],
[]
[{<<"class">>, <<"bar">>}, {<<"style">>, ?BC(["width: ", Perc, "%;"])}],
<<>>
)]
)]
),
?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], [?BC([Perc, <<"%">>])])
?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], ?BC([Perc, "%"]))
]).
css_table()->