--- loncom/interface/lonstatistics.pm 2004/06/24 19:36:16 1.107 +++ loncom/interface/lonstatistics.pm 2004/09/22 15:39:14 1.110 @@ -1,6 +1,6 @@ # The LearningOnline Network with CAPA # -# $Id: lonstatistics.pm,v 1.107 2004/06/24 19:36:16 matthew Exp $ +# $Id: lonstatistics.pm,v 1.110 2004/09/22 15:39:14 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -229,10 +229,10 @@ sub PrepareClasslist { } # # Set up %StudentData - @StudentDataOrder = qw/fullname username domain id section status/; + @StudentDataOrder = qw/fullname username domain id section status comments/; foreach my $field (@StudentDataOrder) { - $StudentData{$field}->{'title'} = $field; - $StudentData{$field}->{'base_width'} = length($field); + $StudentData{$field}->{'title'} = &mt($field); + $StudentData{$field}->{'base_width'} = length(&mt($field)); $StudentData{$field}->{'width'} = $StudentData{$field}->{'base_width'}; } @@ -1155,9 +1155,18 @@ sub handler { 'SelectedStudent']); # # Give the LON-CAPA page header + my $style = < + ul.sub_studentans { list-style-type: none } + ul.sub_correctans { list-style-type: none } + tr.even { background-color: \#CCCCCC } + td.essay { border: 1px solid gray; } + +ENDSTYLE $r->print(''. &mt('Course Statistics and Charts'). - "\n". + ''.$style. + "\n". &Apache::loncommon::bodytag('Course Statistics and Charts')); $r->rflush(); #