diff --git a/webapp/static/main.js b/webapp/static/main.js index 4c4066b..ce99331 100644 --- a/webapp/static/main.js +++ b/webapp/static/main.js @@ -42,7 +42,7 @@ document.addEventListener('DOMContentLoaded', () => { width: 130, }, { - title: '
Timestamp', + title: 'Timestamp', field: 'timestamp', sorter: function (a, b, aRow, bRow, column, dir, sorterParams) { const timestampA = new Date(a).getTime(); @@ -51,17 +51,17 @@ document.addEventListener('DOMContentLoaded', () => { }, formatter: formatTimestamp, }, - { title: '
Height', field: 'height' }, + { title: 'Height', field: 'height' }, { title: 'Previous Block Hash', field: 'prev_block_hash' }, { title: 'Block Version', field: 'block_version' }, - { title: '
Coinbase RAW', field: 'coinbase_raw' }, + { title: 'Coinbase RAW', field: 'coinbase_raw' }, { title: 'Version', field: 'version' }, { title: 'Nbits', field: 'nbits' }, { title: 'Ntime', field: 'ntime', formatter: formatNtimeTimestamp }, - { title: '
Coinbase Script (ASCII)', field: 'coinbase_script_ascii' }, - { title: '
Clean Jobs', field: 'clean_jobs' }, + { title: 'Coinbase Script (ASCII)', field: 'coinbase_script_ascii' }, + { title: 'Clean Jobs', field: 'clean_jobs' }, { - title: '
First Tx', + title: 'First Tx', field: 'first_transaction', formatter: function (cell, formatterParams, onRendered) { const value = cell.getValue(); @@ -72,9 +72,9 @@ document.addEventListener('DOMContentLoaded', () => { } } }, - { title: '
First Tx Fee Rate (sat/vB)', field: 'fee_rate' }, + { title: 'First Tx Fee Rate (sat/vB)', field: 'fee_rate' }, ...getMerkleBranchColumns(), - { title: '
Coinbase Output Value', field: 'coinbase_output_value' }, + { title: 'Coinbase Output Value', field: 'coinbase_output_value' }, ]; } @@ -106,7 +106,7 @@ document.addEventListener('DOMContentLoaded', () => { const merkleBranchColumns = []; for (let i = 0; i < 11; i++) { merkleBranchColumns.push({ - title: `
Merkle Branch ${i}`, + title: `Merkle Branch ${i}`, field: 'merkle_branches', formatter: merkleBranchFormatter(i), });