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

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

View file

@ -6,7 +6,7 @@ const MinedBlockTable = (props) => {
return ( return (
<tbody> <tbody>
<tr style={{ borderTop: '1px solid #e0defb' }}> <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} {props.Number}
</Link></td> </Link></td>
<td style={{ paddingLeft: '30pt', paddingBottom: '7.5pt', paddingTop: '7.5pt' }} className={classes.addressTag}>{props.Hash}</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]; let combinedClasses = ['responsive-table', classes.table];
return ( return (
<table key={this.props.data.TxHash} className={combinedClasses.join(' ')}> <table key={this.props.data.TxHash} className={combinedClasses.join(' ')}>
<thead className={classes.tHead}> <thead>
<tr> <tr>
<th scope="col">TxHash</th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>TxHash</th>
<th scope="col">Block</th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>Block</th>
<th scope="col">Age</th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>Age</th>
<th scope="col">From</th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>From</th>
<th scope="col"></th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}></th>
<th scope="col">To</th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>To</th>
<th scope="col">Value</th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>Value</th>
<th scope="col">TxFee</th> <th scope="col" style={{fontSize: "8pt", backgroundColor: "white", color: "#4f2e7e"}}>TxFee</th>
</tr> </tr>
</thead> </thead>
{table} {table}