mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2025-12-31 10:52:42 +00:00
Add divs for styling of brewsAwaitingReview
This commit is contained in:
@@ -174,13 +174,19 @@ const LockTable = createClass({
|
|||||||
|
|
||||||
render : function () {
|
render : function () {
|
||||||
return <>
|
return <>
|
||||||
|
<div className='brewsAwaitingReview'>
|
||||||
|
<div className='brewBlock'>
|
||||||
<h2>{this.props.title}</h2>
|
<h2>{this.props.title}</h2>
|
||||||
<button onClick={this.clickFn}>
|
<button onClick={this.clickFn}>
|
||||||
|
REFRESH
|
||||||
<i className={`fas ${!this.state.searching ? 'fa-search' : 'fa-spin fa-spinner'}`} />
|
<i className={`fas ${!this.state.searching ? 'fa-search' : 'fa-spin fa-spinner'}`} />
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
{this.state.result[this.props.resultName] &&
|
{this.state.result[this.props.resultName] &&
|
||||||
<>
|
<>
|
||||||
<p>Total Reviews Waiting: {this.state.result[this.props.resultName].length}</p>
|
<p>Total Reviews Waiting: {this.state.result[this.props.resultName].length}</p>
|
||||||
|
<hr />
|
||||||
|
<p>Click a row to copy the Share ID to the clipboard</p>
|
||||||
<table className='lockTable'>
|
<table className='lockTable'>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -203,6 +209,7 @@ const LockTable = createClass({
|
|||||||
</table>
|
</table>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
</div>
|
||||||
</>;
|
</>;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user