2020-03-01 16:33:18 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								<table class="table table-borderless" [alwaysCallback]="true" [fromRoot]="true" [infiniteScrollContainer]="'body'" infiniteScroll [infiniteScrollDistance]="1.5" [infiniteScrollUpDistance]="1.5" [infiniteScrollThrottle]="50" (scrolled)="loadMore()">
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-16 22:15:07 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  <thead>
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-04 02:53:31 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								    <th style="width: 15%;">Height</th>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <th class="d-none d-md-block" style="width: 20%;">Timestamp</th>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <th style="width: 20%;">Mined</th>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <th class="d-none d-lg-block" style="width: 15%;">Transactions</th>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <th style="width: 20%;">Filled</th>
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-16 22:15:07 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  </thead>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  <tbody>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <tr *ngFor="let block of blocks; let i= index; trackBy: trackByBlock">
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-17 20:39:20 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      <td><a [routerLink]="['/block', block.id]" [state]="{ data: { block: block } }">#{{ block.height }}</a></td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-16 22:15:07 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <td class="d-none d-md-block">{{ block.timestamp * 1000 | date:'yyyy-MM-dd HH:mm' }}</td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-28 01:09:07 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      <td><app-time-since [time]="block.timestamp" [fastRender]="true"></app-time-since> ago</td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-03 17:47:01 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								      <td class="d-none d-lg-block">{{ block.tx_count }}</td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-16 22:15:07 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <div class="progress position-relative">
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-29 23:42:50 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								          <div class="progress-bar progress-mempool" role="progressbar" [ngStyle]="{'width': (block.weight / 4000000)*100 + '%' }"></div>
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-05 16:13:46 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								          <div class="progress-text">{{ block.size | bytes: 2 }}</div>
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-16 22:15:07 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        </div>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      </td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    <ng-template [ngIf]="isLoading">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      <tr *ngFor="let item of [1,2,3,4,5,6,7,8,9,10]">
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <td><span class="skeleton-loader"></span></td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-03 17:47:01 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <td class="d-none d-md-block"><span class="skeleton-loader"></span></td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-16 22:15:07 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <td><span class="skeleton-loader"></span></td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-03-03 17:47:01 +07:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								        <td class="d-none d-lg-block"><span class="skeleton-loader"></span></td>
							 | 
						
					
						
							
								
									
										
										
										
											2020-02-16 22:15:07 +07:00
										 
									 
								 
							 | 
							
								
							 | 
							
								
							 | 
							
							
								        <td><span class="skeleton-loader"></span></td>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								      </tr>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    </ng-template>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								  </tbody>
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								</table>
							 |