module LoggedIn.View ( view ) where import Signal exposing (Address) import Html exposing (..) import Html.Attributes exposing (..) import LoggedIn.Model as LoggedInModel import LoggedIn.Account.View as AccountView import LoggedIn.AddPayment.View as AddPaymentView import LoggedIn.Monthly.View as MonthlyView import Model exposing (Model) import Model.Payment exposing (Payments) import Model.Action exposing (Action) import View.LoggedIn.Table exposing (paymentsTable) import View.LoggedIn.Paging exposing (paymentsPaging) view : Address Action -> Model -> LoggedInModel.Model -> Html view address model loggedInModel = div [ class "loggedIn" ] [ AddPaymentView.view address model loggedInModel , div [ class "expandables" ] [ AccountView.view address model loggedInModel , MonthlyView.view address model loggedInModel ] , paymentsTable address model loggedInModel , paymentsPaging address loggedInModel ]