aboutsummaryrefslogtreecommitdiff
path: root/src/client/elm/Model/View
diff options
context:
space:
mode:
authorJoris2016-01-02 20:31:25 +0100
committerJoris2016-01-02 20:31:25 +0100
commit302a2e798f10e61c129753a2bd11634420c1f1a1 (patch)
treeaa53c2eb212d0742f63b3df1be88afb5da699769 /src/client/elm/Model/View
parentbb316286b0859b5648c61f44c88399f4c1aad9cd (diff)
Set a spinner for sign in
Diffstat (limited to 'src/client/elm/Model/View')
-rw-r--r--src/client/elm/Model/View/SignInView.elm8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client/elm/Model/View/SignInView.elm b/src/client/elm/Model/View/SignInView.elm
index 0fbce39..cf7e6b2 100644
--- a/src/client/elm/Model/View/SignInView.elm
+++ b/src/client/elm/Model/View/SignInView.elm
@@ -4,12 +4,12 @@ module Model.View.SignInView
) where
type alias SignInView =
- { login : String
- , result : Maybe (Result String String)
+ { connecting : Bool
+ , error : Maybe String
}
initSignInView : SignInView
initSignInView =
- { login = ""
- , result = Nothing
+ { connecting = False
+ , error = Nothing
}