New data seeded

This commit is contained in:
Chris Fenos 2018-08-21 13:51:37 -04:00
parent 4bea6ac814
commit 8f19d6f4cd
3 changed files with 14 additions and 12 deletions

View file

@ -34,12 +34,14 @@ class navBar extends React.Component {
onClick={ ()=>this.updateActive("transactions") }>
TRANSACTIONS
</button>
</Link>
</Link>
<Link to="/transactions">
<button
className={this.state.active === "internal" ? classes.btnActive : classes.btn}
onClick={ ()=> this.updateActive("internal") }>
INTERNAL TX
</button>
</button>
</Link>
<Link to="/accounts">
<button
className={this.state.active === "accounts" ? classes.btnActive : classes.btn}

View file

@ -6,7 +6,7 @@ const MinedBlockTable = (props) => {
return (
<tbody>
<tr style={{ borderTop: '1px solid #e0defb' }}>
<td style={{ paddingLeft: '30pt', paddingBottom: '7.5pt', paddingTop: '7.5pt' }}><Link to="/blocks/detail" onClick={() => props.detailBlockHandler(props.Number)}>
<td style={{ paddingLeft: '30pt', paddingBottom: '7.5pt', paddingTop: '7.5pt' }}><Link to="/blocks/detail" style={{ color: '#8f67c9' }} onClick={() => props.detailBlockHandler(props.Number)}>
{props.Number}
</Link></td>
<td style={{ paddingLeft: '30pt', paddingBottom: '7.5pt', paddingTop: '7.5pt' }} className={classes.addressTag}>{props.Hash}</td>

View file

@ -31,16 +31,16 @@ class BlockTransactionTable extends Component {
let combinedClasses = ['responsive-table', classes.table];
return (
<table key={this.props.data.TxHash} className={combinedClasses.join(' ')}>
<thead className={classes.tHead}>
<thead>
<tr>
<th scope="col">TxHash</th>
<th scope="col">Block</th>
<th scope="col">Age</th>
<th scope="col">From</th>
<th scope="col"></th>
<th scope="col">To</th>
<th scope="col">Value</th>
<th scope="col">TxFee</th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>TxHash</th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>Block</th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>Age</th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>From</th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}></th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>To</th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>Value</th>
<th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>TxFee</th>
</tr>
</thead>
{table}