diff --git a/lms/static/js/verify_student/views/webcam_photo_view.js b/lms/static/js/verify_student/views/webcam_photo_view.js index 0926836c5c..c527da61a7 100644 --- a/lms/static/js/verify_student/views/webcam_photo_view.js +++ b/lms/static/js/verify_student/views/webcam_photo_view.js @@ -241,7 +241,6 @@ // Install event handlers $( "#webcam_reset_button", this.el ).on( 'click', _.bind( this.reset, this ) ); $( "#webcam_capture_button", this.el ).on( 'click', _.bind( this.capture, this ) ); - $( "#webcam_approve_button", this.el ).on( 'click', _.bind( this.approve, this ) ); return this; }, @@ -255,7 +254,6 @@ // Go back to the initial button state $( "#webcam_reset_button", this.el ).hide(); - $( "#webcam_approve_button", this.el ).removeClass( "approved" ).hide(); $( "#webcam_capture_button", this.el ).show(); }, @@ -263,25 +261,19 @@ // Take a snapshot of the video var success = this.backend.snapshot(); - // Show the reset and approve buttons if ( success ) { + // Hide the capture button, and show the reset button $( "#webcam_capture_button", this.el ).hide(); $( "#webcam_reset_button", this.el ).show(); - $( "#webcam_approve_button", this.el ).show(); + + // Save the data to the model + this.model.set( this.modelAttribute, this.backend.getImageData() ); + + // Enable the submit button + $( this.submitButton ).removeClass( "is-disabled" ); } }, - approve: function() { - // Save the data to the model - this.model.set( this.modelAttribute, this.backend.getImageData() ); - - // Make the "approve" button green - $( "#webcam_approve_button" ).addClass( "approved" ); - - // Enable the submit button - $( this.submitButton ).removeClass( "is-disabled" ); - }, - chooseVideoCaptureBackend: function() { var i, backendName, backend; @@ -298,7 +290,6 @@ // Hide the buttons $( "#webcam_capture_button", this.el ).hide(); $( "#webcam_reset_button", this.el ).hide(); - $( "#webcam_approve_button", this.el ).hide(); // Show the error message this.errorModel.set({ diff --git a/lms/static/sass/views/_verification.scss b/lms/static/sass/views/_verification.scss index b900784744..1b56b5b803 100644 --- a/lms/static/sass/views/_verification.scss +++ b/lms/static/sass/views/_verification.scss @@ -732,8 +732,8 @@ left: ($baseline/2); } - // control - take/do - .control-do { + // control - take/do, retake + .control-do, .control-retake { left: 45%; } @@ -2183,8 +2183,8 @@ left: ($baseline/2); } - // control - take/do - .control-do { + // control - take/do, retake + .control-do, .control-retake { left: 45%; } diff --git a/lms/templates/verify_student/face_photo_step.underscore b/lms/templates/verify_student/face_photo_step.underscore index 4992b5dad6..bcdcc22b4f 100644 --- a/lms/templates/verify_student/face_photo_step.underscore +++ b/lms/templates/verify_student/face_photo_step.underscore @@ -18,7 +18,6 @@
  • <%- gettext( "Be sure your entire face is inside the frame" ) %>
  • <%- gettext( "Can we match the photo you took with the one on your ID?" ) %>
  • <%- gettext( "Once in position, use the camera button" ) %> () <%- gettext( "to capture your picture" ) %>
  • -
  • <%- gettext( "Use the checkmark button" ) %> () <%- gettext( "once you are happy with the photo" ) %>
  • diff --git a/lms/templates/verify_student/id_photo_step.underscore b/lms/templates/verify_student/id_photo_step.underscore index f5a1ced871..80039fe42f 100644 --- a/lms/templates/verify_student/id_photo_step.underscore +++ b/lms/templates/verify_student/id_photo_step.underscore @@ -20,7 +20,6 @@
  • <%- gettext( "Try to keep your fingers at the edge to avoid covering important information" ) %>
  • <%- gettext( "Acceptable IDs include drivers licenses, passports, or other goverment-issued IDs that include your name and photo" ) %>
  • <%- gettext( "Once in position, use the camera button ") %> () <%- gettext( "to capture your ID" ) %>
  • -
  • <%- gettext( "Use the checkmark button" ) %> () <%- gettext( "once you are happy with the photo" ) %>
  • diff --git a/lms/templates/verify_student/webcam_photo.underscore b/lms/templates/verify_student/webcam_photo.underscore index 4572635ffc..033c0a81ac 100644 --- a/lms/templates/verify_student/webcam_photo.underscore +++ b/lms/templates/verify_student/webcam_photo.underscore @@ -9,7 +9,7 @@