MDL-16447 move quiz-specific pictures out of theme/standard/pix/

This commit is contained in:
tjhunt 2008-09-11 07:34:51 +00:00
parent 79902e8a8a
commit 5f9c912241
20 changed files with 13 additions and 19 deletions

View File

@ -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() {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 214 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 84 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 204 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 143 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 74 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 B

3
mod/quiz/styles.php Normal file
View File

@ -0,0 +1,3 @@
#quiznavigation .qnbutton.flagged {
background-image: url(<?php echo $CFG->pixpath ?>/i/ne_red_mark.png);
}

View File

Before

Width:  |  Height:  |  Size: 117 B

After

Width:  |  Height:  |  Size: 117 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 114 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 130 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 118 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 117 B

View File

@ -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;
}
/***

View File

@ -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;