diff options
author | Joris | 2016-01-02 20:49:24 +0100 |
---|---|---|
committer | Joris | 2016-01-02 20:49:24 +0100 |
commit | 35493d8ec353f90a6ca67e2aedb702684e0abafa (patch) | |
tree | a1c6eba2cde84b89e7554618479d7eab0ef7c480 /src/client/elm/View | |
parent | 302a2e798f10e61c129753a2bd11634420c1f1a1 (diff) |
Moving initViewAction to serverCommunication module
Diffstat (limited to 'src/client/elm/View')
-rw-r--r-- | src/client/elm/View/Icon.elm | 6 | ||||
-rw-r--r-- | src/client/elm/View/SignIn.elm | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/client/elm/View/Icon.elm b/src/client/elm/View/Icon.elm index 9fa5f8a..bdbe6d5 100644 --- a/src/client/elm/View/Icon.elm +++ b/src/client/elm/View/Icon.elm @@ -12,8 +12,8 @@ renderIcon iconClass = [ class <| "fa fa-fw fa-" ++ iconClass ] [] -renderSpinIcon : String -> Html -renderSpinIcon iconClass = +renderSpinIcon : Html +renderSpinIcon = i - [ class <| "fa fa-fw fa-spin fa-" ++ iconClass ] + [ class <| "fa fa-fw fa-pulse fa-spinner" ] [] diff --git a/src/client/elm/View/SignIn.elm b/src/client/elm/View/SignIn.elm index f662a97..ba16561 100644 --- a/src/client/elm/View/SignIn.elm +++ b/src/client/elm/View/SignIn.elm @@ -28,7 +28,7 @@ renderSignIn address model signInView = [ onClick operations.address Persona.SignIn ] [ span [] [ text (getMessage "SignIn" model.translations) ] , if signInView.connecting - then renderSpinIcon "refresh" + then renderSpinIcon else renderIcon "power-off" ] , signInResult model signInView |