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 Action exposing (Action) import LoggedIn.View.Table exposing (paymentsTable) import LoggedIn.View.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 ]