Add table id and class see BT#12521

pull/2487/head
jmontoyaa 9 years ago
parent 029dfc42dc
commit c94bf00973
  1. 20
      main/inc/lib/tracking.lib.php

@ -192,7 +192,7 @@ class Tracking
$actionColumn = ' <th>' . get_lang('Actions') . '</th>';
}
$output .= '<div class="table-responsive">';
$output .= '<table class="table tracking">
$output .= '<table id="lp_tracking" class="table tracking">
<thead>
<tr class="table-header">
<th width="16">' . ($allowExtend == true ? $extend_all_link : '&nbsp;') . '</th>
@ -205,7 +205,7 @@ class Tracking
<th colspan="2">
' . get_lang('ScormScore') . '
</th>
<th colspan="2">
<th class="lp_time" colspan="2">
' . get_lang('ScormTime') . '
</th>
'.$actionColumn.'
@ -472,7 +472,7 @@ class Tracking
<td colspan="3">' . get_lang('Attempt') . ' ' . $attemptCount . '</td>
<td colspan="2">' . learnpathItem::humanize_status($lesson_status, true, $type) . '</td>
<td colspan="2">' . $view_score . '</td>
<td colspan="2">' . $time . '</td>
<td class="lp_time" colspan="2">' . $time . '</td>
'.$action.'
</tr>';
$attemptCount++;
@ -530,7 +530,7 @@ class Tracking
<td>'.$student_response . '</td>
<td>'.$interaction['result'] . '</td>
<td>'.$interaction['latency'] . '</td>
<td>'.$interaction['time'] . '</td>
<td class="lp_time">'.$interaction['time'] . '</td>
'.$action.'
</tr>';
$counter++;
@ -834,7 +834,7 @@ class Tracking
<td colspan="4">' . $title . '</td>
<td colspan="2">' . learnpathitem::humanize_status($lesson_status) .'</td>
<td colspan="2">'.$scoreItem.'</td>
<td colspan="2">'.$time.'</td>
<td class="lp_time" colspan="2">'.$time.'</td>
'.$action.'
';
$output .= '</tr>';
@ -884,7 +884,7 @@ class Tracking
<td>'.urldecode($interaction['student_response']).'</td>
<td>'.$interaction['result'].'</td>
<td>'.$interaction['latency'].'</td>
<td>'.$interaction['time'].'</td>
<td class="lp_time">'.$interaction['time'].'</td>
'.$action.'
</tr>';
$counter++;
@ -986,7 +986,7 @@ class Tracking
<td colspan="3">' . get_lang('Attempt').' '. $n.'</td>
<td colspan="2">' . $my_lesson_status . '</td>
<td colspan="2">'.$view_score . '</td>
<td colspan="2">'.$time_attemp . '</td>';
<td class="lp_time" colspan="2">'.$time_attemp . '</td>';
if ($action == 'classic') {
if ($origin != 'tracking') {
if (!$is_allowed_to_edit && $result_disabled_ext_all) {
@ -1096,10 +1096,8 @@ class Tracking
<i>' . get_lang('AccomplishedStepsTotal') .'</i>
</td>
<td colspan="2">'.$progress.'%</td>
<td colspan="2">
' . $final_score.'
</td>
<td colspan="2">' . $total_time . '</div>
<td colspan="2">' . $final_score.'</td>
<td class="lp_time" colspan="2">' . $total_time . '</div>
'.$action.'
</tr>';

Loading…
Cancel
Save