Add link for wallets on the same device

This commit is contained in:
Rene Vergara 2021-11-12 11:16:21 -06:00
parent f3e8bf22e3
commit 1336cc2009
4 changed files with 17 additions and 15 deletions

View file

@ -42,7 +42,7 @@
<mat-list-item *ngFor="let tx of txsUpdate | async">It needs {{10 - tx.confirmations}} more confirmations.</mat-list-item> <mat-list-item *ngFor="let tx of txsUpdate | async">It needs {{10 - tx.confirmations}} more confirmations.</mat-list-item>
</mat-list> </mat-list>
</mat-card> </mat-card>
<mat-card [formGroup]="entryForm" *ngIf="!prompt"> <mat-card [formGroup]="entryForm" *ngIf="!prompt && txs.length <=0">
<div align="center" id="info"> <div align="center" id="info">
<mat-form-field appearance="outline"> <mat-form-field appearance="outline">
<mat-label>Session length</mat-label> <mat-label>Session length</mat-label>

View file

@ -44,10 +44,13 @@ export class LoginComponent implements OnInit {
tickets = [ tickets = [
{ {
value: 0.001, value: 0.001,
viewValue: 'One hour' viewValue: '1 hour: 0.001 ZEC'
},{ },{
value: 0.005, value: 0.005,
viewValue: 'One day' viewValue: '1 day: 0.005 ZEC'
},{
value: 0.025,
viewValue: '1 week: 0.025 ZEC'
} }
]; ];
prompt: boolean = false; prompt: boolean = false;

View file

@ -1,3 +1,6 @@
.text { .text {
font-family: "Roboto Mono", monospace; font-family: "Roboto Mono", monospace;
} }
.small {
font-size: small;
}

View file

@ -1,19 +1,15 @@
<div align="center" mat-dialog-title> <div align="center" mat-dialog-title>
<h2 class="text">Scan to log in!</h2> <span class="text">Scan to log in!</span>
</div> </div>
<mat-dialog-content> <mat-dialog-content>
<div align="center" id="checkout-qr"></div> <div align="center" id="checkout-qr"></div>
</mat-dialog-content> </mat-dialog-content>
<mat-dialog-actions> <mat-dialog-actions align="center">
<table cellspacing="0" width="100%"> <div align="center">
<tr> <button mat-raised-button color="primary" (click)="confirm()">
<td> <mat-icon>verified_user</mat-icon>
<button mat-raised-button color="primary" (click)="confirm()"> </button><br>
<mat-icon>verified_user</mat-icon> <p class="small text">Can't scan? Use this <a href="zcashUrl">wallet link</a>.
</button> </div>
</td>
</tr>
</table>
</mat-dialog-actions> </mat-dialog-actions>