Redesign accelerator dashboard

This commit is contained in:
Mononaut
2023-12-07 11:12:20 +00:00
parent 8599876b26
commit 42f6f0c122
14 changed files with 243 additions and 151 deletions

View File

@@ -20,7 +20,7 @@
<h5 class="card-title" i18n="accelerator.total-vsize">Total vsize</h5>
<div class="card-text">
<div [innerHTML]="'&lrm;' + (stats.totalVsize * 4 | vbytes: 2)"></div>
<div class="symbol">{{ (stats.totalVsize / 1_000_000).toFixed(2) }}% <span i18n="accelerator.percent-of-next-block"> of next block</span></div>
<div class="symbol">{{ (stats.totalVsize / 1_000_000 * 100).toFixed(2) }}% <span i18n="accelerator.percent-of-next-block"> of next block</span></div>
</div>
</div>
</div>