mempool/frontend/src/app/components/eight-blocks/eight-blocks.component.html

24 lines
934 B
HTML
Raw Normal View History

2023-09-28 15:48:37 +01:00
<div class="blocks" [class.wrap]="wrapBlocks">
2023-09-28 21:54:01 +01:00
<ng-container *ngFor="let i of blockIndices">
2023-09-28 15:48:37 +01:00
<div class="block-wrapper" [style]="wrapperStyle">
<div class="block-container" [style]="containerStyle">
<app-block-overview-graph
#blockGraph
[isLoading]="false"
[resolution]="resolution"
[blockLimit]="stateService.blockVSize"
[orientation]="'top'"
[flip]="false"
[animationDuration]="animationDuration"
[animationOffset]="animationOffset"
[disableSpinner]="true"
(txClickEvent)="onTxClick($event)"
></app-block-overview-graph>
<div *ngIf="showInfo && blockInfo[i]" class="info" @infoChange>
2023-10-11 17:49:31 +00:00
<h1 class="height">{{ blockInfo[i].height }}</h1>
<h2 class="mined-by">by {{ blockInfo[i].extras.pool.name || 'Unknown' }}</h2>
2023-09-28 15:48:37 +01:00
</div>
</div>
</div>
</ng-container>
</div>