Little change in WebCal. Added chnages to stylesheet for new Download Page.

svn: r12519
This commit is contained in:
Rob G. Healey 2009-05-11 02:28:15 +00:00
parent bf71f6f367
commit edfc5ffe06
2 changed files with 43 additions and 9 deletions

View File

@ -681,6 +681,7 @@ table.individuallist tbody tr td.ColumnName a:hover {
#researcher h3 {
font:normal 1.2em/1.4em serif;
padding:0;
text-align:left;
}
#researcher span {
float:left;
@ -689,7 +690,7 @@ table.individuallist tbody tr td.ColumnName a:hover {
margin-right:.4em;
}
#streetaddress {
width:80%;
width:100%;
}
#city:after {
content:",";
@ -707,14 +708,50 @@ table.individuallist tbody tr td.ColumnName a:hover {
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
----------------------------------------------------- */
#Home, #Introduction, #Contact {
padding:2em 0 3em 0;
}
#Download {
padding:1em 0 3em 0;
}
#Home p, #Introduction p, #Download p {
margin:0 20px 1em 20px;
}

View File

@ -710,9 +710,6 @@ class WebCalReport(Report):
# add weekdays names to table body
thead += weekday_names
# add table row to table head
cal_table += thead
# begin table body
tbody = Html('tbody')
@ -871,8 +868,8 @@ class WebCalReport(Report):
# add extra weeks to tbody if needed
tbody += six_weeks
# close table body
cal_table += tbody
# bring table head and table body back together
cal_table += (thead, tbody)
# return calendar table to its caller
return cal_table