aboutsummaryrefslogtreecommitdiff
path: root/src/client/Model.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-07-19 00:45:42 +0200
committerJoris Guyonvarch2015-07-19 00:45:42 +0200
commita6727f104f808e533052f2bd83bc89cd6bfa0522 (patch)
tree2c7b8b16d377c04e9e9a32b74102666f6dae16cf /src/client/Model.elm
parent3486644b442a0800f645ec9ae7f3ce8fe2b3c9cd (diff)
downloadbudget-a6727f104f808e533052f2bd83bc89cd6bfa0522.tar.gz
budget-a6727f104f808e533052f2bd83bc89cd6bfa0522.tar.bz2
budget-a6727f104f808e533052f2bd83bc89cd6bfa0522.zip
Adding UI to sign in and sign out
Diffstat (limited to 'src/client/Model.elm')
-rw-r--r--src/client/Model.elm10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/client/Model.elm b/src/client/Model.elm
index 6888676..8005429 100644
--- a/src/client/Model.elm
+++ b/src/client/Model.elm
@@ -3,17 +3,13 @@ module Model
, initialModel
) where
-import List
-
-import Model.Payment exposing (Payments)
+import Model.View exposing (..)
type alias Model =
- { payments : Maybe Payments
- , forbiddenAccess : Bool
+ { view : View
}
initialModel : Model
initialModel =
- { payments = Nothing
- , forbiddenAccess = False
+ { view = LoadingView
}