made standings table prettier
This commit is contained in:
@@ -54,9 +54,9 @@ header = do
|
|||||||
let
|
let
|
||||||
home = db^.dbHomeGameStats
|
home = db^.dbHomeGameStats
|
||||||
away = db^.dbAwayGameStats
|
away = db^.dbAwayGameStats
|
||||||
table = numTable ["Wins", "Losses", "Overtime", "Goals for", "Goals against"]
|
table = numTable [" W", " L", " OT", " GF", " GA"]
|
||||||
[ ( "Home", valsFor home )
|
[ ( "HOME", valsFor home )
|
||||||
, ( "Road", valsFor away )
|
, ( "ROAD", valsFor away )
|
||||||
]
|
]
|
||||||
return $ C.drawString $ unlines $ table ++ [""]
|
return $ C.drawString $ unlines $ table ++ [""]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user