[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm londocs.pm
ehlerst
ehlerst@source.lon-capa.org
Tue, 10 Feb 2009 14:23:18 -0000
ehlerst Tue Feb 10 14:23:18 2009 EDT
Modified files:
/loncom/interface londocs.pm loncommon.pm
Log:
-minor layout changes in londocs.pm
-changed style LC_TabContent in loncommon.pm
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.338 loncom/interface/londocs.pm:1.339
--- loncom/interface/londocs.pm:1.338 Tue Feb 10 12:20:18 2009
+++ loncom/interface/londocs.pm Tue Feb 10 14:23:18 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: londocs.pm,v 1.338 2009/02/10 12:20:18 ehlerst Exp $
+# $Id: londocs.pm,v 1.339 2009/02/10 14:23:18 ehlerst Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2888,7 +2888,7 @@
}
# --------------------------------------------------------- Main tab structure
my $activeClass = 1;
- $r->print('<div class="LC_ContentBoxSpecial"><ul class="LC_TabContentBigger" id="mainnav">');
+ $r->print('<ul class="LC_TabContentBigger" id="mainnav">');
if (($standard) && ($allowed) && (!$forcesupplement)) {
my $active = '';
if($activeClass == 1){
@@ -2905,7 +2905,7 @@
$r->print('<li '.$active.'onclick="javascript:showPage(this,\'Supplemental Course Documents\',\'mainnav\',\'maincoursedoc\');">'.&mt('Supplemental Course Documents').'</li>');
}
$r->print('<li onclick="javascript:showPage(this,\'Special Admin Options\',\'mainnav\',\'maincoursedoc\');">'.&mt('Special Admin Options').'</li>');
- $r->print('</ul><div id="maincoursedoc" style="margin:0 0;padding:0 0;">');
+ $r->print('</ul><div class="LC_ContentBoxSpecial" style="margin:0 0;padding:0 0;"><div id="maincoursedoc" style="margin:0 0;padding:0 0;">');
# --------------------------------------------------------- Standard documents
if (($standard) && ($allowed) && (!$forcesupplement)) {
my $active = 'style="display: none;"';
@@ -3166,6 +3166,7 @@
$active = 'style="display: block;"';
}
$r->print('<div class="LC_ContentBox" id="Supplemental Course Documents" '.$active.'>');
+ &changewarning($r);
my $folder=$env{'form.folder'};
unless ($folder=~/^supplemental/) {
$folder='supplemental';
@@ -3365,6 +3366,7 @@
$form .= '<li onclick="javascript:showPage(this, \''.$tid.$orderhash{$name}.'\', \''.$navigation.$tid.'\',\''.$content.$tid.'\');">'.&mt($orderhash{$name}).'</li>';
}
}
+ $form .= '</ul>';
$form .= '<div id="'.$content.$tid.'" style="padding: 0 0; margin: 0 0;">';
foreach my $field (keys(%namehash)){
$form .= '<div id="'.$tid.$field.'" class="LC_ContentBox" style="display: none;">'.$namehash{$field}.'</div>';
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.744 loncom/interface/loncommon.pm:1.745
--- loncom/interface/loncommon.pm:1.744 Tue Feb 10 12:20:17 2009
+++ loncom/interface/loncommon.pm Tue Feb 10 14:23:18 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.744 2009/02/10 12:20:17 ehlerst Exp $
+# $Id: loncommon.pm,v 1.745 2009/02/10 14:23:18 ehlerst Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -5650,12 +5650,12 @@
}
ul.LC_TabContent {
min-height:1.6em;
- border-bottom:solid 1px $lg_border_color;
}
ul.LC_TabContent li{
vertical-align:middle;
padding:0px 10px 0px 10px;
- background-color:$lg_border_color;
+ background-color:$tabbg;
+ border-bottom:solid 1px $lg_border_color;
}
ul.LC_TabContent li a, ul.LC_TabContent li{
color:rgb(47,47,47);
@@ -5665,6 +5665,7 @@
}
ul.LC_TabContent li:hover, ul.LC_TabContent li.active{
background-color:#FFFFFF;
+ border-bottom:solid 1px #FFFFFF;
}
ul.LC_TabContentBigger li{
vertical-align:bottom;