diff options
author | Joris | 2016-01-03 00:19:55 +0100 |
---|---|---|
committer | Joris | 2016-01-03 00:28:41 +0100 |
commit | 0cba27cba2b44756389d50bc113f23a2be87e978 (patch) | |
tree | cc13e5ba32e3e2ec8bad284828a06d5daedec4f7 /src/server/Design | |
parent | fc9a3ca6a5226f78a3a0ec51af3d8d287ccb2e1b (diff) |
Prevent to send multiple payments if the server is not answering
Diffstat (limited to 'src/server/Design')
-rw-r--r-- | src/server/Design/Helper.hs | 2 | ||||
-rw-r--r-- | src/server/Design/LoggedIn/Add.hs | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/server/Design/Helper.hs b/src/server/Design/Helper.hs index bd11766..40218f8 100644 --- a/src/server/Design/Helper.hs +++ b/src/server/Design/Helper.hs @@ -47,7 +47,7 @@ iconButton backgroundCol textCol h = do display inlineBlock marginLeft (px 20) i ? do - marginLeft (px 20) + marginLeft (px 15) marginRight (px 20) hover & i ? transform (scale 1.2 1.2) diff --git a/src/server/Design/LoggedIn/Add.hs b/src/server/Design/LoggedIn/Add.hs index 579cead..3bdfb65 100644 --- a/src/server/Design/LoggedIn/Add.hs +++ b/src/server/Design/LoggedIn/Add.hs @@ -65,6 +65,8 @@ addDesign = defaultButton C.red C.white (px inputHeight) paddingLeft (px 15) paddingRight (px 15) + i ? marginLeft (px 10) + ".waitingServer" & ("cursor" -: "not-allowed") ".name.error" <> ".cost.error" ? do input ? borderColor C.redError |