2021-10-28 20:34:48 +00:00
|
|
|
|
2022-07-20 01:48:52 +00:00
|
|
|
<div class="settings-title">Settings</div>
|
2021-10-28 20:34:48 +00:00
|
|
|
|
2022-08-12 20:31:01 +00:00
|
|
|
<div class="container"
|
|
|
|
style="margin-top: 10px;
|
|
|
|
height: 430px;
|
|
|
|
margin-left: 10px;
|
|
|
|
margin-right: 10px;">
|
2022-08-09 22:23:58 +00:00
|
|
|
<mat-tab-group mat-tab-align-tabs="start">
|
2022-08-12 20:31:01 +00:00
|
|
|
<mat-tab label="Main" style="height: 400px;">
|
|
|
|
<div class="container" style="margin-bottom: 20px;">
|
|
|
|
<mat-dialog-content [formGroup]="settingsForm">
|
|
|
|
<mat-form-field class="settings-field" [style.width.%]="100">
|
|
|
|
<mat-label>Name</mat-label>
|
|
|
|
<input matInput
|
|
|
|
width="100%"
|
|
|
|
placeholder="Name"
|
|
|
|
formControlName="name">
|
|
|
|
</mat-form-field>
|
|
|
|
<mat-form-field [style.width.%]="100" >
|
|
|
|
<mat-label>Currency</mat-label>
|
|
|
|
<mat-select formControlName="currency">
|
|
|
|
<mat-option *ngFor="let coin of coins"
|
|
|
|
[value]="coin.symbol">
|
|
|
|
{{coin.label}}
|
|
|
|
</mat-option>
|
|
|
|
</mat-select>
|
|
|
|
</mat-form-field>
|
|
|
|
<mat-slide-toggle formControlName="useZats"
|
|
|
|
class="settings-toggle"
|
|
|
|
(change)="onChange($event)">
|
|
|
|
Use zatoshis?
|
|
|
|
</mat-slide-toggle>
|
|
|
|
<pre></pre>
|
|
|
|
<mat-slide-toggle formControlName="useVKey"
|
|
|
|
class="settings-toggle"
|
|
|
|
(change)="onChangeVKeyOn($event)">
|
|
|
|
Confirm payments?
|
|
|
|
</mat-slide-toggle>
|
|
|
|
<pre></pre>
|
|
|
|
<mat-form-field class="full-width"
|
|
|
|
appearance="fill">
|
|
|
|
<mat-label>Viewing key</mat-label>
|
|
|
|
<textarea matInput placeholder="Your wallet viewing key"
|
|
|
|
formControlName="vKey">
|
|
|
|
</textarea>
|
|
|
|
</mat-form-field>
|
2022-07-20 01:48:52 +00:00
|
|
|
|
2022-08-12 20:31:01 +00:00
|
|
|
</mat-dialog-content>
|
|
|
|
</div>
|
2022-07-20 01:48:52 +00:00
|
|
|
|
2022-08-12 20:31:01 +00:00
|
|
|
<div class="container"
|
|
|
|
style="display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;">
|
2022-08-09 22:23:58 +00:00
|
|
|
<button mat-raised-button
|
|
|
|
(click)="close()">
|
|
|
|
Cancel
|
|
|
|
</button>
|
|
|
|
<button mat-raised-button
|
|
|
|
color="primary"
|
|
|
|
(click)="save()">
|
|
|
|
Save
|
|
|
|
</button>
|
2022-08-12 20:31:01 +00:00
|
|
|
</div>
|
|
|
|
<div style="height: 20px;
|
|
|
|
margin-top: 10px;">
|
|
|
|
</div>
|
2022-08-09 22:23:58 +00:00
|
|
|
</mat-tab>
|
2022-08-12 20:31:01 +00:00
|
|
|
<mat-tab label="Advanced"
|
|
|
|
style="align-items: center;">
|
|
|
|
<div style="height: 20px;
|
|
|
|
margin-top: 10px;">
|
|
|
|
</div>
|
|
|
|
<div class="container"
|
|
|
|
style="height: 300;">
|
|
|
|
<p style="text-align:center">
|
|
|
|
<a mat-raised-button
|
|
|
|
color="primary"
|
|
|
|
href="{{this.xeroLink}}">
|
|
|
|
Link to Xero
|
|
|
|
</a>
|
|
|
|
</p>
|
|
|
|
</div>
|
2022-08-09 22:23:58 +00:00
|
|
|
</mat-tab>
|
|
|
|
</mat-tab-group>
|
2022-07-20 15:31:23 +00:00
|
|
|
</div>
|