diff --git a/lnbits/extensions/watchonly/static/js/index.js b/lnbits/extensions/watchonly/static/js/index.js index 5aeae3cc..ec1034dc 100644 --- a/lnbits/extensions/watchonly/static/js/index.js +++ b/lnbits/extensions/watchonly/static/js/index.js @@ -49,6 +49,7 @@ new Vue({ authenticated: false, showPasswordDialog: false, showConsole: false, + sendingPsbt: false, psbtSent: false }, @@ -789,6 +790,7 @@ new Vue({ }, hwwSendPsbt: async function () { try { + this.hww.sendingPsbt = true await this.serial.writer.write( COMMAND_SEND_PSBT + ' ' + this.payment.psbtBase64 + '\n' ) @@ -808,6 +810,7 @@ new Vue({ }, handleSendPsbtResponse: function (res = '') { this.hww.psbtSent = true + this.hww.sendingPsbt = false }, hwwSignPsbt: async function () { try { diff --git a/lnbits/extensions/watchonly/templates/watchonly/index.html b/lnbits/extensions/watchonly/templates/watchonly/index.html index c3e8d295..d81cb2e0 100644 --- a/lnbits/extensions/watchonly/templates/watchonly/index.html +++ b/lnbits/extensions/watchonly/templates/watchonly/index.html @@ -1014,12 +1014,20 @@
- Check Tx
- +
-
+
@@ -1079,12 +1087,13 @@ v-if="payment.psbtBase64 && payment.signMode === 'serial-port'" class="row items-center no-wrap q-mb-md q-mt-lg" > -
+
Connect Disconnect
@@ -1100,7 +1110,6 @@ label="Advanced" disabled color="secodary float-left" - class="q-ml-lg" v-model="serial.showAdvancedConfig" >
@@ -1114,11 +1123,11 @@ v-if="payment.psbtBase64 && payment.signMode === 'serial-port'" class="row items-center no-wrap q-mb-md q-mt-lg" > -
+
@@ -1223,9 +1231,17 @@ class="row items-center no-wrap q-mb-md" >
- Sign + Sign + +
@@ -1233,18 +1249,19 @@ v-if="hww.psbtSent" color="yellow" text-color="black" - class="text-subtitle1" + multi-line + class="text-subtitle2" >Please check transaction data on the Hardware Wallet display
-
+
Confirm
@@ -1277,6 +1294,7 @@ @click="broadcastTransaction()" unelevated color="secondary" + class="btn-full" >Send Payment