Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-29226' of git://github.com/lazydaisy/moodle

  • Loading branch information...
commit 3ca3098f3103fdb059b741892040a35fad479630 2 parents c08a562 + 2405019
@nebgor nebgor authored
Showing with 27 additions and 2 deletions.
  1. +1 −1  grade/edit/tree/lib.php
  2. +26 −1 mod/quiz/styles.css
View
2  grade/edit/tree/lib.php
@@ -803,7 +803,7 @@ public function get_item_cell($item, $params) {
} elseif ($item->is_external_item()) {
$grademax = format_float($item->grademax, $item->get_decimals());
} else {
- $grademax = '<input type="text" size="4" id="grademax'.$item->id.'" name="grademax_'.$item->id.'" value="'.format_float($item->grademax, $item->get_decimals()).'" />';
+ $grademax = '<input type="text" size="6" id="grademax'.$item->id.'" name="grademax_'.$item->id.'" value="'.format_float($item->grademax, $item->get_decimals()).'" />';
}
$itemcell = clone($this->itemcell);
View
27 mod/quiz/styles.css
@@ -384,4 +384,29 @@ bank window's title is prominent enough*/
.qnum label {padding-right: 0.25em;}
/** settings.php */
-#adminquizreviewoptions {margin-bottom: 0.5em;}
+#adminquizreviewoptions {margin-bottom: 0.5em;}
+
+/* RTL Mode */
+
+#page-mod-quiz-mod.dir-rtl #reviewoptionshdr .fitem, .dir-rtl #adminquizreviewoptions .group { width: 23%;float: right;}
+#page-mod-quiz-mod.dir-rtl #reviewoptionshdr .fitemtitle, .dir-rtl #adminquizreviewoptions .fitemtitle {text-align: right;}
+#page-mod-quiz-mod.dir-rtl #reviewoptionshdr fieldset.fgroup span, .dir-rtl #adminquizreviewoptions span {clear: right;float: right;}
+#page-mod-quiz-edit.dir-rtl div.quizpage span.pagetitle {float: right;}
+#page-mod-quiz-edit.dir-rtl div.quizpage .pagecontent {float: right;}
+#page-mod-quiz-edit.dir-rtl div.question {clear: right;}
+#page-mod-quiz-edit.dir-rtl div.question div.qnum {float: right;}
+#page-mod-quiz-edit.dir-rtl div.editq div.question div.content {float: right;height: 40px;}
+#page-mod-quiz-edit.dir-rtl div.question div.content div.points {left: 50px;right:auto;}
+#page-mod-quiz-edit.dir-rtl div.question div.content div.questioncontrols {float: left;left: 0.3em; right:auto;}
+#page-mod-quiz-edit.dir-rtl .editq div.question div.content .singlequestion a .questionname,
+#page-mod-quiz-edit.dir-rtl .editq div.question div.content .singlequestion a .questiontext {float: right; padding-right: 0.3em;}
+#page-mod-quiz-edit.dir-rtl div.question div.content .questiontext,
+#page-mod-quiz-edit.dir-rtl #categoryquestions .questiontext {padding-right: 0.3em;}
+#page-mod-quiz-edit.dir-rtl .editq div.questioncontentcontainer div.singlequestion img {float: right;}
+#page-mod-quiz-edit.dir-rtl .editq div.question div.content .questionpreview {float: right;}
+#page-mod-quiz-edit.dir-rtl div.question div.content div.qorder {left: 50px;right:auto;}
+#page-mod-quiz-edit.dir-rtl .reorder div.question div.content { float: right;}
+#page-mod-quiz-edit.dir-rtl .quizpagedelete {left: 0.2em;right:auto;}
+#page-mod-quiz-edit.dir-rtl div.quizcontents {clear: right;float: right;}
+#page-mod-quiz-edit.dir-rtl .questionbankwindow.block {float: left;}
+#page-question-edit.dir-rtl td.creatorname, #page-question-edit.dir-rtl td.modifiername {text-align: center;}
Please sign in to comment.
Something went wrong with that request. Please try again.