UNPKG

expand-elearning

Version:

Expand: An e-learning framework for building SCORM courses

25 lines (17 loc) 973 B
<div class="container"> <div class="page-header"> <h1>Sending completion status to the LMS</h1> </div> <p class="lead">Click the following links to perform tasks:</p> <button type="button" class="btn btn-primary" href="#" onClick="expand_complete('completed'); return false;">Set course status to 'complete'</button> <button type="button" class="btn btn-primary" href="#" onClick="expand_complete('incompleted'); return false;">Set course status to 'incomplete'</button> <button type="button" class="btn btn-primary" href="#" onClick="expand_complete('passed'); return false;">Set course status to 'passed'</button> <button type="button" class="btn btn-primary" href="#" onClick="expand_complete('failed'); return false;">Set course status to 'failed'</button> <p>The completion statuses above are set using the <strong>expand_complete</strong> function.</p> </div> <style type="text/css"> .btn-primary{ display: block; margin-bottom: 10px; } </style>