{-# LANGUAGE DataKinds #-} {-# LANGUAGE LambdaCase #-} {-# LANGUAGE QuasiQuotes #-} {-# LANGUAGE RecordWildCards #-} module Server.Frontend.OnboardUnit (getOnboardTrackerR) where import Server.Frontend.Routes import Data.Functor ((<&>)) import qualified Data.Map as M import Data.Maybe (fromJust) import Data.Text (Text) import Data.Time (UTCTime (..), getCurrentTime) import Data.UUID (UUID) import qualified Data.UUID as UUID import qualified Data.Vector as V import qualified GTFS import Persist (EntityField (..), Key (..), Stop (..), Ticket (..)) import Text.Blaze.Html (Html) import Yesod getOnboardTrackerR :: Handler Html getOnboardTrackerR = do defaultLayout [whamlet|
_{MsgNone}
_{MsgError}:
Position: ,
Accuracy:
_{MsgDelay}:
_{MsgSequence}:
_{MsgLive}
_{MsgEstimated}