Disable button while sending funds
This commit is contained in:
parent
50a0c8ffd4
commit
10ae7b61d7
2 changed files with 15 additions and 4 deletions
|
|
@ -5,7 +5,7 @@
|
|||
</div>
|
||||
|
||||
<div class="content p20v" ng-controller="paperWalletController as paperWallet">
|
||||
<div class="onGoingProcess" ng-show="paperWallet.scanning">
|
||||
<div class="onGoingProcess" ng-show="paperWallet.scanning || paperWallet.sending">
|
||||
<div class="onGoingProcess-content" ng-style="{'background-color':index.backgroundColor}">
|
||||
<div class="spinner">
|
||||
<div class="rect1"></div>
|
||||
|
|
@ -14,7 +14,8 @@
|
|||
<div class="rect4"></div>
|
||||
<div class="rect5"></div>
|
||||
</div>
|
||||
<span translate>Scanning wallet funds...</span>
|
||||
<span ng-show="paperWallet.scanning" translate>Scanning wallet funds...</span>
|
||||
<span ng-show="paperWallet.sending" translate>Sending funds...</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-notification text-warning" ng-show="paperWallet.error">
|
||||
|
|
@ -56,10 +57,11 @@
|
|||
</div>
|
||||
|
||||
<button
|
||||
ng-disabled="paperWallet.sending"
|
||||
ng-style="{'background-color':index.backgroundColor}"
|
||||
class="button black round expand"
|
||||
ng-click="paperWallet.transaction()"
|
||||
translate>sweep wallet
|
||||
translate>Sweep Wallet
|
||||
</button>
|
||||
<div class="text-center">
|
||||
<div class="size-12 text-gray" translate>Funds will be transfered to</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue