mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 17:06:53 +02:00
MDL-42521 mod_feedback - Feedback does not show line graphs in Clean theme
This commit is contained in:
parent
5386f0bbfe
commit
73bbdce8c6
3 changed files with 6 additions and 2 deletions
|
@ -251,7 +251,7 @@ class feedback_item_multichoice extends feedback_item_base {
|
|||
- '.trim($val->answertext).':
|
||||
</td>
|
||||
<td align="left" style="width:'.FEEDBACK_MAX_PIX_LENGTH.';">
|
||||
<img alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />
|
||||
<img class="feedback_bar_image" alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />
|
||||
'.$val->answercount.$str_quotient.'
|
||||
</td>';
|
||||
echo '</tr>';
|
||||
|
|
|
@ -223,7 +223,7 @@ class feedback_item_multichoicerated extends feedback_item_base {
|
|||
echo '<td align="left" valign="top">';
|
||||
echo '- '.trim($val->answertext).' ('.$val->value.'):</td>';
|
||||
echo '<td align="left" style="width: '.FEEDBACK_MAX_PIX_LENGTH.'">';
|
||||
echo '<img alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />';
|
||||
echo '<img class="feedback_bar_image" alt="'.$intvalue.'" src="'.$pix.'" height="5" width="'.$pixwidth.'" />';
|
||||
echo $val->answercount;
|
||||
if ($val->quotient > 0) {
|
||||
echo ' ('.$quotient.' %)';
|
||||
|
|
|
@ -104,3 +104,7 @@ ul#feedback_draglist {
|
|||
div#feedback_dragarea {
|
||||
width:95%;
|
||||
}
|
||||
|
||||
div img.feedback_bar_image {
|
||||
height: 10px;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue