Change certification wording to be tool / lockout specific
This commit is contained in:
parent
e2f9403466
commit
02f7ba72bd
|
@ -693,7 +693,7 @@ export function AdminCert(props) {
|
|||
onClick={handleUncert}
|
||||
loading={loading}
|
||||
>
|
||||
Uncertify
|
||||
Disable
|
||||
</Button>
|
||||
:
|
||||
<Button
|
||||
|
@ -701,7 +701,7 @@ export function AdminCert(props) {
|
|||
onClick={handleCert}
|
||||
loading={loading}
|
||||
>
|
||||
Certify {name}
|
||||
Enable {name}
|
||||
</Button>
|
||||
);
|
||||
}
|
||||
|
@ -712,15 +712,15 @@ export function AdminMemberCertifications(props) {
|
|||
|
||||
return (
|
||||
<div>
|
||||
<Header size='medium'>Member Certifications</Header>
|
||||
<Header size='medium'>Machine Access</Header>
|
||||
|
||||
<p>These certifications control access to the lockouts.</p>
|
||||
<p>These control access to the lockouts.</p>
|
||||
|
||||
<Table basic='very'>
|
||||
<Table.Header>
|
||||
<Table.Row>
|
||||
<Table.HeaderCell>Name</Table.HeaderCell>
|
||||
<Table.HeaderCell>Certification</Table.HeaderCell>
|
||||
<Table.HeaderCell>Enabled</Table.HeaderCell>
|
||||
<Table.HeaderCell>Course</Table.HeaderCell>
|
||||
<Table.HeaderCell></Table.HeaderCell>
|
||||
</Table.Row>
|
||||
|
@ -734,29 +734,29 @@ export function AdminMemberCertifications(props) {
|
|||
<Table.Cell><AdminCert name='Common' field='orientation_date' {...props} loading={loading} setLoading={setLoading} /></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>Wood 1</Table.Cell>
|
||||
<Table.Cell>SawStop</Table.Cell>
|
||||
<Table.Cell>{member.wood_cert_date ? 'Yes, ' + member.wood_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/261'>Woodworking Tools 1: Intro to Saws</Link></Table.Cell>
|
||||
<Table.Cell><AdminCert name='Wood 1' field='wood_cert_date' {...props} loading={loading} setLoading={setLoading} /></Table.Cell>
|
||||
<Table.Cell>SawStop course (WIP)</Table.Cell>
|
||||
<Table.Cell><AdminCert name='SawStop' field='wood_cert_date' {...props} loading={loading} setLoading={setLoading} /></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>Wood 2</Table.Cell>
|
||||
<Table.Cell>Drum Sander</Table.Cell>
|
||||
<Table.Cell>{member.wood2_cert_date ? 'Yes, ' + member.wood2_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/401'>Woodworking Tools 2: Jointer, Thickness Planer, Drum Sander</Link></Table.Cell>
|
||||
<Table.Cell><AdminCert name='Wood 2' field='wood2_cert_date' {...props} loading={loading} setLoading={setLoading} /></Table.Cell>
|
||||
<Table.Cell><AdminCert name='Drum Sander' field='wood2_cert_date' {...props} loading={loading} setLoading={setLoading} /></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
{false && <Table.Row>
|
||||
<Table.Cell>Lathe</Table.Cell>
|
||||
<Table.Cell>{member.lathe_cert_date ? 'Yes, ' + member.lathe_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/281'>Metal: Metal Cutting & Manual Lathe</Link></Table.Cell>
|
||||
<Table.Cell><AdminCert name='Lathe' field='lathe_cert_date' {...props} loading={loading} setLoading={setLoading} /></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
</Table.Row>}
|
||||
{false && <Table.Row>
|
||||
<Table.Cell>Mill</Table.Cell>
|
||||
<Table.Cell>{member.mill_cert_date ? 'Yes, ' + member.mill_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/283'>Metal: Manual Mill & Advanced Lathe</Link></Table.Cell>
|
||||
<Table.Cell><AdminCert name='Mill' field='mill_cert_date' {...props} loading={loading} setLoading={setLoading} /></Table.Cell>
|
||||
</Table.Row>
|
||||
</Table.Row>}
|
||||
<Table.Row>
|
||||
<Table.Cell>Tormach CNC</Table.Cell>
|
||||
<Table.Cell>{member.tormach_cnc_cert_date ? 'Yes, ' + member.tormach_cnc_cert_date : 'No'}</Table.Cell>
|
||||
|
|
|
@ -21,55 +21,55 @@ export function CertList(props) {
|
|||
{!isMobile && <Table.Header>
|
||||
<Table.Row>
|
||||
<Table.HeaderCell>Name</Table.HeaderCell>
|
||||
<Table.HeaderCell>Certification</Table.HeaderCell>
|
||||
<Table.HeaderCell>Enabled</Table.HeaderCell>
|
||||
<Table.HeaderCell>Course</Table.HeaderCell>
|
||||
</Table.Row>
|
||||
</Table.Header>}
|
||||
|
||||
<Table.Body>
|
||||
<Table.Row>
|
||||
<Table.Cell>Common {MoreCert('Anything larger than a screwdriver.')}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.vetted_date || member.orientation_date ? 'Yes' : 'No'}</Table.Cell>
|
||||
<Table.Cell>Common {MoreCert('Any tool larger than a screwdriver.')}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.vetted_date || member.orientation_date ? 'Yes' : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/249'>New Members: Orientation and Basic Safety</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>Wood 1 {MoreCert('Table saw, band saw, chop saw, router.')}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.wood_cert_date ? 'Yes, ' + member.wood_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/261'>Woodworking Tools 1: Intro to Saws</Link></Table.Cell>
|
||||
<Table.Cell>SawStop</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.wood_cert_date ? 'Yes, ' + member.wood_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>SawStop course (WIP)</Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>Wood 2 {MoreCert('Jointer, thickness planer, drum sander.')}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.wood2_cert_date ? 'Yes, ' + member.wood2_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>Drum Sander</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.wood2_cert_date ? 'Yes, ' + member.wood2_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/401'>Woodworking Tools 2: Jointer, Thickness Planer, Drum Sander</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
{false && <Table.Row>
|
||||
<Table.Cell>Lathe {MoreCert('Manual metal lathe.')}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.lathe_cert_date ? 'Yes, ' + member.lathe_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.lathe_cert_date ? 'Yes, ' + member.lathe_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/281'>Metal: Metal Cutting & Manual Lathe</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
</Table.Row>}
|
||||
{false && <Table.Row>
|
||||
<Table.Cell>Mill {MoreCert('Manual metal mill.')}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.mill_cert_date ? 'Yes, ' + member.mill_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.mill_cert_date ? 'Yes, ' + member.mill_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/283'>Metal: Manual Mill & Advanced Lathe</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
</Table.Row>}
|
||||
<Table.Row>
|
||||
<Table.Cell>Tormach CNC</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.tormach_cnc_cert_date ? 'Yes, ' + member.tormach_cnc_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.tormach_cnc_cert_date ? 'Yes, ' + member.tormach_cnc_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/259'>Tormach: CAM and Tormach Intro</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>Precix CNC</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.precix_cnc_cert_date ? 'Yes, ' + member.precix_cnc_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.precix_cnc_cert_date ? 'Yes, ' + member.precix_cnc_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/428'>Basic CNC Wood Router</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>Rabbit Laser</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.rabbit_cert_date ? 'Yes, ' + member.rabbit_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.rabbit_cert_date ? 'Yes, ' + member.rabbit_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/247'>Laser: Cutting and Engraving</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
<Table.Row>
|
||||
<Table.Cell>Trotec Laser</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Certified: '}{member.trotec_cert_date ? 'Yes, ' + member.trotec_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell>{isMobile && 'Enabled: '}{member.trotec_cert_date ? 'Yes, ' + member.trotec_cert_date : 'No'}</Table.Cell>
|
||||
<Table.Cell><Link to='/courses/321'>Laser: Trotec Course</Link></Table.Cell>
|
||||
</Table.Row>
|
||||
</Table.Body>
|
||||
|
@ -122,13 +122,13 @@ export function Training(props) {
|
|||
<p>No training yet! Sign up for a course to take a class.</p>
|
||||
}
|
||||
|
||||
<Header size='large'>Your Certifications</Header>
|
||||
<Header size='large'>Your Machine Access</Header>
|
||||
|
||||
<p>⚠️ Everyone's been decertified on Wood Working I since the installation of the SawStop Table Saw.</p>
|
||||
<p>These control access to the machine lockout devices.</p>
|
||||
|
||||
<CertList member={user.member} />
|
||||
|
||||
<p>Certifications are based on the courses you've taken. If there's any errors, please email <a href='mailto:directors@protospace.ca'>directors@protospace.ca</a>.</p>
|
||||
<p>Access is based on the courses you've taken. If there's any errors, please email <a href='mailto:directors@protospace.ca'>directors@protospace.ca</a>.</p>
|
||||
</Container>
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user