MDL-16447 move quiz-specific pictures out of theme/standard/pix/
@ -891,9 +891,10 @@ class quiz_review_nav_panel extends quiz_nav_panel_base {
|
||||
}
|
||||
|
||||
protected function get_question_button($number, $question) {
|
||||
$strstate = get_string($this->attemptobj->get_question_status($question->id), 'quiz');
|
||||
return '<a href="' . $this->attemptobj->review_url($question->id) .
|
||||
'" class="qnbutton ' . $this->get_question_state_classes($question) . '" id="' .
|
||||
$this->get_button_id($question) . '">' . $number . '</a>';
|
||||
$this->get_button_id($question) . '" title="' . $strstate . '">' . $number . '<span class="accesshide">(' . $strstate . '</span></a>';
|
||||
}
|
||||
|
||||
protected function get_end_bits() {
|
||||
|
Before Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 201 B |
Before Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 183 B |
Before Width: | Height: | Size: 84 B |
Before Width: | Height: | Size: 204 B |
Before Width: | Height: | Size: 143 B |
Before Width: | Height: | Size: 74 B |
Before Width: | Height: | Size: 190 B |
3
mod/quiz/styles.php
Normal file
@ -0,0 +1,3 @@
|
||||
#quiznavigation .qnbutton.flagged {
|
||||
background-image: url(<?php echo $CFG->pixpath ?>/i/ne_red_mark.png);
|
||||
}
|
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 114 B |
Before Width: | Height: | Size: 133 B |
Before Width: | Height: | Size: 130 B |
Before Width: | Height: | Size: 134 B |
Before Width: | Height: | Size: 118 B |
Before Width: | Height: | Size: 117 B |
@ -387,7 +387,9 @@ table.flexible .r1 {
|
||||
color:#999999;
|
||||
}
|
||||
|
||||
|
||||
#admin-qtypes .disabled {
|
||||
color: gray;
|
||||
}
|
||||
#admin-lang .translator {
|
||||
border-color: #dddddd;
|
||||
}
|
||||
@ -1057,7 +1059,7 @@ table.quizreviewsummary td.cell {
|
||||
|
||||
#quiznavigation .qnbutton {
|
||||
color: #00f;
|
||||
border-color: gray;
|
||||
border-color: #bbb;
|
||||
background-color: #ddd;
|
||||
}
|
||||
#quiznavigation .qnbutton:hover {
|
||||
@ -1069,26 +1071,14 @@ table.quizreviewsummary td.cell {
|
||||
#quiznavigation .qnbutton.open {
|
||||
background-color: white;
|
||||
}
|
||||
#quiznavigation .qnbutton.flagged {
|
||||
background-image: url(pix/flaggedquestionnav.png);
|
||||
}
|
||||
#quiznavigation .qnbutton.correct.flagged {
|
||||
background-image: url(pix/flaggedcorrectquestionnav.png);
|
||||
}
|
||||
#quiznavigation .qnbutton.partiallycorrect.flagged {
|
||||
background-image: url(pix/flaggedpartialquestionnav.png);
|
||||
}
|
||||
#quiznavigation .qnbutton.incorrect.flagged {
|
||||
background-image: url(pix/flaggedincorrectquestionnav.png);
|
||||
}
|
||||
#quiznavigation .qnbutton.correct {
|
||||
background-image: url(pix/correctquestionnav.png);
|
||||
background-color: #cfc;
|
||||
}
|
||||
#quiznavigation .qnbutton.partiallycorrect {
|
||||
background-image: url(pix/partialquestionnav.png);
|
||||
background-color: #ffa;
|
||||
}
|
||||
#quiznavigation .qnbutton.incorrect {
|
||||
background-image: url(pix/incorrectquestionnav.png);
|
||||
background-color: #fcc;
|
||||
}
|
||||
|
||||
/***
|
||||
|
@ -4199,7 +4199,7 @@ table.quizreviewsummary td.cell {
|
||||
overflow: hidden;
|
||||
margin: 0.3em 0.3em 0.3em 0;
|
||||
padding: 0;
|
||||
border: 1px solid gray;
|
||||
border: 1px solid #bbb;
|
||||
background: #eee no-repeat top right;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
|