[LON-CAPA-cvs] cvs: loncom /interface/statistics lonstudentassessment.pm
www
www at source.lon-capa.org
Wed Dec 21 19:28:12 EST 2011
www Thu Dec 22 00:28:12 2011 EDT
Modified files:
/loncom/interface/statistics lonstudentassessment.pm
Log:
Better layout of progress bar
Index: loncom/interface/statistics/lonstudentassessment.pm
diff -u loncom/interface/statistics/lonstudentassessment.pm:1.165 loncom/interface/statistics/lonstudentassessment.pm:1.166
--- loncom/interface/statistics/lonstudentassessment.pm:1.165 Wed Dec 21 21:25:51 2011
+++ loncom/interface/statistics/lonstudentassessment.pm Thu Dec 22 00:28:11 2011
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonstudentassessment.pm,v 1.165 2011/12/21 21:25:51 www Exp $
+# $Id: lonstudentassessment.pm,v 1.166 2011/12/22 00:28:11 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -364,10 +364,6 @@
$Str .= &CreateAndParseOutputDataSelector();
$Str .= '</td></tr>'."\n";
$Str .= '</table>'."\n";
- $Str .= '<p>'
- .&mt('Status:').' '
- .'<input type="text" name="stats_status" size="60" value="" readonly="readonly" />'
- .'</p>';
$Str .= '<input type="submit" name="selectstudent" value="'.
&mt('Select One Student').'" />';
$Str .= ' 'x5;
@@ -751,8 +747,6 @@
$total_sum_width = length($total_count)+1;
$Str .= " total</pre>\n";
$Str .= "<pre>";
- $r->print($Str);
- $r->rflush();
$r->print(<<JS);
<script type="text/javascript">
@@ -813,10 +807,13 @@
}
#
# Initialize progress window
- %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,$studentcount);
#
+ %prog_state=&Apache::lonhtmlcommon::Create_PrgWin($r,$studentcount);
&Apache::lonhtmlcommon::Update_PrgWin($r,\%prog_state,
'Processing first student');
+ $r->print($Str);
+ $r->rflush();
+
return;
}
More information about the LON-CAPA-cvs
mailing list