]> git.mjollnir.org Git - moodle.git/commitdiff
Not a pretty fix but it gets the preferences out of the way where users won't keep...
authormoodler <moodler>
Wed, 26 Sep 2007 11:42:36 +0000 (11:42 +0000)
committermoodler <moodler>
Wed, 26 Sep 2007 11:42:36 +0000 (11:42 +0000)
mod/assignment/lib.php
mod/assignment/styles.php

index 740b1438c04f44ecc7517dd24c2b98419ef16e4e..5f583fc97afcb859e610d00f3e05948a007f28a4 100644 (file)
@@ -1329,13 +1329,13 @@ class assignment_base {
         /// Mini form for setting user preference
         echo '<br />';
         echo '<form id="options" action="submissions.php?id='.$this->cm->id.'" method="post">';
-        echo '<fieldset class="invisiblefieldset">';
+        echo '<div>';
         echo '<input type="hidden" id="updatepref" name="updatepref" value="1" />';
-        echo '<table id="optiontable">';
+        echo '<table id="optiontable" align="right">';
         echo '<tr align="right"><td>';
         echo '<label for="perpage">'.get_string('pagesize','assignment').'</label>';
         echo ':</td>';
-        echo '<td align="left">';
+        echo '<td>';
         echo '<input type="text" id="perpage" name="perpage" size="1" value="'.$perpage.'" />';
         helpbutton('pagesize', get_string('pagesize','assignment'), 'assignment');
         echo '</td></tr>';
@@ -1343,7 +1343,7 @@ class assignment_base {
         echo '<td>';
         print_string('quickgrade','assignment');
         echo ':</td>';
-        echo '<td align="left">';
+        echo '<td>';
         if ($quickgrade){
             echo '<input type="checkbox" name="quickgrade" value="1" checked="checked" />';
         } else {
@@ -1355,7 +1355,7 @@ class assignment_base {
         echo '<td colspan="2" align="right">';
         echo '<input type="submit" value="'.get_string('savepreferences').'" />';
         echo '</td></tr></table>';
-        echo '</fieldset>';
+        echo '</div>';
         echo '</form>';
         ///End of mini form
         print_footer($this->course);
index ccdcf3f0fa46348122b52408f2d013fa08cd45aa..7b9153637d3156265eda98da0a287189d0d55d74 100644 (file)
@@ -8,6 +8,12 @@
   border-color:#DDDDDD;
 }
 
+#mod-assignment-submissions form#options div {
+  text-align:right;
+  margin-left:auto;
+  margin-right:20px;
+}
+
 .mod-assignment .feedback .files {
   float: right;
   background-color: #EFEFEF;
@@ -21,8 +27,8 @@
 }
 
 .mod-assignment .feedback .disabledfeedback {
-    width: 500px;
-    height: 250px;
+  width: 500px;
+  height: 250px;
 }
 
 .mod-assignment .feedback .from {