--- loncom/interface/statistics/lonsubmissiontimeanalysis.pm 2008/10/23 09:07:51 1.29 +++ loncom/interface/statistics/lonsubmissiontimeanalysis.pm 2012/05/10 10:29:09 1.35 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonsubmissiontimeanalysis.pm,v 1.29 2008/10/23 09:07:51 bisitz Exp $ +# $Id: lonsubmissiontimeanalysis.pm,v 1.35 2012/05/10 10:29:09 goltermann Exp $ # # Copyright Michigan State University Board of Trustees # @@ -31,6 +31,7 @@ use strict; use Apache::lonnet; use Apache::loncommon(); use Apache::lonhtmlcommon(); +use Apache::lonquickgrades(); use Apache::loncoursedata(); use Apache::lonstatistics; use Apache::lonstathelpers; @@ -66,12 +67,17 @@ sub BuildSubmissionTimePage { # &Apache::lonstatistics::PrepareClasslist(); # + $r->print(&Apache::lonhtmlcommon::breadcrumbs('Submission Time Plots')); + &Apache::lonquickgrades::startGradeScreen($r,'statistics'); $r->print(&CreateInterface()); # my @Students = @Apache::lonstatistics::Students; # if (@Students < 1) { - $r->print('
'. &Apache::lonstatistics::section_and_enrollment_description(). - ''); + '
'); $r->rflush(); $r->print(&Apache::lonstathelpers::render_resource($resource)); $r->print(''. - '
'.&mt('Begin').' | '. - ''.(' 'x3).' | '. ''.&mt('End').' | '. ''.&mt('Submissions (plotted)').' | '. - ''.(' 'x3).' | '. ''.&mt('Correct Submissions (not plotted)').' | '. - ''.(' 'x3).' | '. ''.&mt('Cumulative Correct of those attempting the problem (not plotted)').' | '. - ''.(' 'x3).' | '. ''.&mt('Cumulative Percent Correct of those attempting the problem (not plotted)').' | '. - ''.(' 'x3).' | '. ''.&mt('Cumulative Percent Correct of selected students (plotted)').' | '. - '||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
'.
&Apache::lonlocal::locallocaltime($BinEnd[$i]-$binsize).
- ' | '.
- ' | '.
- ' | '.
+ ''.
&Apache::lonlocal::locallocaltime($BinEnd[$i]).' | '.
- ' | '.
+ ''.
''.$Ydata[$i].(' 'x3).' | '. - ''. ' | '.$AnsData[$i].(' 'x3).' | '. - ''. ' | '.$CumulativeCorrect[$i].' | '. - ''. ' | '.$corr_as_percent_of_answering[$i].' | '. - ''. ' | '.$corr_as_percent_of_selected[$i].' | '. - '
'; - $Str .= '
'.&mt('Sections').' | '; - $Str .= ''.&mt('Groups').' | '; - $Str .= ''.&mt('Access Status').' | '; - $Str .= ''.&mt('Sections').' | '; + $Str .= ''.&mt('Groups').' | '; + $Str .= ''.&mt('Access Status').' | '; + $Str .= &Apache::loncommon::end_data_table_header_row(); ## ## - $Str .= '
---|---|---|
'."\n"; + $Str .= &Apache::loncommon::start_data_table_row(); + $Str .= ' | '."\n"; $Str .= &Apache::lonstatistics::SectionSelect('Section','multiple',4); $Str .= ' | '; # @@ -420,14 +423,9 @@ sub CreateInterface { $Str .= &Apache::lonhtmlcommon::StatusOptions(undef,undef,4); $Str .= ''; # - $Str .= '
' - .&mt('Status: [_1]', - '') - .'
'; $Str .= ''; ## return $Str;