summaryrefslogtreecommitdiff |
diff options
author | nsensfel <SpamShield0@noot-noot.org> | 2018-09-10 18:04:34 +0200 |
---|---|---|
committer | nsensfel <SpamShield0@noot-noot.org> | 2018-09-10 18:04:34 +0200 |
commit | 4089e04b953ce2799d839d841278446d7f0b4c32 (patch) | |
tree | e1877866c559544a97a4557cc99c025184f122c1 /src/character/src/View/MainMenu.elm | |
parent | 04e4ce4137fe3ffb0ccc6dc8635db3e202517945 (diff) |
character -> roster-editor
Diffstat (limited to 'src/character/src/View/MainMenu.elm')
-rw-r--r-- | src/character/src/View/MainMenu.elm | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/character/src/View/MainMenu.elm b/src/character/src/View/MainMenu.elm deleted file mode 100644 index 9f3099b..0000000 --- a/src/character/src/View/MainMenu.elm +++ /dev/null @@ -1,38 +0,0 @@ -module View.MainMenu exposing (get_html) - --- Elm ------------------------------------------------------------------------- -import Html -import Html.Attributes -import Html.Events - --- Map ------------------------------------------------------------------- -import Struct.Event -import Struct.UI - --------------------------------------------------------------------------------- --- LOCAL ----------------------------------------------------------------------- --------------------------------------------------------------------------------- -get_menu_button_html : ( - Struct.UI.Tab -> - (Html.Html Struct.Event.Type) - ) -get_menu_button_html tab = - (Html.button - [ (Html.Events.onClick (Struct.Event.TabSelected tab)) ] - [ (Html.text (Struct.UI.to_string tab)) ] - ) - --------------------------------------------------------------------------------- --- EXPORTED -------------------------------------------------------------------- --------------------------------------------------------------------------------- -get_html : (Html.Html Struct.Event.Type) -get_html = - (Html.div - [ - (Html.Attributes.class "battle-main-menu") - ] - (List.map - (get_menu_button_html) - (Struct.UI.get_all_tabs) - ) - ) |