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

droeschl droeschl@source.lon-capa.org
Fri, 08 May 2009 13:38:41 -0000


droeschl		Fri May  8 13:38:41 2009 EDT

  Modified files:              
    /loncom/interface	loncommon.pm 
  Log:
  Changes related to modification of LON-CAPA screen header.
  Userinfo is now shown at top left corner of the screen. Table LC_title_bar will be removed later on. 
  
  
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.806 loncom/interface/loncommon.pm:1.807
--- loncom/interface/loncommon.pm:1.806	Thu May  7 16:25:02 2009
+++ loncom/interface/loncommon.pm	Fri May  8 13:38:41 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # a pile of common routines
 #
-# $Id: loncommon.pm,v 1.806 2009/05/07 16:25:02 bisitz Exp $
+# $Id: loncommon.pm,v 1.807 2009/05/08 13:38:41 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -4370,6 +4370,8 @@
 	if ($notopbar) {
 	    $bodytag .= $titletable;
 	} else {
+        $bodytag .= qq|<div id="head_userinfo">$name ($role) <br/>
+        <em>$realm</em></div>|;
 	    if ($env{'request.state'} eq 'construct') {
                 $bodytag .= &Apache::lonmenu::menubuttons($forcereg,$forcereg,
 							  $titletable);
@@ -4722,6 +4724,10 @@
   color: $fontmenu;
 }
 
+table#LC_title_bar {
+  /*display: none;*/
+}
+
 table#LC_title_bar,
 table.LC_breadcrumbs,
 table#LC_title_bar.LC_with_remote {
@@ -5874,6 +5880,20 @@
 /*	overflow: hidden; */
 }
 
+#head_userinfo {
+    float: left;
+    margin: 0;
+}
+
+#head_userinfo em{
+    font-weight: bold;
+    font-style: normal;
+}
+
+ol.LC_smallMenu {
+    float: right;
+}
+
 ol.LC_smallMenu, ol#LC_PathBreadcrumbs {
 	margin: 0;
 }
@@ -5894,6 +5914,10 @@
 	text-decoration: none;
 }
 
+ol#LC_TabMainMenuContent {
+    clear: both;
+}
+
 ol#LC_TabMainMenuContent, 
 ul.LC_TabContent ,
 ul.LC_TabContentBigger {