Milestone 2: Graphic User Interface #93
2 changed files with 11 additions and 3 deletions
|
@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
- Dialog to display and copy seed phrase
|
||||
- Dialog to add new address
|
||||
- Dialog to add new account
|
||||
- Dialog to add new wallet
|
||||
- Dialog to display transaction details and copy TX ID
|
||||
|
||||
|
||||
## [0.5.3.0-beta]
|
||||
|
|
|
@ -144,8 +144,8 @@ buildUI wenv model = widgetTree
|
|||
[ mainWindow
|
||||
, confirmOverlay `nodeVisible` isJust (model ^. confirmTitle)
|
||||
, seedOverlay `nodeVisible` model ^. showSeed
|
||||
, msgOverlay `nodeVisible` isJust (model ^. msg)
|
||||
, txOverlay `nodeVisible` isJust (model ^. showTx)
|
||||
, msgOverlay `nodeVisible` isJust (model ^. msg)
|
||||
, modalOverlay `nodeVisible` isJust (model ^. modalMsg)
|
||||
]
|
||||
mainWindow =
|
||||
|
@ -564,11 +564,17 @@ buildUI wenv model = widgetTree
|
|||
getHex $
|
||||
userTxHex $ entityVal $ (model ^. transactions) !! i)
|
||||
[multiline]
|
||||
, spacer
|
||||
, box_
|
||||
[]
|
||||
[ onClick $
|
||||
CopyTx $
|
||||
toText $
|
||||
getHex $
|
||||
userTxHex $ entityVal $ (model ^. transactions) !! i
|
||||
]
|
||||
(remixIcon remixFileCopyFill `styleBasic`
|
||||
[textColor white]) `styleBasic`
|
||||
[bgColor btnColor, radius 2]
|
||||
[cursorHand, bgColor btnColor, radius 2, padding 2]
|
||||
]) `styleBasic`
|
||||
[padding 2, bgColor white, width 280, borderB 1 gray]
|
||||
, box_
|
||||
|
|
Loading…
Reference in a new issue