[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm portfolio.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 22 Jun 2006 17:56:10 -0000


albertel		Thu Jun 22 13:56:10 2006 EDT

  Modified files:              
    /loncom/interface	portfolio.pm loncommon.pm 
  Log:
  - start on BUG#3925 (make colors in port match CSTR)
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.113 loncom/interface/portfolio.pm:1.114
--- loncom/interface/portfolio.pm:1.113	Thu Jun 22 12:51:00 2006
+++ loncom/interface/portfolio.pm	Thu Jun 22 13:56:06 2006
@@ -65,12 +65,12 @@
 					 'Create subdirectory in current directory:');
     my $escuri = &HTML::Entities::encode($r->uri,'&<>"');
     $r->print(<<"TABLE"); 
-<table border="0" cellspacing="2" cellpadding="2">
-  <tr valign="middle">
-    <td bgcolor="#ccddaa" align="right">
+<table id="LC_portfolio_actions">
+  <tr id="LC_portfolio_upload">
+    <td class="LC_label">
       $text{'upload_label'}
     </td>
-    <td bgcolor="#ccddaa" align="left">$groupitem
+    <td class="LC_value">$groupitem
       <form method="post" enctype="multipart/form-data" action="$escuri">
         <input name="uploaddoc" type="file" />
 	<input type="hidden" name="currentpath" value="$current_path" />
@@ -81,11 +81,11 @@
       </form>
     </td>
   </tr>
-  <tr>
-    <td bgcolor="#ccddaa" align="right">
+  <tr id="LC_portfolio_createdir">
+    <td class="LC_label">
       $text{'createdir_label'}
     </td>
-    <td bgcolor="#ccddaa" align="left">
+    <td class="LC_value">
       <form method="post" action="$escuri">
         <input name="newdir" type="input" />$groupitem
         <input type="hidden" name="currentpath" value="$current_path" />
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.385 loncom/interface/loncommon.pm:1.386
--- loncom/interface/loncommon.pm:1.385	Thu Jun 22 13:34:40 2006
+++ loncom/interface/loncommon.pm	Thu Jun 22 13:56:06 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.385 2006/06/22 17:34:40 albertel Exp $
+# $Id: loncommon.pm,v 1.386 2006/06/22 17:56:06 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3316,6 +3316,22 @@
   background-color: $mail_other_hover;
 }
 
+table#LC_portfolio_actions {
+  width: auto;
+  background: $pgbg;
+  border: 0px;
+  border-spacing: 2px 2px;
+  padding: 0px;
+  margin: 0px;
+  border-collapse: separate;
+}
+table#LC_portfolio_actions td.LC_label {
+  background: $tabbg;
+  text-align: right;
+}
+table#LC_portfolio_actions td.LC_value {
+  background: $tabbg;
+}
 
 END
 }