implemented editHomeStandings and editAwayStandings
This commit is contained in:
@@ -38,11 +38,11 @@ editStandingsC = \case
|
|||||||
ESMHome -> editHomeStandingsC
|
ESMHome -> editHomeStandingsC
|
||||||
ESMAway -> editAwayStandingsC
|
ESMAway -> editAwayStandingsC
|
||||||
|
|
||||||
editHomeStandingsC :: Controller
|
editHomeStandingsC :: Controller
|
||||||
editHomeStandingsC = undefined
|
editHomeStandingsC = menuControllerWith header editHomeStandingsMenu
|
||||||
|
|
||||||
editAwayStandingsC :: Controller
|
editAwayStandingsC :: Controller
|
||||||
editAwayStandingsC = undefined
|
editAwayStandingsC = menuControllerWith header editAwayStandingsMenu
|
||||||
|
|
||||||
header :: ProgState -> C.Update ()
|
header :: ProgState -> C.Update ()
|
||||||
header = do
|
header = do
|
||||||
|
|||||||
@@ -19,7 +19,11 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|||||||
|
|
||||||
-}
|
-}
|
||||||
|
|
||||||
module Mtlstats.Menu.EditStandings (editStandingsMenu) where
|
module Mtlstats.Menu.EditStandings
|
||||||
|
( editStandingsMenu
|
||||||
|
, editHomeStandingsMenu
|
||||||
|
, editAwayStandingsMenu
|
||||||
|
) where
|
||||||
|
|
||||||
import Control.Monad.Trans.State (modify)
|
import Control.Monad.Trans.State (modify)
|
||||||
|
|
||||||
@@ -36,3 +40,9 @@ editStandingsMenu = Menu "*** EDIT STANDINGS ***" ()
|
|||||||
, MenuItem 'R' "Return to main menu" $
|
, MenuItem 'R' "Return to main menu" $
|
||||||
modify backHome
|
modify backHome
|
||||||
]
|
]
|
||||||
|
|
||||||
|
editHomeStandingsMenu :: Menu ()
|
||||||
|
editHomeStandingsMenu = undefined
|
||||||
|
|
||||||
|
editAwayStandingsMenu :: Menu ()
|
||||||
|
editAwayStandingsMenu = undefined
|
||||||
|
|||||||
Reference in New Issue
Block a user