From c0db91af981a35a5377eab4e6b68bd87cabaa5fd Mon Sep 17 00:00:00 2001 From: Brian Boerst Date: Mon, 10 Jun 2024 02:18:00 -0500 Subject: [PATCH] Removing help buttons for now to clean up UI --- webapp/static/main.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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), });