summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2019-01-31 18:54:52 +0100
committernsensfel <SpamShield0@noot-noot.org>2019-01-31 18:54:52 +0100
commit48d576fc30487769fb0fc980533d85a80f6f4f13 (patch)
treeb2c0b6e7512d6a98668aa77a9d96255053d75859 /src/roster-editor
parent4a8ade2a4ad094867c09b0c3ce0fc11da439d037 (diff)
Adds a few more icons...
Diffstat (limited to 'src/roster-editor')
-rw-r--r--src/roster-editor/src/View/CharacterCard.elm14
1 files changed, 9 insertions, 5 deletions
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)))
)
]
)