Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
e7c07d4e
Commit
e7c07d4e
authored
Sep 04, 2013
by
David Ormsbee
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/ormsbee/verifyuser3' into ormsbee/verifyuser3
parents
78acd083
41e3ffc2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
1 deletions
+24
-1
cms/envs/acceptance.py
+7
-0
lms/envs/acceptance.py
+7
-0
lms/static/js/verify_student/photocapture.js
+10
-1
No files found.
cms/envs/acceptance.py
View file @
e7c07d4e
...
...
@@ -86,3 +86,10 @@ INSTALLED_APPS += ('lettuce.django',)
LETTUCE_APPS
=
(
'contentstore'
,)
LETTUCE_SERVER_PORT
=
choice
(
PORTS
)
if
SAUCE
.
get
(
'SAUCE_ENABLED'
)
else
randint
(
1024
,
65535
)
LETTUCE_BROWSER
=
os
.
environ
.
get
(
'LETTUCE_BROWSER'
,
'chrome'
)
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=F0401
except
ImportError
:
pass
lms/envs/acceptance.py
View file @
e7c07d4e
...
...
@@ -120,3 +120,10 @@ INSTALLED_APPS += ('lettuce.django',)
LETTUCE_APPS
=
(
'courseware'
,)
LETTUCE_SERVER_PORT
=
choice
(
PORTS
)
if
SAUCE
.
get
(
'SAUCE_ENABLED'
)
else
randint
(
1024
,
65535
)
LETTUCE_BROWSER
=
os
.
environ
.
get
(
'LETTUCE_BROWSER'
,
'chrome'
)
#####################################################################
# Lastly, see if the developer has any local overrides.
try
:
from
.private
import
*
# pylint: disable=F0401
except
ImportError
:
pass
lms/static/js/verify_student/photocapture.js
View file @
e7c07d4e
...
...
@@ -176,7 +176,16 @@ $(document).ready(function() {
$
(
"#pay_button"
).
toggleClass
(
'disabled'
);
});
$
(
"#pay_button_frame"
).
addClass
(
'disabled'
);
// add in handlers to add/remove the correct classes to the body
// when moving between steps
$
(
'#face_next_button'
).
click
(
function
(){
$
(
'body'
).
addClass
(
'step-photos-id'
).
removeClass
(
'step-photos-cam'
)
})
$
(
'#photo_id_next_button'
).
click
(
function
(){
$
(
'body'
).
addClass
(
'step-review'
).
removeClass
(
'step-photos-id'
)
})
var
hasHtml5CameraSupport
=
initVideoCapture
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment