diff options
Diffstat (limited to 'scraper/client/paper/paper.verify.js')
| -rw-r--r-- | scraper/client/paper/paper.verify.js | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/scraper/client/paper/paper.verify.js b/scraper/client/paper/paper.verify.js index 1e727f79..ddc0a155 100644 --- a/scraper/client/paper/paper.verify.js +++ b/scraper/client/paper/paper.verify.js @@ -12,6 +12,7 @@ const initialState = { citation: null, uses_dataset: false, doesnt_use_dataset: false, + images_in_paper: false, verified_by: '', notes: '', pdf_index: 0, @@ -62,6 +63,7 @@ class PaperVerify extends Component { ...citationState, uses_dataset: paper.uses_dataset === "TRUE", doesnt_use_dataset: paper.doesnt_use_dataset === "TRUE", + images_in_paper: paper.images_in_paper === "TRUE", verified_by: paper.verified_by, notes: paper.notes, }) @@ -90,6 +92,7 @@ class PaperVerify extends Component { title: this.state.citation.title, uses_dataset: this.state.uses_dataset, doesnt_use_dataset: this.state.doesnt_use_dataset, + images_in_paper: this.state.images_in_paper, verified_by: this.state.verified_by, notes: this.state.notes, }) @@ -141,6 +144,8 @@ class PaperVerify extends Component { </a> ) })} + {' | '} + <a href={'https://www.semanticscholar.org/paper/' + citation.id} target="_blank">[semantic scholar]</a> </div> <div className='param'> @@ -172,6 +177,19 @@ class PaperVerify extends Component { </div> <div className='param'> + <label>{"Uses images from dataset"}</label> + <input + className='vetting' + type='radio' + name='images_in_paper' + checked={!!this.state.images_in_paper} + onChange={e => this.setState({ + images_in_paper: !e.target.checked, + })} + /> + </div> + + <div className='param'> <label>Verified by:</label> <input type='text' @@ -184,7 +202,9 @@ class PaperVerify extends Component { <div className='param'> <label>Notes</label> - <input + <textarea + rows={4} + cols={50} type='text' className='notes' value={this.state.notes} |
