--- loncom/interface/statistics/lonstudentassessment.pm 2003/06/11 16:19:39 1.58
+++ loncom/interface/statistics/lonstudentassessment.pm 2003/06/24 19:23:45 1.63
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.58 2003/06/11 16:19:39 matthew Exp $
+# $Id: lonstudentassessment.pm,v 1.63 2003/06/24 19:23:45 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -140,6 +140,10 @@ sub BuildStudentAssessmentPage {
my ($r,$c)=@_;
undef($Statistics);
$single_student_mode = 1 if ($ENV{'form.SelectedStudent'});
+ if ($ENV{'form.selectstudent'}) {
+ &Apache::lonstatistics::DisplayClasslist($r);
+ return;
+ }
#
# Print out the HTML headers for the interface
# This also parses the output mode selector
@@ -326,7 +330,13 @@ sub CreateInterface {
$Str .= ''."\n";
$Str .= ''."\n";
$Str .= '';
- $Str .= ' 'x8;
+ $Str .= ' 'x5;
+ $Str .= '';
+ $Str .= ' 'x5;
+ $Str .= '';
+ $Str .= ' 'x5;
+ $Str .= '
';
return $Str;
}
@@ -1047,6 +1057,8 @@ END
($r,'Excel File Compilation Status',
'Excel File Compilation Progress', $studentcount);
#
+ &Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,
+ 'Processing first student');
return;
}
@@ -1488,7 +1500,7 @@ sub StudentPerformanceOnSequence {
#
$partscore = $weight*$awarded;
$score += $partscore;
- $symbol = $weight;
+ $symbol = $partscore;
if (length($symbol) > 1) {
$symbol = '*';
}
@@ -1507,6 +1519,11 @@ sub StudentPerformanceOnSequence {
}
}
#
+ if (! defined($partscore)) {
+ $partscore = $symbol;
+ }
+ push (@ScoreData,$partscore);
+ #
if ( ($links eq 'yes' && $symbol ne ' ') || ($links eq 'all')) {
$symbol = ''.$symbol.'';
}
- if (! defined($partscore)) {
- $partscore = $symbol;
- }
- push (@ScoreData,$partscore);
+ $Str .= $symbol;
}
- $Str .= $symbol;
}
return ($Str,$performance_length,$score,$max,\@ScoreData);
}