Network based block progressbar colors.

This commit is contained in:
softsimon
2020-05-10 21:50:32 +07:00
parent 4d53e897b4
commit ba3aba918a
5 changed files with 14 additions and 10 deletions

View File

@@ -23,7 +23,7 @@
<td class="d-none d-lg-block">{{ block.tx_count | number }}</td>
<td>
<div class="progress position-relative">
<div class="progress-bar progress-mempool" role="progressbar" [ngStyle]="{'width': (block.weight / 4000000)*100 + '%' }"></div>
<div class="progress-bar progress-mempool {{ network }}" role="progressbar" [ngStyle]="{'width': (block.weight / 4000000)*100 + '%' }"></div>
<div class="progress-text">{{ block.size | bytes: 2 }}</div>
</div>
</td>