Little change in WebCal. Added chnages to stylesheet for new Download Page.
svn: r12519
This commit is contained in:
parent
bf71f6f367
commit
edfc5ffe06
@ -681,6 +681,7 @@ table.individuallist tbody tr td.ColumnName a:hover {
|
|||||||
#researcher h3 {
|
#researcher h3 {
|
||||||
font:normal 1.2em/1.4em serif;
|
font:normal 1.2em/1.4em serif;
|
||||||
padding:0;
|
padding:0;
|
||||||
|
text-align:left;
|
||||||
}
|
}
|
||||||
#researcher span {
|
#researcher span {
|
||||||
float:left;
|
float:left;
|
||||||
@ -689,7 +690,7 @@ table.individuallist tbody tr td.ColumnName a:hover {
|
|||||||
margin-right:.4em;
|
margin-right:.4em;
|
||||||
}
|
}
|
||||||
#streetaddress {
|
#streetaddress {
|
||||||
width:80%;
|
width:100%;
|
||||||
}
|
}
|
||||||
#city:after {
|
#city:after {
|
||||||
content:",";
|
content:",";
|
||||||
@ -707,14 +708,50 @@ table.individuallist tbody tr td.ColumnName a:hover {
|
|||||||
text-decoration:underline;
|
text-decoration:underline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Download
|
||||||
|
----------------------------------------------------- */
|
||||||
|
#Download {
|
||||||
|
padding:1cm;
|
||||||
|
}
|
||||||
|
table.Download {
|
||||||
|
border:solid 1px #000;
|
||||||
|
width:100%;
|
||||||
|
}
|
||||||
|
table.Download tbody tr td {
|
||||||
|
padding:1em;
|
||||||
|
border-style:solid;
|
||||||
|
border-color:#000;
|
||||||
|
border-width:0 2px 2px 2px;
|
||||||
|
}
|
||||||
|
table.Download tbody tr td.ColumnAttribute {
|
||||||
|
width:30%;
|
||||||
|
background-color:#6AF364;
|
||||||
|
}
|
||||||
|
table.Download tbody tr td.ColumnValue {
|
||||||
|
width:70%;
|
||||||
|
}
|
||||||
|
table.Download tbody tr td.ColumnValue a {
|
||||||
|
font-weight:bold;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
|
table.Download tbody tr td.ColumnValue a:hover {
|
||||||
|
text-decoration:underline;
|
||||||
|
background-color:#C1B398;
|
||||||
|
padding-top:15px;
|
||||||
|
padding-bottom:15px;
|
||||||
|
padding-right:190px;
|
||||||
|
padding-left:35px;
|
||||||
|
}
|
||||||
|
table.Download img {
|
||||||
|
float:left;
|
||||||
|
text-align:left;
|
||||||
|
}
|
||||||
|
|
||||||
/* Subsections
|
/* Subsections
|
||||||
----------------------------------------------------- */
|
----------------------------------------------------- */
|
||||||
#Home, #Introduction, #Contact {
|
#Home, #Introduction, #Contact {
|
||||||
padding:2em 0 3em 0;
|
padding:2em 0 3em 0;
|
||||||
}
|
}
|
||||||
#Download {
|
|
||||||
padding:1em 0 3em 0;
|
|
||||||
}
|
|
||||||
#Home p, #Introduction p, #Download p {
|
#Home p, #Introduction p, #Download p {
|
||||||
margin:0 20px 1em 20px;
|
margin:0 20px 1em 20px;
|
||||||
}
|
}
|
||||||
|
@ -710,9 +710,6 @@ class WebCalReport(Report):
|
|||||||
# add weekdays names to table body
|
# add weekdays names to table body
|
||||||
thead += weekday_names
|
thead += weekday_names
|
||||||
|
|
||||||
# add table row to table head
|
|
||||||
cal_table += thead
|
|
||||||
|
|
||||||
# begin table body
|
# begin table body
|
||||||
tbody = Html('tbody')
|
tbody = Html('tbody')
|
||||||
|
|
||||||
@ -871,8 +868,8 @@ class WebCalReport(Report):
|
|||||||
# add extra weeks to tbody if needed
|
# add extra weeks to tbody if needed
|
||||||
tbody += six_weeks
|
tbody += six_weeks
|
||||||
|
|
||||||
# close table body
|
# bring table head and table body back together
|
||||||
cal_table += tbody
|
cal_table += (thead, tbody)
|
||||||
|
|
||||||
# return calendar table to its caller
|
# return calendar table to its caller
|
||||||
return cal_table
|
return cal_table
|
||||||
|
Loading…
Reference in New Issue
Block a user