mirror of
https://github.com/mempool/mempool.git
synced 2025-02-23 14:40:38 +01:00
reorder stratum job table
This commit is contained in:
parent
cac62765a1
commit
2e44ea3f01
1 changed files with 12 additions and 12 deletions
|
@ -7,27 +7,18 @@
|
||||||
<table *ngIf="poolsReady && (rows$ | async) as rows;" class="stratum-table">
|
<table *ngIf="poolsReady && (rows$ | async) as rows;" class="stratum-table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="height">Height</td>
|
|
||||||
<td class="reward">Reward</td>
|
|
||||||
<td class="tag">Coinbase Tag</td>
|
|
||||||
<td class="merkle" [attr.colspan]="rows[0]?.merkleCells?.length || 4">
|
<td class="merkle" [attr.colspan]="rows[0]?.merkleCells?.length || 4">
|
||||||
Merkle Branches
|
Merkle Branches
|
||||||
</td>
|
</td>
|
||||||
<td class="pool">Pool</td>
|
<td class="pool">Pool</td>
|
||||||
|
<td class="tag">Coinbase Tag</td>
|
||||||
|
<td class="reward">Reward</td>
|
||||||
|
<td class="height">Height</td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
@for (row of rows; track row.job.pool) {
|
@for (row of rows; track row.job.pool) {
|
||||||
<tr>
|
<tr>
|
||||||
<td class="height">
|
|
||||||
{{ row.job.height }}
|
|
||||||
</td>
|
|
||||||
<td class="reward">
|
|
||||||
<app-amount [satoshis]="row.job.reward"></app-amount>
|
|
||||||
</td>
|
|
||||||
<td class="tag">
|
|
||||||
{{ row.job.tag }}
|
|
||||||
</td>
|
|
||||||
@for (cell of row.merkleCells; track $index) {
|
@for (cell of row.merkleCells; track $index) {
|
||||||
<td class="merkle" [style.background-color]="cell.hash ? '#' + cell.hash.slice(0, 6) : ''">
|
<td class="merkle" [style.background-color]="cell.hash ? '#' + cell.hash.slice(0, 6) : ''">
|
||||||
@if ($index === 0 && cell.hash) {
|
@if ($index === 0 && cell.hash) {
|
||||||
|
@ -47,6 +38,15 @@
|
||||||
</a>
|
</a>
|
||||||
}
|
}
|
||||||
</td>
|
</td>
|
||||||
|
<td class="tag">
|
||||||
|
{{ row.job.tag }}
|
||||||
|
</td>
|
||||||
|
<td class="reward">
|
||||||
|
<app-amount [satoshis]="row.job.reward"></app-amount>
|
||||||
|
</td>
|
||||||
|
<td class="height">
|
||||||
|
{{ row.job.height }}
|
||||||
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
Loading…
Add table
Reference in a new issue