forked from openedx/frontend-lib-special-exams
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add following proctoring exam pages: user verification, softwar…
…e download, ready to start instruction (#17) * feat: add user verification page * feat: add proctored exam instructions page (when exam is in 'ready_to_start' status) * feat: get provider software download url from backend instead of building on the frontend * fix: merge errors * fix: fix tests * feat: add verification url to user verification page Co-authored-by: Ihor Romaniuk <[email protected]> Co-authored-by: Sagirov Eugeniy <[email protected]>
- Loading branch information
1 parent
c4b2b13
commit aa5c84e
Showing
23 changed files
with
788 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import React, { useContext } from 'react'; | ||
import { Button } from '@edx/paragon'; | ||
import { FormattedMessage } from '@edx/frontend-platform/i18n'; | ||
import ExamStateContext from '../../context'; | ||
|
||
const Footer = () => { | ||
const state = useContext(ExamStateContext); | ||
const { proctoringSettings } = state; | ||
const { link_urls: linkUrls } = proctoringSettings; | ||
const faqUrl = linkUrls && linkUrls.faq; | ||
|
||
return ( | ||
<div className="footer-sequence"> | ||
{faqUrl && ( | ||
<Button | ||
data-testid="request-exam-time-button" | ||
variant="link" | ||
href={faqUrl} | ||
target="_blank" | ||
> | ||
<FormattedMessage | ||
id="exam.startExamInstructions.footerButton" | ||
defaultMessage="About Proctored Exams" | ||
/> | ||
</Button> | ||
)} | ||
</div> | ||
); | ||
}; | ||
|
||
export default Footer; |
Oops, something went wrong.