quiz editing: MDL-18355 further refinements to the UI. Thanks Olli.
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -725,10 +725,6 @@ body#grade-index .grades .header {
|
||||
*** Question
|
||||
***/
|
||||
|
||||
#chooseqtype .instruction,
|
||||
#chooseqtype .qtypesummary {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
#chooseqtype .qtypename {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user