-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3b693d7
commit 0e0db22
Showing
2 changed files
with
78 additions
and
44 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,6 +19,51 @@ | |
</head> | ||
|
||
<body> | ||
<!-- This template is cloned and appended into the iproov-me component when it's ready: --> | ||
<template id="iproov_template"> | ||
<div slot="ready"> | ||
<h3>Ready to iProov</h3> | ||
</div> | ||
<div slot="grant_permission"> | ||
<h3 class="iproov-lang-heading">Camera permission required</h3> | ||
<p>We only need your webcam for a few seconds.</p> | ||
</div> | ||
<div slot="grant_button"> | ||
<p><button>Grant Camera Permission</button></p> | ||
<p>For full details, see our <a href="https://www.iproov.com/privacy-policy">Privacy Policy</a>.</p> | ||
</div> | ||
<div slot="button"> | ||
<p>Click below to start the iProov process:</p> | ||
<button class="ipbutton--lozenge">Scan face</button> | ||
</div> | ||
<div slot="error" class="state state--error"> | ||
<h3>Error</h3> | ||
<p>Something went wrong with iProov. If this keeps happening, <a href="mailto:[email protected]">let us know</a> so we can take a look and make things right.</p> | ||
<pre class="detail iproov-lang-term"></pre> | ||
<button class="ipbutton--lozenge action-restart">Try again</button> | ||
<a class="ipbutton ipbutton--texas-rose ipbutton--lozenge" href="mailto:[email protected]">Contact support</a> | ||
</div> | ||
<div slot="failed" class="state state--failed"> | ||
<h3>Failed</h3> | ||
<p>Either you're a cyber criminal, or we couldn't quite match you. Care to try again?</p> | ||
<pre class="detail iproov-lang-term"></pre> | ||
<button class="ipbutton--lozenge action-restart">Try again</button> | ||
</div> | ||
<div slot="cancelled" class="state state--cancelled"> | ||
<h3>Cancelled</h3> | ||
<p>User exited out of iProov</p> | ||
<button class="ipbutton--lozenge action-restart">Restart iProov</button> | ||
</div> | ||
<div slot="passed" class="state state--passed"> | ||
<h3>Passed</h3> | ||
<p>You have iProoved successfully.</p> | ||
<button class="ipbutton--lozenge action-restart">Scan again</button> | ||
</div> | ||
<div slot="progress" class="progress" aria-roledescription="progress"> | ||
<div class="progress__inner"></div> | ||
<span class="progress__text">Progressing</span> | ||
</div> | ||
</template> | ||
<div class="wrapper"> | ||
<header> | ||
<h1> | ||
|
@@ -64,50 +109,6 @@ <h4>Create Token</h4> | |
<div class="error-container hidden"></div> | ||
</form> | ||
<div id="iproov_wrapper" class="card hidden"> | ||
<template id="iproov_template"> | ||
<div slot="ready"> | ||
<h3>Ready to iProov</h3> | ||
</div> | ||
<div slot="grant_permission"> | ||
<h3 class="iproov-lang-heading">Camera permission required</h3> | ||
<p>We only need your webcam for a few seconds.</p> | ||
</div> | ||
<div slot="grant_button"> | ||
<p><button>Grant Camera Permission</button></p> | ||
<p>For full details, see our <a href="https://www.iproov.com/privacy-policy">Privacy Policy</a>.</p> | ||
</div> | ||
<div slot="button"> | ||
<p>Click below to start the iProov process:</p> | ||
<button class="ipbutton--lozenge">Scan face</button> | ||
</div> | ||
<div slot="error" class="state state--error"> | ||
<h3>Error</h3> | ||
<p>Something went wrong with iProov. If this keeps happening, <a href="mailto:[email protected]">let us know</a> so we can take a look and make things right.</p> | ||
<pre class="detail iproov-lang-term"></pre> | ||
<button class="ipbutton--lozenge action-restart">Try again</button> | ||
<a class="ipbutton ipbutton--texas-rose ipbutton--lozenge" href="mailto:[email protected]">Contact support</a> | ||
</div> | ||
<div slot="failed" class="state state--failed"> | ||
<h3>Failed</h3> | ||
<p>Either you're a cyber criminal, or we couldn't quite match you. Care to try again?</p> | ||
<pre class="detail iproov-lang-term"></pre> | ||
<button class="ipbutton--lozenge action-restart">Try again</button> | ||
</div> | ||
<div slot="cancelled" class="state state--cancelled"> | ||
<h3>Cancelled</h3> | ||
<p>User exited out of iProov</p> | ||
<button class="ipbutton--lozenge action-restart">Restart iProov</button> | ||
</div> | ||
<div slot="passed" class="state state--passed"> | ||
<h3>Passed</h3> | ||
<p>You have iProoved successfully.</p> | ||
<button class="ipbutton--lozenge action-restart">Scan again</button> | ||
</div> | ||
<div slot="progress" class="progress" aria-roledescription="progress"> | ||
<div class="progress__inner"></div> | ||
<span class="progress__text">Progressing</span> | ||
</div> | ||
</template> | ||
<div id="iproovme_container"></div> | ||
</div> | ||
<footer> | ||
|
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