quiz editing: MDL-18355 further refinements to the UI. Thanks Olli.

This commit is contained in:
tjhunt
2009-02-26 05:53:31 +00:00
parent 87171bd8ee
commit 7cf3af550c
3 changed files with 8 additions and 5 deletions
+2 -1
View File
@@ -1860,8 +1860,9 @@ function print_choose_qtype_to_add_form($hiddenparams) {
function print_qtype_to_add_option($qtype, $localizedname) {
global $QTYPES;
echo '<div class="qtypeoption">' . "\n";
echo '<label for="qtype_' . $qtype . '">';
echo '<input type="radio" name="qtype" id="qtype_' . $qtype . '" value="' . $qtype . '" />';
echo '<label for="qtype_' . $qtype . '"><span class="qtypename">';
echo '<span class="qtypename">';
$fakequestion = new stdClass;
$fakequestion->qtype = $qtype;
print_question_icon($fakequestion);
-4
View File
@@ -725,10 +725,6 @@ body#grade-index .grades .header {
*** Question
***/
#chooseqtype .instruction,
#chooseqtype .qtypesummary {
font-size: 0.8em;
}
#chooseqtype .qtypename {
font-weight: bold;
}
+6
View File
@@ -2919,6 +2919,9 @@ body.notes .notesgroup {
#chooseqtype .qtypeoption {
margin-bottom: 0.5em;
}
#chooseqtype label {
display: block;
}
#chooseqtype .qtypename img {
padding: 0 0.3em;
}
@@ -2951,6 +2954,9 @@ body.jsenabled #qtypechoicecontainer {
#qtypechoicecontainer #chooseqtype .qtypeoption {
margin-bottom: 0;
}
#qtypechoicecontainer #chooseqtype .qtypeoption input {
display: none;
}
#qtypechoicecontainer #chooseqtype .instruction,
#qtypechoicecontainer #chooseqtype .qtypesummary {
display: none;