You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
620 B

table(class="table table-striped")
thead
tr
th
th Height
th Timestamp (utc)
th Age
th Transactions
th Size (bytes)
tbody
each block, blockIndex in blocks
if (block)
tr
th #{blockIndex + blockOffset + 1}
td
a(href=("/block-height/" + block.height)) #{block.height}
td #{moment.utc(new Date(parseInt(block.time) * 1000)).format("Y-MM-DD HH:mm:ss")}
td #{moment.utc(new Date(parseInt(block.time) * 1000)).fromNow(true)}
td #{block.tx.length.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")}
td #{block.size.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")}