feat: confirmation-aware TX verification (10-conf threshold)
- 0-9 confs: show amber 'Pending/N/10' stamp on QR, auto-poll every 60s
- ≥10 confs: show green 'Paid' stamp (Monero standard lock)
- verify.php: store status ('pending'|'paid'), allow upward updates
- i18n: add status_pending + proof_confirmed_pending (all 7 langs)
- style.css: add .proof-result.warning, .pending-stamp, .qr-container.confirming
- Polling stops on resetForm; short-URL viewers also poll verify.php
This commit is contained in:
20
style.css
20
style.css
@@ -556,6 +556,12 @@ textarea {
|
||||
border: 1px solid var(--error);
|
||||
}
|
||||
|
||||
.proof-result.warning {
|
||||
background: rgba(245, 158, 11, 0.15);
|
||||
color: #f59e0b;
|
||||
border: 1px solid #f59e0b;
|
||||
}
|
||||
|
||||
.payment-status {
|
||||
display: none;
|
||||
}
|
||||
@@ -564,6 +570,10 @@ textarea {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.payment-status.pending {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.paid-stamp {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
@@ -587,6 +597,16 @@ textarea {
|
||||
opacity: 0.3;
|
||||
}
|
||||
|
||||
.pending-stamp {
|
||||
border-color: #f59e0b;
|
||||
color: #f59e0b;
|
||||
}
|
||||
|
||||
.qr-container.confirming canvas,
|
||||
.qr-container.confirming img {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
.qr-container {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user