[LON-CAPA-cvs] cvs: loncom /interface/spreadsheet classcalc.pm /interface/statistics loncorrectproblemplot.pm longradinganalysis.pm lonproblemanalysis.pm lonproblemstatistics.pm lonstudentsubmissions.pm lonsubmissiontimeanalysis.pm lonsurveyreports.pm

bisitz lon-capa-cvs-allow@mail.lon-capa.org
Thu, 23 Oct 2008 09:07:57 -0000


This is a MIME encoded message

--bisitz1224752877
Content-Type: text/plain

bisitz		Thu Oct 23 09:07:57 2008 EDT

  Modified files:              
    /loncom/interface/statistics	lonproblemanalysis.pm 
                                	lonproblemstatistics.pm 
                                	lonstudentsubmissions.pm 
                                	loncorrectproblemplot.pm 
                                	longradinganalysis.pm 
                                	lonsubmissiontimeanalysis.pm 
                                	lonsurveyreports.pm 
    /loncom/interface/spreadsheet	classcalc.pm 
  Log:
  Optimized status display:
  - Set text box for display purposes only to readonly
  - Use standard nobreak style
  - Same paragraph structure for similar pages
  
  
--bisitz1224752877
Content-Type: text/plain
Content-Disposition: attachment; filename="bisitz-20081023090757.txt"

Index: loncom/interface/statistics/lonproblemanalysis.pm
diff -u loncom/interface/statistics/lonproblemanalysis.pm:1.130 loncom/interface/statistics/lonproblemanalysis.pm:1.131
--- loncom/interface/statistics/lonproblemanalysis.pm:1.130	Thu Jan  4 02:44:07 2007
+++ loncom/interface/statistics/lonproblemanalysis.pm	Thu Oct 23 09:07:51 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemanalysis.pm,v 1.130 2007/01/04 02:44:07 albertel Exp $
+# $Id: lonproblemanalysis.pm,v 1.131 2008/10/23 09:07:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1918,11 +1918,11 @@
     $Str .= '<nobr><label>'.&mt('Number of Plots [_1]',$numplots_selector).
         '</label></nobr>';
     ##
-    $Str .= '<nobr><label>'.&mt('Status: [_1]',
-                                 '<input type="text" '.
-                                 'name="stats_status" size="60" value="" />'
-                                 ).
-                    '</label></nobr>';
+    $Str .= '<span class="LC_nobreak"><label>'
+           .&mt('Status: [_1]',
+                    '<input type="text" name="stats_status"'
+                   .' size="60" value="" readonly="readonly" />')
+           .'</label></span>';
     $Str .= '</td>';
     ##
     ##
Index: loncom/interface/statistics/lonproblemstatistics.pm
diff -u loncom/interface/statistics/lonproblemstatistics.pm:1.113 loncom/interface/statistics/lonproblemstatistics.pm:1.114
--- loncom/interface/statistics/lonproblemstatistics.pm:1.113	Thu Sep 11 14:47:22 2008
+++ loncom/interface/statistics/lonproblemstatistics.pm	Thu Oct 23 09:07:51 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemstatistics.pm,v 1.113 2008/09/11 14:47:22 bisitz Exp $
+# $Id: lonproblemstatistics.pm,v 1.114 2008/10/23 09:07:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -636,11 +636,11 @@
     $Str .= '</td></tr>'."\n";
     $Str .= '</table>'."\n";
     #
-    $Str .= '<p>'.&mt('Status: [_1]',
-                         '<input type="text" '.
-                         'name="stats_status" size="60" value="" />'
-                         ).
-                         '</nobr></p>';
+    $Str .= '<p><span class="LC_nobreak">'
+           .&mt('Status: [_1]',
+                    '<input type="text" name="stats_status"'
+                   .' size="60" value="" readonly="readonly" />')
+           .'</span></p>';
     #
     $Str .= '<input type="submit" name="GenerateStatistics" value="'.
         &mt('Generate Statistics').'" />';
Index: loncom/interface/statistics/lonstudentsubmissions.pm
diff -u loncom/interface/statistics/lonstudentsubmissions.pm:1.48 loncom/interface/statistics/lonstudentsubmissions.pm:1.49
--- loncom/interface/statistics/lonstudentsubmissions.pm:1.48	Fri Sep 12 14:35:45 2008
+++ loncom/interface/statistics/lonstudentsubmissions.pm	Thu Oct 23 09:07:51 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonstudentsubmissions.pm,v 1.48 2008/09/12 14:35:45 bisitz Exp $
+# $Id: lonstudentsubmissions.pm,v 1.49 2008/10/23 09:07:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1152,10 +1152,11 @@
     $Str .= '</tr>'."\n";
     $Str .= '</table>'."\n";
     #
-    $Str .= '<p><nobr>'.&mt('Status: [_1]',
-                         '<input type="text" '.
-                         'name="stats_status" size="60" value="" />').
-            '</nobr>'.'</p>';    
+    $Str .= '<p><span class="LC_nobreak">'
+           .&mt('Status: [_1]',
+                    '<input type="text" name="stats_status"'
+                   .' size="60" value="" readonly="readonly" />')
+           .'</span></p>';
     ##
     return $Str;
 }
Index: loncom/interface/statistics/loncorrectproblemplot.pm
diff -u loncom/interface/statistics/loncorrectproblemplot.pm:1.22 loncom/interface/statistics/loncorrectproblemplot.pm:1.23
--- loncom/interface/statistics/loncorrectproblemplot.pm:1.22	Sun Dec 31 22:43:48 2006
+++ loncom/interface/statistics/loncorrectproblemplot.pm	Thu Oct 23 09:07:51 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: loncorrectproblemplot.pm,v 1.22 2006/12/31 22:43:48 albertel Exp $
+# $Id: loncorrectproblemplot.pm,v 1.23 2008/10/23 09:07:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -320,10 +320,12 @@
     $Str .= '</tr>'."\n";
     $Str .= '</table>'."\n";
     #
