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) -> do_table_element(L, [N], Perc) ->
?XE(<<"tr">>, ?XE(<<"tr">>,
[?XE(<<"td">>, [L]), [?XE(<<"td">>, [L]),
?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], [N]), ?XAC(<<"td">>, [{<<"class">>, <<"alignright">>}], ?BC(N)),
?XE(<<"td">>, ?XE(<<"td">>,
[?XAE(<<"div">>, [?XAE(<<"div">>,
[{<<"class">>, <<"graph">>}], [{<<"class">>, <<"graph">>}],
[?XAC(<<"div">>, [?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()-> css_table()->