[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
muellerd
muellerd@source.lon-capa.org
Wed, 10 Dec 2008 15:37:44 -0000
muellerd Wed Dec 10 15:37:44 2008 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- inserting ".LC_loginpage_loginContainer h1", ".LC_loginpage_loginDomain"
- modifying ".LC_loginpage_loginContainer", ".LC_loginpage_loginInfo"
- creating the new variable my $bgcol for getting the background color of the loginpage header
- creating the new variable my $textcol for getting the textcolor of the loginpage header
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.711 loncom/interface/loncommon.pm:1.712
--- loncom/interface/loncommon.pm:1.711 Mon Dec 8 22:43:52 2008
+++ loncom/interface/loncommon.pm Wed Dec 10 15:37:43 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.711 2008/12/08 22:43:52 raeburn Exp $
+# $Id: loncommon.pm,v 1.712 2008/12/10 15:37:43 muellerd Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4392,6 +4392,8 @@
my $link = &designparm($function.'.link', $domain);
my $loginbg = &designparm('login.sidebg',$domain);
+ my $bgcol = &designparm('login.bgcol',$domain);
+ my $textcol = &designparm('login.textcol',$domain);
my $sans = 'Verdana,Arial,Helvetica,sans-serif';
my $mono = 'monospace';
@@ -5699,19 +5701,26 @@
width:65%;
padding: 10px;
height: auto;
-# background-color:#FFFFFF;
- background-color:$loginbg;
+ background-color:#FFFFFF;
border:1px solid #CCCCCC;
}
.LC_loginpage_loginContainer {
float:left;
- width:60%;
+ width: 182px;
+ border:1px solid #CCCCCC;
+ background-color:$loginbg;
}
+.LC_loginpage_loginContainer h1{
+ margin-top:0;
+ display:block;
+ background:$bgcol;
+ color:$textcol;
+ padding-left:5px;
+}
.LC_loginpage_loginInfo {
- margin-top:20px;
margin-left:20px;
float:left;
width:30%;
@@ -5719,6 +5728,13 @@
padding:10px;
}
+.LC_loginpage_loginDomain {
+ margin-right:20px;
+ width:20%;
+ float:left;
+ padding:10px;
+}
+
.LC_loginpage_space {
clear:both;
margin-bottom:20px;
@@ -5738,7 +5754,6 @@
}
-
END
}