-    $Str .= '<nobr>'.&mt('Status: [_1]',
-                         '<input type="text" '.
-                         'name="stats_status" size="60" value="" />').
-            '</nobr>'.'</p>';
+    $Str .= '<p><span class="LC_nobreak">'
+           .&mt('Status: [_1]',
+                    '<input type="text" name="stats_status"'
+                   .' size="60" value="" readonly="readonly" />')
+           .'</span></p>';
+    $Str .= '</p>';
     ##
     return $Str;
 }
Index: loncom/interface/statistics/longradinganalysis.pm
diff -u loncom/interface/statistics/longradinganalysis.pm:1.8 loncom/interface/statistics/longradinganalysis.pm:1.9
--- loncom/interface/statistics/longradinganalysis.pm:1.8	Fri Sep 12 14:35:45 2008
+++ loncom/interface/statistics/longradinganalysis.pm	Thu Oct 23 09:07:51 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: longradinganalysis.pm,v 1.8 2008/09/12 14:35:45 bisitz Exp $
+# $Id: longradinganalysis.pm,v 1.9 2008/10/23 09:07:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -328,11 +328,11 @@
     #
     $str .= '<td>';
     ##
-    $str .= '<nobr><label>'.&mt('Status: [_1]',
-                                 '<input type="text" '.
-                                 'name="stats_status" size="60" value="" />'
-                                 ).
-                    '</label></nobr>';
+    $str .= '<span class="LC_nobreak"><label>'
+           .&mt('Status: [_1]',
+                    '<input type="text" name="stats_status"'
+                   .' size="60" value="" readonly="readonly" />')
+           .'</label></span>';
     $str .= '</td>';
     ##
     ##
Index: loncom/interface/statistics/lonsubmissiontimeanalysis.pm
diff -u loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.28 loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.29
--- loncom/interface/statistics/lonsubmissiontimeanalysis.pm:1.28	Thu Dec 21 19:52:28 2006
+++ loncom/interface/statistics/lonsubmissiontimeanalysis.pm	Thu Oct 23 09:07:51 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonsubmissiontimeanalysis.pm,v 1.28 2006/12/21 19:52:28 albertel Exp $
+# $Id: lonsubmissiontimeanalysis.pm,v 1.29 2008/10/23 09:07:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -423,10 +423,12 @@
     $Str .= '</tr>'."\n";
     $Str .= '</table>'."\n";
     #
-    $Str .= '<nobr>'.&mt('Status: [_1]',
-                         '<input type="text" '.
-                         'name="stats_status" size="60" value="" />').
-            '</nobr>'.'</p>';
+    $Str .= '<p><span class="LC_nobreak">'
+           .&mt('Status: [_1]',
+                    '<input type="text" name="stats_status"'
+                   .' size="60" value="" readonly="readonly" />')
+           .'</span></p>';
+    $Str .= '</p>';
     ##
     return $Str;
 }
Index: loncom/interface/statistics/lonsurveyreports.pm
diff -u loncom/interface/statistics/lonsurveyreports.pm:1.17 loncom/interface/statistics/lonsurveyreports.pm:1.18
--- loncom/interface/statistics/lonsurveyreports.pm:1.17	Tue Oct 14 14:10:49 2008
+++ loncom/interface/statistics/lonsurveyreports.pm	Thu Oct 23 09:07:51 2008
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonsurveyreports.pm,v 1.17 2008/10/14 14:10:49 bisitz Exp $
+# $Id: lonsurveyreports.pm,v 1.18 2008/10/23 09:07:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -658,10 +658,12 @@
     $Str .= '</tr>'."\n";
     $Str .= '</table>'."\n";
     #
-    $Str .= '<nobr>'.&mt('Status: [_1]',
-                         '<input type="text" '.
-                         'name="stats_status" size="60" value="" readonly="readonly" />').
-            '</nobr>'.'</p>';    
+    $Str .= '<p><span class="LC_nobreak">'
+           .&mt('Status: [_1]',
+                    '<input type="text" name="stats_status"'
+                   .' size="60" value="" readonly="readonly" />')
+           .'</span></p>';
+    $Str .= '</p>';
     ##
     return $Str;
 }
Index: loncom/interface/spreadsheet/classcalc.pm
diff -u loncom/interface/spreadsheet/classcalc.pm:1.28 loncom/interface/spreadsheet/classcalc.pm:1.29
--- loncom/interface/spreadsheet/classcalc.pm:1.28	Fri Aug 18 15:15:39 2006
+++ loncom/interface/spreadsheet/classcalc.pm	Thu Oct 23 09:07:57 2008
@@ -1,5 +1,5 @@
 #
-# $Id: classcalc.pm,v 1.28 2006/08/18 15:15:39 raeburn Exp $
+# $Id: classcalc.pm,v 1.29 2008/10/23 09:07:57 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -91,10 +91,11 @@
         $toprow .= '<th align="center"><b>'.&mt($name).'</b></th>';
         $bottomrow .= '<td>'.$selector.'</td>';
     }
-    my $status .= '<nobr>'.&mt('Status: [_1]',
-                            '<input type="text" '.
-                            'name="spreadsheet_status" size="60" value="" />'
-                            ).'</nobr>';
+    my $status .= '<p><span class="LC_nobreak">'
+                 .&mt('Status: [_1]',
+                          '<input type="text" name="spreadsheet_status"'
+                         .' size="60" value="" readonly="readonly" />')
+                 .'</span></p>';
 
     return "<p>\n<table>\n".
         "<tr>".$toprow."</tr>\n".

--bisitz1224752877--