--- loncom/interface/statistics/lonstudentsubmissions.pm 2004/03/16 16:41:26 1.10 +++ loncom/interface/statistics/lonstudentsubmissions.pm 2004/06/25 20:43:33 1.12 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstudentsubmissions.pm,v 1.10 2004/03/16 16:41:26 matthew Exp $ +# $Id: lonstudentsubmissions.pm,v 1.12 2004/06/25 20:43:33 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -43,10 +43,6 @@ my @SubmitButtons = ({ name => 'PrevProb { name => 'NextProblem', text => 'Next Problem' }, { name => 'break'}, - { name => 'ClearCache', - text => 'Clear Caches' }, - { name => 'updatecaches', - text => 'Update Student Data' }, { name => 'SelectAnother', text => 'Choose a different Problem' }, { name => 'Generate', @@ -75,18 +71,8 @@ sub BuildStudentSubmissionsPage { $r->print('
'. + &mt('See the status bar above for student answer computation progress'). + '
'); + # + &Apache::lonstathelpers::GetStudentAnswers($r,$problem,$Students, + 'Statistics','stats_status'); + # + $r->print(''); + $r->rflush(); my @Columns = ( 'username','domain','attempt','time', 'submission','correct', 'grading','awarded','weight', 'score'); @@ -285,6 +283,12 @@ sub prepare_excel_output { $r->print(''. &mt('Your Excel spreadsheet.'). '
'."\n"); + $r->print(''); + $r->rflush(); + } ######################################################### @@ -300,14 +304,13 @@ sub CreateInterface { my $Str = ''; $Str .= &Apache::lonhtmlcommon::breadcrumbs (undef,'Student Submission Reports'); + $Str .= ''; $Str .= '
'.&mt('Sections').' | '; $Str .= ''.&mt('Enrollment Status').' | '; - $Str .= ''; $Str .= ' |
'."\n"; $Str .= &Apache::lonstatistics::SectionSelect('Section','multiple',5); $Str .= ' | '; @@ -316,26 +319,14 @@ sub CreateInterface { $Str .= &Apache::lonhtmlcommon::StatusOptions(undef,undef,5); $Str .= ''; # - $Str .= ''; - # - my $only_seq_with_assessments = sub { - my $s=shift; - if ($s->{'num_assess'} < 1) { - return 0; - } else { - return 1; - } - }; - ## - ## $Str .= ' |