summaryrefslogtreecommitdiff
path: root/scraper/client
diff options
context:
space:
mode:
Diffstat (limited to 'scraper/client')
-rw-r--r--scraper/client/paper/paper.verify.js18
1 files changed, 17 insertions, 1 deletions
diff --git a/scraper/client/paper/paper.verify.js b/scraper/client/paper/paper.verify.js
index 015c52bc..5f85a551 100644
--- a/scraper/client/paper/paper.verify.js
+++ b/scraper/client/paper/paper.verify.js
@@ -14,6 +14,7 @@ const initialState = {
doesnt_use_dataset: true,
images_in_paper: false,
verified_by: localStorage.getItem('verify.username') || '',
+ reference: '',
notes: '',
pdf_index: 0,
}
@@ -66,6 +67,7 @@ class PaperVerify extends Component {
doesnt_use_dataset: paper.doesnt_use_dataset === "TRUE",
images_in_paper: paper.images_in_paper === "TRUE",
verified_by: paper.verified_by,
+ reference: paper.reference,
notes: paper.notes,
})
}
@@ -104,6 +106,7 @@ class PaperVerify extends Component {
doesnt_use_dataset: this.state.doesnt_use_dataset,
images_in_paper: this.state.images_in_paper,
verified_by: this.state.verified_by,
+ reference: this.state.reference,
notes: this.state.notes,
date: dateString,
})
@@ -236,9 +239,22 @@ class PaperVerify extends Component {
</div>
<div className='param'>
+ <label>Reference</label>
+ <textarea
+ rows={3}
+ cols={50}
+ type='text'
+ className='notes'
+ value={this.state.notes}
+ placeholder='Notes'
+ onChange={e => this.setState({ notes: e.target.value })}
+ />
+ </div>
+
+ <div className='param'>
<label>Notes</label>
<textarea
- rows={4}
+ rows={3}
cols={50}
type='text'
className='notes'