2023-07-20 16:26:42 +09:00
< app-indexing-progress ></ app-indexing-progress >
< div class = "container-xl dashboard-container" >
< div class = "row row-cols-1 row-cols-md-2" >
< div class = "col" >
< div class = "main-title" >
< span [ attr . data-cy ]="' acceleration-stats '" i18n = "accelerator.acceleration-stats" > Acceleration stats</ span >
< span style = "font-size: xx-small" i18n = "mining.144-blocks" > (144 blocks)</ span >
</ div >
< div class = "card-wrapper" >
< div class = "card" >
< div class = "card-body more-padding" >
< app-acceleration-stats ></ app-acceleration-stats >
</ div >
</ div >
</ div >
</ div >
<!-- difficulty adjustment -->
< div class = "col" >
< div class = "main-title" i18n = "dashboard.difficulty-adjustment" > Difficulty Adjustment</ div >
< app-difficulty-mining [ attr . data-cy ]="' difficulty-adjustment '" [ showTitle ]=" false " [ showProgress ]=" false " [ showHalving ]=" true " ></ app-difficulty-mining >
</ div >
2023-07-21 14:11:46 +09:00
<!-- acceleration fees graph -->
2023-07-20 16:26:42 +09:00
< div class = "col" style = "margin-bottom: 1.47rem" >
< div class = "card graph-card" >
< div class = "card-body pl-2 pr-2" >
2023-07-21 14:11:46 +09:00
< app-acceleration-fees-graph [ attr . data-cy ]="' acceleration-fees '" [ widget ]= true ></ app-acceleration-fees-graph >
< div class = "mt-1" >< a [ attr . data-cy ]="' acceleration-fees-view-more '" [ routerLink ]="['/ graphs / acceleration / fees ' | relativeUrl ]" i18n = "dashboard.view-more" > View more » </ a ></ div >
2023-07-20 16:26:42 +09:00
</ div >
</ div >
</ div >
<!-- block fee rates -->
< div class = "col" style = "margin-bottom: 1.47rem" >
< div class = "card" >
< div class = "card-body pl-lg-3 pr-lg-3 pl-2 pr-2" >
< app-block-fee-rates-graph [ attr . data-cy ]="' hashrate-graph '" [ widget ]=" true " ></ app-block-fee-rates-graph >
< div class = "mt-1" >< a [ routerLink ]="['/ graphs / mining / block-fee-rates ' | relativeUrl ]" fragment = "1m" i18n = "dashboard.view-more" > View more » </ a ></ div >
</ div >
</ div >
</ div >
<!-- Latest accelerations -->
< div class = "col" >
< div class = "card" >
< div class = "card-body" >
< a class = "title-link" href = "" [ routerLink ]="['/ acceleration-list ' | relativeUrl ]" >
< h5 class = "card-title d-inline" i18n = "dashboard.latest-accelerations" > Latest accelerations</ h5 >
< span > </ span >
< fa-icon [ icon ]="[' fas ', ' external-link-alt ']" [ fixedWidth ]=" true " style = "vertical-align: 'text-top'; font-size: 13px; color: '#4a68b9'" ></ fa-icon >
</ a >
< app-accelerations-list [ attr . data-cy ]="' latest-accelerations '" [ widget ]= true ></ app-accelerations-list >
</ div >
</ div >
</ div >
2023-07-21 14:13:18 +09:00
<!-- Latest blocks -->
2023-07-20 16:26:42 +09:00
< div class = "col" >
< div class = "card" >
< div class = "card-body" >
2023-07-21 14:13:18 +09:00
< a class = "title-link" href = "" [ routerLink ]="['/ blocks ' | relativeUrl ]" >
< h5 class = "card-title d-inline" i18n = "dashboard.latest-blocks" > Latest blocks</ h5 >
2023-07-20 16:26:42 +09:00
< span > </ span >
< fa-icon [ icon ]="[' fas ', ' external-link-alt ']" [ fixedWidth ]=" true " style = "vertical-align: 'text-top'; font-size: 13px; color: '#4a68b9'" ></ fa-icon >
</ a >
2023-07-21 14:13:18 +09:00
< table class = "table lastest-blocks-table" >
< thead >
< th class = "table-cell-height" i18n = "dashboard.latest-blocks.height" > Height</ th >
< th class = "table-cell-pool" i18n = "mining.pool-name" > Pool</ th >
< th class = "table-cell-fee" i18n = "block.median-fee" > Median fee</ th >
< th class = "table-cell-acceleration-count" i18n = "accelerator.transaction-count" > Accelerations</ th >
</ thead >
< tbody >
< tr * ngFor = "let block of blocks$ | async; let i = index" >
< td class = "table-cell-height" >< a [ routerLink ]="['/ block ' | relativeUrl , block . id ]" [ state ]="{ data: { block: block } }" > {{ block.height }}</ a ></ td >
< td class = "table-cell-pool" >
< a class = "clear-link" [ routerLink ]="[('/ mining / pool /' + block . extras . pool . slug ) | relativeUrl ]" >
< img width = "22" height = "22" src = "{{ block.extras.pool['logo'] }}"
onError = "this.src = '/resources/mining-pools/default.svg'" >
< span class = "pool-name" > {{ block.extras.pool.name }}</ span >
</ a >
</ td >
< td class = "table-cell-fee" >< app-fee-rate [ fee ]=" block ?. extras ?. medianFee " rounding = "1.0-0" ></ app-fee-rate ></ td >
< td class = "table-cell-acceleration-count" > {{ block.accelerationCount | number }}</ td >
</ tr >
</ tbody >
</ table >
2023-07-20 16:26:42 +09:00
</ div >
</ div >
</ div >
</ div >
</ div >