aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornsensfel <SpamShield0@noot-noot.org>2018-04-17 20:01:18 +0200
committernsensfel <SpamShield0@noot-noot.org>2018-04-17 20:01:18 +0200
commit6a1fd777ae92f5ee1fffb1ffd1c7b72b9b4edd79 (patch)
treebba630e18a2bc9c38c243565e9a4e1d2eaa250db /src/battlemap/src/View/MainMenu.elm
parent0bbcb6c8429bb9a25aafe5595129470f1c30ced9 (diff)
downloadtacticians-client-6a1fd777ae92f5ee1fffb1ffd1c7b72b9b4edd79.zip
tacticians-client-6a1fd777ae92f5ee1fffb1ffd1c7b72b9b4edd79.tar.bz2
Seems better now.
Diffstat (limited to 'src/battlemap/src/View/MainMenu.elm')
-rw-r--r--src/battlemap/src/View/MainMenu.elm19
1 files changed, 6 insertions, 13 deletions
diff --git a/src/battlemap/src/View/MainMenu.elm b/src/battlemap/src/View/MainMenu.elm
index c5c4eee..b666195 100644
--- a/src/battlemap/src/View/MainMenu.elm
+++ b/src/battlemap/src/View/MainMenu.elm
@@ -6,18 +6,11 @@ import Html.Attributes
import Html.Events
-- Battlemap -------------------------------------------------------------------
-import Struct.Error
import Struct.Event
import Struct.Model
import Struct.UI
import Util.Html
-
-import View.SubMenu.Characters
-import View.SubMenu.Settings
-import View.SubMenu.Status
-import View.SubMenu.Timeline
-
--------------------------------------------------------------------------------
-- LOCAL -----------------------------------------------------------------------
--------------------------------------------------------------------------------
@@ -28,13 +21,13 @@ get_menu_button_html : (
)
get_menu_button_html selected_tab tab =
(Html.button
- (
- if ((Just tab) == selected_tab)
- then
- [ (Html.Attributes.disabled True) ]
- else
+-- (
+-- if ((Just tab) == selected_tab)
+-- then
+-- [ (Html.Attributes.disabled True) ]
+-- else
[ (Html.Events.onClick (Struct.Event.TabSelected tab)) ]
- )
+-- )
[ (Html.text (Struct.UI.to_string tab)) ]
)