From ee8652f3de4767b7a381ebde9b2b879acb0eba74 Mon Sep 17 00:00:00 2001 From: moodler Date: Wed, 26 Sep 2007 11:42:36 +0000 Subject: [PATCH] Not a pretty fix but it gets the preferences out of the way where users won't keep hitting the wrong submit --- mod/assignment/lib.php | 10 +++++----- mod/assignment/styles.php | 10 ++++++++-- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/mod/assignment/lib.php b/mod/assignment/lib.php index 740b1438c0..5f583fc97a 100644 --- a/mod/assignment/lib.php +++ b/mod/assignment/lib.php @@ -1329,13 +1329,13 @@ class assignment_base { /// Mini form for setting user preference echo '
'; echo '
'; - echo '
'; + echo '
'; echo ''; - echo ''; + echo '
'; echo ''; - echo ''; @@ -1343,7 +1343,7 @@ class assignment_base { echo ''; - echo '
'; echo ''; echo ':'; + echo ''; echo ''; helpbutton('pagesize', get_string('pagesize','assignment'), 'assignment'); echo '
'; print_string('quickgrade','assignment'); echo ':'; + echo ''; if ($quickgrade){ echo ''; } else { @@ -1355,7 +1355,7 @@ class assignment_base { echo ''; echo ''; echo '
'; - echo '
'; + echo ''; echo '
'; ///End of mini form print_footer($this->course); diff --git a/mod/assignment/styles.php b/mod/assignment/styles.php index ccdcf3f0fa..7b9153637d 100644 --- a/mod/assignment/styles.php +++ b/mod/assignment/styles.php @@ -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 { -- 2.39.5