Skip to content
Snippets Groups Projects
Commit 27f09cbd authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

use more neutral language

parent 73e505b4
No related branches found
No related tags found
No related merge requests found
......@@ -32,14 +32,14 @@ class Exams extends React.Component {
return (
<div>
<Hero title='Exams' subtitle="Omnomnomnom PDF's!" />
<Hero title='Add exam' subtitle="first step" />
<section className="section">
<div className="container">
<h3 className='title'>Upload new exam config</h3>
<h5 className='subtitle'>then we know that to do with PDF's</h5>
<h3 className='title'>Upload new exam configuration YAML</h3>
<h5 className='subtitle'>Each exam should have a unique name.</h5>
<Dropzone accept=".yml, text/yaml, text/x-yaml, application/yaml, application/x-yaml"
style={{}} activeStyle={{ borderStyle: 'dashed', width: 'fit-content', margin: 'auto' }}
......
......@@ -37,7 +37,7 @@ class Exams extends React.Component {
putYaml = () => {
api.patch('exams/' + this.props.exam.id, { yaml: this.state.yaml })
.then(() => alert('thank you for the update; it was delicious'))
.then(() => alert('Exam config successfully updated.'))
.catch(resp => {
alert('failed to update the YAML (see javascript console)')
console.error('failed to update YAML', resp)
......@@ -64,7 +64,7 @@ class Exams extends React.Component {
onDropPDF = (accepted, rejected) => {
if (rejected.length > 0) {
alert('Please upload a PDF..')
alert('Please upload a PDF.')
return
}
accepted.map(file => {
......@@ -131,8 +131,8 @@ class Exams extends React.Component {
<div className="column has-text-centered">
<h3 className='title'>And upload PDF's</h3>
<h5 className='subtitle'>we will work some magic!</h5>
<h3 className='title'>upload PDF</h3>
<h5 className='subtitle'>scanned exams</h5>
<Dropzone accept={"application/pdf"} style={{}}
activeStyle={{ borderStyle: 'dashed', width: 'fit-content', margin: 'auto' }}
onDrop={this.onDropPDF}
......
......@@ -113,7 +113,7 @@ class Grade extends React.Component {
return (
<div>
<Hero title='Grade' subtitle='This is where the magic happens!' />
<Hero title='Grade' subtitle='Assign feedback to each solution' />
<section className="section">
......@@ -171,4 +171,4 @@ class Grade extends React.Component {
}
}
export default Grade;
\ No newline at end of file
export default Grade;
......@@ -6,10 +6,9 @@ const StatisticsDashboard = () => {
return (
<div>
<Hero title='Statistics Dashboard' subtitle='Is your exam sane?' />
<Hero title='Statistics Dashboard' subtitle='Review the grading' />
<h1>React Router demo</h1>
Hoi dit de Statistics Dashboard
</div>
)
......
......@@ -166,7 +166,7 @@ class CheckStudents extends React.Component {
return (
<div>
<Hero title='Match Students' subtitle='Who made what?' />
<Hero title='Match Students' subtitle='Check that all submissions are correctly identified' />
<section className="section">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment