From 48d576fc30487769fb0fc980533d85a80f6f4f13 Mon Sep 17 00:00:00 2001 From: nsensfel Date: Thu, 31 Jan 2019 18:54:52 +0100 Subject: Adds a few more icons... --- src/roster-editor/src/View/CharacterCard.elm | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/roster-editor') diff --git a/src/roster-editor/src/View/CharacterCard.elm b/src/roster-editor/src/View/CharacterCard.elm index 10348ad..7ae2338 100644 --- a/src/roster-editor/src/View/CharacterCard.elm +++ b/src/roster-editor/src/View/CharacterCard.elm @@ -194,12 +194,16 @@ get_multiplied_mod_html multiplier mod = (Html.Attributes.class "character-card-mod") ] [ + (Html.div + [ + (Html.Attributes.class "omnimod-icon"), + (Html.Attributes.class ("omnimod-icon-" ++ category)) + ] + [ + ] + ), (Html.text - ( - category - ++ ": " - ++ (String.fromInt (ceiling ((toFloat value) * multiplier))) - ) + (String.fromInt (ceiling ((toFloat value) * multiplier))) ) ] ) -- cgit v1.2.3-70-g09d2