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

bisitz bisitz@source.lon-capa.org
Tue, 14 Jul 2009 17:56:13 -0000


bisitz		Tue Jul 14 17:56:13 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm lonhtmlcommon.pm 
  Log:
  CourseBreadcrumbs:
  - Corrected id/class usage:
    The Course breadcrumbs are unique, but they exist two times on the same screen - one hidden, one shown.
  - Use similar style as for MenuBreadcrumbs
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.861 loncom/interface/loncommon.pm:1.862
--- loncom/interface/loncommon.pm:1.861	Tue Jul 14 17:33:43 2009
+++ loncom/interface/loncommon.pm	Tue Jul 14 17:56:13 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.861 2009/07/14 17:33:43 bisitz Exp $
+# $Id: loncommon.pm,v 1.862 2009/07/14 17:56:13 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4868,6 +4868,7 @@
  margin: 0;
  padding: 0;
 }
+
 /* Preliminary fix to hide breadcrumbs inside remote control window */
 #LC_remote #LC_breadcrumbs {
     display:none;
@@ -6004,9 +6005,17 @@
 	color: #737373;
 }
 
+ul.LC_CourseBreadcrumbs {
+  background: $sidebg;
+  line-height: 32px;
+  padding-left: 10px;
+  margin: 0 0 10px 0;
+  list-style-position: inside;
+
+}
+
 ol#LC_MenuBreadcrumbs, 
-ol#LC_PathBreadcrumbs, 
-ul#LC_CourseBreadcrumbs {
+ol#LC_PathBreadcrumbs {
 	padding-left: 10px;
 	margin: 0;
 	list-style-position: inside;
@@ -6014,13 +6023,13 @@
 
 ol#LC_MenuBreadcrumbs li, 
 ol#LC_PathBreadcrumbs li, 
-ul#LC_CourseBreadcrumbs li {
+ul.LC_CourseBreadcrumbs li {
     display: inline;
     white-space: nowrap;
 }
 
 ol#LC_MenuBreadcrumbs li a,
-ul#LC_CourseBreadcrumbs li a {
+ul.LC_CourseBreadcrumbs li a {
 	text-decoration: none;
 	font-size:90%;
 }
Index: loncom/interface/lonhtmlcommon.pm
diff -u loncom/interface/lonhtmlcommon.pm:1.226 loncom/interface/lonhtmlcommon.pm:1.227
--- loncom/interface/lonhtmlcommon.pm:1.226	Thu Jul  2 17:22:33 2009
+++ loncom/interface/lonhtmlcommon.pm	Tue Jul 14 17:56:13 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common html routines
 #
-# $Id: lonhtmlcommon.pm,v 1.226 2009/07/02 17:22:33 bisitz Exp $
+# $Id: lonhtmlcommon.pm,v 1.227 2009/07/14 17:56:13 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1435,7 +1435,7 @@
         unless ($CourseBreadcrumbs) {
             $links = htmltag('ol',  $links, { id => "LC_MenuBreadcrumbs"   });
         } else {
-            $links = htmltag('ul',  $links, { id => "LC_CourseBreadcrumbs" });
+            $links = htmltag('ul',  $links, { class => "LC_CourseBreadcrumbs" });
         }
 
         if ($component) {