diff --git a/static/js/index.js b/static/js/index.js index 6c722b3..09188ac 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -200,13 +200,6 @@ window.app = Vue.createApp({ durationHours: null, result: null }, - // Fullscreen QR overlay — maximises a QR's on-screen size so a spire - // camera can lock onto it. openQrZoom() sizes it to the viewport. - qrZoom: { - show: false, - value: '', - size: 280 - }, machineDetail: { show: false, loading: false, @@ -1610,18 +1603,6 @@ window.app = Vue.createApp({ }) }, - // Open a fullscreen QR sized to nearly the full shorter viewport edge - // so it renders as large as possible for a spire's camera. The QR's - // wrapper caps at 96vw, so an over-estimate here is fine — it just - // means "fill the width". Feeds the lnbits-qrcode `max-width` prop. - openQrZoom(value) { - if (!value) return - const edge = Math.min(window.innerWidth, window.innerHeight) - this.qrZoom.size = Math.max(240, Math.floor(edge - 16)) - this.qrZoom.value = value - this.qrZoom.show = true - }, - _emptyDepositForm() { // currency is server-resolved from the selected client's machine // fiat_code (see #26); not stored on the form, just displayed in diff --git a/templates/spirekeeper/index.html b/templates/spirekeeper/index.html index fd26d1c..322f4f2 100644 --- a/templates/spirekeeper/index.html +++ b/templates/spirekeeper/index.html @@ -763,13 +763,13 @@ - +
Add bitSpire machine
- +

Register an ATM by its Nostr public key. Choose the LNbits wallet that will receive cash-out payments from this machine — settlements there @@ -847,7 +847,7 @@ - +

Pair spire
@@ -901,16 +901,10 @@ into provision-atm. Shown once — copy it now. -
-
- -
- +
+
- - - - - - - - - Close - - - - -
- -
-
- Point the spire's camera here — tap Close when scanned. -
-
-
-
- @@ -1247,7 +1212,7 @@ - +
Publish cassette config to ATM
@@ -1299,7 +1264,7 @@ - +
Apply partial dispense
@@ -1358,7 +1323,7 @@ - +
Add note to settlement
@@ -1388,7 +1353,7 @@ - +
Platform fee (super-only)
@@ -1435,7 +1400,7 @@ - +
@@ -1501,7 +1466,7 @@ - +
Reject deposit
@@ -1530,7 +1495,7 @@ - +
@@ -1587,7 +1552,7 @@ - +
Settle LP balance
@@ -1646,7 +1611,7 @@ - +
Edit machine