Not a pretty fix but it gets the preferences out of the way where users won't keep hitting the wrong submit
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user