Merge branch 'master' into mononaut/audit-highlighting
This commit is contained in:
commit
b82f76f9e2
@ -27,6 +27,9 @@
|
|||||||
|
|
||||||
<br>
|
<br>
|
||||||
<ngb-pagination *ngIf="blocks.value" class="pagination-container" [size]="paginationSize" [collectionSize]="blocks.value[1]" [rotate]="true" [pageSize]="itemsPerPage" [(page)]="page" (pageChange)="pageChange(page)" [maxSize]="paginationMaxSize" [boundaryLinks]="true" [ellipses]="false"></ngb-pagination>
|
<ngb-pagination *ngIf="blocks.value" class="pagination-container" [size]="paginationSize" [collectionSize]="blocks.value[1]" [rotate]="true" [pageSize]="itemsPerPage" [(page)]="page" (pageChange)="pageChange(page)" [maxSize]="paginationMaxSize" [boundaryLinks]="true" [ellipses]="false"></ngb-pagination>
|
||||||
|
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
<br>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -20,6 +20,8 @@
|
|||||||
|
|
||||||
<ngb-pagination [collectionSize]="assets.length" [rotate]="true" [pageSize]="itemsPerPage" [(page)]="page" (pageChange)="pageChange(page)" [maxSize]="paginationMaxSize" [boundaryLinks]="true" [ellipses]="ellipses"></ngb-pagination>
|
<ngb-pagination [collectionSize]="assets.length" [rotate]="true" [pageSize]="itemsPerPage" [(page)]="page" (pageChange)="pageChange(page)" [maxSize]="paginationMaxSize" [boundaryLinks]="true" [ellipses]="ellipses"></ngb-pagination>
|
||||||
|
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
<br>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<ng-template #isLoading>
|
<ng-template #isLoading>
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -346,6 +346,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ngb-pagination class="pagination-container float-right" [collectionSize]="block.tx_count" [rotate]="true" [pageSize]="itemsPerPage" [(page)]="page" (pageChange)="pageChange(page, blockTxTitle)" [maxSize]="paginationMaxSize" [boundaryLinks]="true" [ellipses]="false"></ngb-pagination>
|
<ngb-pagination class="pagination-container float-right" [collectionSize]="block.tx_count" [rotate]="true" [pageSize]="itemsPerPage" [(page)]="page" (pageChange)="pageChange(page, blockTxTitle)" [maxSize]="paginationMaxSize" [boundaryLinks]="true" [ellipses]="false"></ngb-pagination>
|
||||||
|
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
<br>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
<ng-template [ngIf]="error">
|
<ng-template [ngIf]="error">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
|
@ -616,17 +616,17 @@ export class BlockComponent implements OnInit, OnDestroy {
|
|||||||
switch (this.stateService.network) {
|
switch (this.stateService.network) {
|
||||||
case 'testnet':
|
case 'testnet':
|
||||||
if (blockHeight < this.stateService.env.TESTNET_BLOCK_AUDIT_START_HEIGHT) {
|
if (blockHeight < this.stateService.env.TESTNET_BLOCK_AUDIT_START_HEIGHT) {
|
||||||
this.setAuditAvailable(true);
|
this.setAuditAvailable(false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'signet':
|
case 'signet':
|
||||||
if (blockHeight < this.stateService.env.SIGNET_BLOCK_AUDIT_START_HEIGHT) {
|
if (blockHeight < this.stateService.env.SIGNET_BLOCK_AUDIT_START_HEIGHT) {
|
||||||
this.setAuditAvailable(true);
|
this.setAuditAvailable(false);
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if (blockHeight < this.stateService.env.MAINNET_BLOCK_AUDIT_START_HEIGHT) {
|
if (blockHeight < this.stateService.env.MAINNET_BLOCK_AUDIT_START_HEIGHT) {
|
||||||
this.setAuditAvailable(true);
|
this.setAuditAvailable(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -122,6 +122,9 @@
|
|||||||
[collectionSize]="blocksCount" [rotate]="true" [maxSize]="maxSize" [pageSize]="15" [(page)]="page"
|
[collectionSize]="blocksCount" [rotate]="true" [maxSize]="maxSize" [pageSize]="15" [(page)]="page"
|
||||||
(pageChange)="pageChange(page)" [boundaryLinks]="true" [ellipses]="false">
|
(pageChange)="pageChange(page)" [boundaryLinks]="true" [ellipses]="false">
|
||||||
</ngb-pagination>
|
</ngb-pagination>
|
||||||
|
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
|
|
||||||
.container-xl {
|
.container-xl {
|
||||||
max-width: 1400px;
|
max-width: 1400px;
|
||||||
padding-bottom: 100px;
|
|
||||||
}
|
}
|
||||||
.container-xl.widget {
|
.container-xl.widget {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
.container-graph {
|
.container-graph {
|
||||||
padding: 0px 15px;
|
padding: 0px 15px 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-header {
|
.card-header {
|
||||||
|
@ -464,6 +464,8 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -154,6 +154,8 @@
|
|||||||
<a [routerLink]="['/tx/push' | relativeUrl]" i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</a>
|
<a [routerLink]="['/tx/push' | relativeUrl]" i18n="shared.broadcast-transaction|Broadcast Transaction">Broadcast Transaction</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-template #loadingAssetsTable>
|
<ng-template #loadingAssetsTable>
|
||||||
|
@ -53,5 +53,7 @@
|
|||||||
<a [routerLink]="['/privacy-policy']" i18n="shared.privacy-policy|Privacy Policy">Privacy Policy</a>
|
<a [routerLink]="['/privacy-policy']" i18n="shared.privacy-policy|Privacy Policy">Privacy Policy</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<br>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -28,6 +28,9 @@
|
|||||||
<table class="table table-borderless" *ngIf="response.channels.length === 0">
|
<table class="table table-borderless" *ngIf="response.channels.length === 0">
|
||||||
<div class="d-flex justify-content-center" i18n="lightning.empty-channels-list">No channels to display</div>
|
<div class="d-flex justify-content-center" i18n="lightning.empty-channels-list">No channels to display</div>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
|
<div class="clearfix"></div>
|
||||||
|
<br>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ng-template #tableHeader>
|
<ng-template #tableHeader>
|
||||||
|
@ -83,11 +83,12 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
|
<div class="text-small text-center mt-1" *ngIf="officialMempoolSpace">
|
||||||
|
<a [routerLink]="['/lightning/group/the-mempool-open-source-project' | relativeUrl]">Connect to our nodes</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="text-small text-center mt-1" *ngIf="officialMempoolSpace">
|
<br>
|
||||||
<a [routerLink]="['/lightning/group/the-mempool-open-source-project' | relativeUrl]">Connect to our nodes</a>
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -413,7 +413,7 @@ export class NodesNetworksChartComponent implements OnInit {
|
|||||||
}],
|
}],
|
||||||
};
|
};
|
||||||
|
|
||||||
if (isMobile()) {
|
if (isMobile() && this.chartOptions.legend) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
this.chartOptions.legend.left = 50;
|
this.chartOptions.legend.left = 50;
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@
|
|||||||
min-height: 500px;
|
min-height: 500px;
|
||||||
height: calc(100% - 150px);
|
height: calc(100% - 150px);
|
||||||
@media (max-width: 992px) {
|
@media (max-width: 992px) {
|
||||||
height: 100%;
|
|
||||||
padding-bottom: 100px;
|
padding-bottom: 100px;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user