summaryrefslogtreecommitdiff |
diff options
author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-06-14 10:25:55 +0200 |
---|---|---|
committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2019-06-14 10:25:55 +0200 |
commit | 182462aaf6b2b02c5feabb86810402368149cfcf (patch) | |
tree | 0e560d5c634ab9c937d315db6e0ce76d94c3efc0 /src/shared/battle/Battle/View/Help/Attribute.elm | |
parent | 158c04ad2ece69aeeb5bf812ec81bd85c3a8128e (diff) |
Removes all references to attributes.
Diffstat (limited to 'src/shared/battle/Battle/View/Help/Attribute.elm')
-rw-r--r-- | src/shared/battle/Battle/View/Help/Attribute.elm | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/src/shared/battle/Battle/View/Help/Attribute.elm b/src/shared/battle/Battle/View/Help/Attribute.elm deleted file mode 100644 index f7bd9e1..0000000 --- a/src/shared/battle/Battle/View/Help/Attribute.elm +++ /dev/null @@ -1,62 +0,0 @@ -module Battle.View.Help.Attribute exposing (get_html_contents) - --- Elm ------------------------------------------------------------------------- -import Html -import Html.Attributes - --- Battle ---------------------------------------------------------------------- -import Battle.Struct.Attributes -import Battle.Lang.English - --- Local Module ---------------------------------------------------------------- -import Struct.Event - --------------------------------------------------------------------------------- --- LOCAL ----------------------------------------------------------------------- --------------------------------------------------------------------------------- -get_header_html : ( - Battle.Struct.Attributes.Category -> - String -> - (Html.Html Struct.Event.Type) - ) -get_header_html cat name = - (Html.h1 - [] - [ - (Html.div - [(Html.Attributes.class "help-guide-icon")] - [] - ), - (Html.text " "), - (Html.div - [ - (Html.Attributes.class "omnimod-icon"), - (Html.Attributes.class - ( - "omnimod-icon-" - ++ (Battle.Struct.Attributes.encode_category cat) - ) - ) - ] - [ - ] - ), - (Html.text name) - ] - ) - --------------------------------------------------------------------------------- --- EXPORTED -------------------------------------------------------------------- --------------------------------------------------------------------------------- -get_html_contents : ( - Battle.Struct.Attributes.Category -> - (List (Html.Html Struct.Event.Type)) - ) -get_html_contents cat = - let - (name, tooltip) = (Battle.Lang.English.get_attribute_category_help cat) - in - [ - (get_header_html cat name), - tooltip - ] |