Nicer loading indicator
All checks were successful
continuous-integration/drone/push Build is passing

Closes #7
This commit is contained in:
3wc
2021-04-25 19:10:41 +02:00
parent d9a8d580ce
commit 047c35c278
3 changed files with 13 additions and 4 deletions

View File

@ -154,7 +154,12 @@ body model =
]
Loading ->
text "Loading..."
div [ class "d-flex align-items-center", style "height" "89vh" ]
[ div [ class "spinner-border m-auto text-light" ]
[
span [ class "sr-only" ] [ text "Loading..." ]
]
]
Success app ->
div []