--- loncom/interface/spreadsheet/studentcalc.pm 2003/06/12 21:17:11 1.11 +++ loncom/interface/spreadsheet/studentcalc.pm 2003/06/23 19:58:18 1.12 @@ -1,5 +1,5 @@ # -# $Id: studentcalc.pm,v 1.11 2003/06/12 21:17:11 matthew Exp $ +# $Id: studentcalc.pm,v 1.12 2003/06/23 19:58:18 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -147,6 +147,8 @@ sub parent_link { sub outsheet_html { my $self = shift; my ($r) = @_; + my $importcolor = '#FFFF66'; + my $exportcolor = '#88FF88'; #################################### # Get the list of assessment files # #################################### @@ -163,7 +165,7 @@ sub outsheet_html { - @@ -172,7 +174,7 @@ END my $label_num = 0; foreach (split(//,'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz')){ if ($label_num<$num_uneditable) { - $tableheader .=''. - $self->html_template_row($num_uneditable)."\n"); + $self->html_template_row($num_uneditable, + $importcolor)."\n"); } # # Print out summary/export row $r->print(''. - $self->html_export_row()."\n"); + $self->html_export_row($exportcolor)."\n"); } $r->print("
Student + Import Calculations'; + $tableheader .=''; } else { $tableheader .=''; } @@ -191,12 +193,13 @@ END # Print out template row if (exists($ENV{'request.role.adv'}) && $ENV{'request.role.adv'}) { $r->print('
Template 
Summary0
\n"); # @@ -259,7 +262,8 @@ END $row_output .= 'Unavailable at this time'."\n"; } else { - $row_output .= $self->html_row($num_uneditable,$rownum). + $row_output .= $self->html_row($num_uneditable,$rownum, + $exportcolor,$importcolor). "\n"; } $r->print($row_output); 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.