diff options
author | Joris | 2016-03-11 23:21:06 +0100 |
---|---|---|
committer | Joris | 2016-03-11 23:21:06 +0100 |
commit | 9d57e149fcb124a28813c56f83cf254eb92baa42 (patch) | |
tree | b796c4fdc738006c07e65e01f4845adafe064d2a /src/server/Design | |
parent | 709d1cf587e92508ef73bca8e847cfa510c03069 (diff) |
Don't use persona anymore, use email token to sign in
Diffstat (limited to 'src/server/Design')
-rw-r--r-- | src/server/Design/SignIn.hs | 34 |
1 files changed, 24 insertions, 10 deletions
diff --git a/src/server/Design/SignIn.hs b/src/server/Design/SignIn.hs index a565ee4..d2487f1 100644 --- a/src/server/Design/SignIn.hs +++ b/src/server/Design/SignIn.hs @@ -15,14 +15,28 @@ signInDesign = ".signIn" ? do - button ? do - display block - margin (em 5) auto (em 2) auto - iconButton C.blue C.white (em 2.5) focusLighten - fontSize (em 1.5) - position relative - ".waitingServer" & ("cursor" -: "not-allowed") - - ".error" ? do + form ? do + let inputHeight = 50 + width (px 500) + marginTop (px 100) + marginLeft auto + marginRight auto + + input ? do + defaultInput inputHeight + display block + width (pct 100) + marginBottom (px 10) + + button ? do + iconButton C.blue C.white (px inputHeight) focusLighten + display block + width (pct 100) + fontSize (em 1.2) + ".waitingServer" & ("cursor" -: "not-allowed") + + ".result" ? do + marginTop (px 40) textAlign (alignSide sideCenter) - color C.redError + ".success" ? color C.green + ".error" ? color C.redError |