MDL-42521 mod_feedback - Feedback does not show line graphs in Clean theme

This commit is contained in:
Andreas Grabs
2013-11-03 19:12:42 +01:00
parent c9ee1a77a5
commit 3085f3395b
3 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -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.'" />
&nbsp;'.$val->answercount.$str_quotient.'
</td>';
echo '</tr>';
+1 -1
View File
@@ -223,7 +223,7 @@ class feedback_item_multichoicerated extends feedback_item_base {
echo '<td align="left" valign="top">';
echo '-&nbsp;&nbsp;'.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 '&nbsp;('.$quotient.'&nbsp;%)';
+4
View File
@@ -104,3 +104,7 @@ ul#feedback_draglist {
div#feedback_dragarea {
width:95%;
}
div img.feedback_bar_image {
height: 10px;
}