[LON-CAPA-cvs] cvs: loncom /homework edit.pm structuretags.pm

www lon-capa-cvs@mail.lon-capa.org
Mon, 11 Nov 2002 22:37:23 -0000


www		Mon Nov 11 17:37:23 2002 EDT

  Modified files:              
    /loncom/homework	edit.pm structuretags.pm 
  Log:
  A little less colorful.
  
  
Index: loncom/homework/edit.pm
diff -u loncom/homework/edit.pm:1.40 loncom/homework/edit.pm:1.41
--- loncom/homework/edit.pm:1.40	Fri Nov  8 09:38:47 2002
+++ loncom/homework/edit.pm	Mon Nov 11 17:37:23 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # edit mode helpers
 #
-# $Id: edit.pm,v 1.40 2002/11/08 14:38:47 albertel Exp $
+# $Id: edit.pm,v 1.41 2002/11/11 22:37:23 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -100,7 +100,7 @@
   $Apache::edit::colordepth++;
   push(@Apache::edit::inserttag,$token->[1]);
   my $result='<div align="right">';
-  $result.='<table bgcolor="'.$color.'" width="97%" border="2">';
+  $result.='<table bgcolor="'.$color.'" width="97%" border="0" cellspacing="5" cellpadding="3">';
   return $result;
 }
 
@@ -122,8 +122,8 @@
   return $result;
 }
 
-sub start_spanning_row { return '<tr><td colspan="3">';}
-sub start_row          { return '<tr><td>';            }
+sub start_spanning_row { return '<tr><td colspan="3" bgcolor="#DDDDDD">';}
+sub start_row          { return '<tr><td bgcolor="#DDDDDD">';            }
 sub end_row            { return '</td></tr>';          }
 
 sub movebuttons {
Index: loncom/homework/structuretags.pm
diff -u loncom/homework/structuretags.pm:1.134 loncom/homework/structuretags.pm:1.135
--- loncom/homework/structuretags.pm:1.134	Sun Nov 10 10:39:37 2002
+++ loncom/homework/structuretags.pm	Mon Nov 11 17:37:23 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: structuretags.pm,v 1.134 2002/11/10 15:39:37 albertel Exp $
+# $Id: structuretags.pm,v 1.135 2002/11/11 22:37:23 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -149,13 +149,13 @@
        <input type="submit" name="problemmode" value="Discard Edits and View" />
        <input type="submit" name="problemmode" value="EditXML" />
        <input type="submit" name="Undo" value="undo" /> <hr />
-       <input type="submit" name="submit" value="Submit Changes" />
-       <input type="submit" name="submit" value="Submit Changes and View" /><br /><p>&nbsp;</p>
+       <input type="submit" name="submit" value="Submit Changes and Edit" />
+       <input type="submit" name="submit" value="Submit Changes and View" /><br /><p>&nbsp;</p><table border="0"><tr><td bgcolor="#DDDDDD">
       ';
 }
 
 sub problem_edit_footer {
-  return '<br /><input type="submit" name="submit" value="Submit Changes and Edit" />
+  return '</td></tr></table><br /><input type="submit" name="submit" value="Submit Changes and Edit" />
     <input type="submit" name="submit" value="Submit Changes and View" />';
 }