Clean up old elements in stylesheets. Cleanup work on WebCal as well -- removing old stuff.
svn: r12356
This commit is contained in:
		@@ -1137,27 +1137,24 @@ body#WebCal #CreatorInfo {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calendar : Full Year */
 | 
			
		||||
body#fullyear div.content, body#fullyearlinked div.content {
 | 
			
		||||
body#fullyearlinked div.content {
 | 
			
		||||
    width:963px;
 | 
			
		||||
    margin:0 auto;
 | 
			
		||||
    padding:15px 0 2px 2px;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar, body#fullyearlinked table.calendar {
 | 
			
		||||
body#fullyearlinked table.calendar {
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:320px;
 | 
			
		||||
    height:18em;
 | 
			
		||||
    border:solid 1px #7D5925;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
    height:2em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
    font-size:1.2em;
 | 
			
		||||
    padding:2px 0;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
    height:3em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td {
 | 
			
		||||
    display:none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1135,27 +1135,24 @@ body#WebCal #CreatorInfo {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calendar : Full Year */
 | 
			
		||||
body#fullyear div.content, body#fullyearlinked div.content {
 | 
			
		||||
body#fullyearlinked div.content {
 | 
			
		||||
    width:963px;
 | 
			
		||||
    margin:0 auto;
 | 
			
		||||
    padding:15px 0 2px 2px;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar, body#fullyearlinked table.calendar {
 | 
			
		||||
body#fullyearlinked table.calendar {
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:320px;
 | 
			
		||||
    height:18em;
 | 
			
		||||
    border:solid 1px #7D5925;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
    height:2em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
    font-size:1.2em;
 | 
			
		||||
    padding:2px 0;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
    height:3em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td {
 | 
			
		||||
    display:none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1136,27 +1136,24 @@ body#WebCal #CreatorInfo {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calendar : Full Year */
 | 
			
		||||
body#fullyear div.content, body#fullyearlinked div.content {
 | 
			
		||||
body#fullyearlinked div.content {
 | 
			
		||||
    width:963px;
 | 
			
		||||
    margin:0 auto;
 | 
			
		||||
    padding:15px 0 2px 2px;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar, body#fullyearlinked table.calendar {
 | 
			
		||||
body#fullyearlinked table.calendar {
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:320px;
 | 
			
		||||
    height:18em;
 | 
			
		||||
    border:solid 1px #7D5925;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
    height:2em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
    font-size:1.2em;
 | 
			
		||||
    padding:2px 0;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
    height:3em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td {
 | 
			
		||||
    display:none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1136,27 +1136,24 @@ body#WebCal #CreatorInfo {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calendar : Full Year */
 | 
			
		||||
body#fullyear div.content, body#fullyearlinked div.content {
 | 
			
		||||
body#fullyearlinked div.content {
 | 
			
		||||
    width:963px;
 | 
			
		||||
    margin:0 auto;
 | 
			
		||||
    padding:15px 0 2px 2px;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar, body#fullyearlinked table.calendar {
 | 
			
		||||
body#fullyearlinked table.calendar {
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:320px;
 | 
			
		||||
    height:18em;
 | 
			
		||||
    border:solid 1px #7D5925;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
    height:2em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
    font-size:1.2em;
 | 
			
		||||
    padding:2px 0;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
 body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
    height:3em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td {
 | 
			
		||||
    display:none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1114,28 +1114,25 @@ div#sourcerefs ol li ol {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calendar : Full Year */
 | 
			
		||||
body#fullyear div.content, body#fullyearlinked div.content {
 | 
			
		||||
body#fullyearlinked div.content {
 | 
			
		||||
    width:963px;
 | 
			
		||||
    margin:0 auto;
 | 
			
		||||
    padding:15px 0 2px 2px;
 | 
			
		||||
    background:url(../images/Web_Mainz_Mid.png) #FFF2C6 repeat;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar, body#fullyearlinked table.calendar {
 | 
			
		||||
body#fullyearlinked table.calendar {
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:320px;
 | 
			
		||||
    height:18em;
 | 
			
		||||
    border:solid 1px #7D5925;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
    height:2em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
    font-size:1.2em;
 | 
			
		||||
    padding:2px 0;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
    height:3em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td {
 | 
			
		||||
    display:none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1174,27 +1174,24 @@ body#WebCal {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calendar : Full Year */
 | 
			
		||||
body#fullyear div.content, body#fullyearlinked div.content {
 | 
			
		||||
body#fullyearlinked div.content {
 | 
			
		||||
    width:963px;
 | 
			
		||||
    margin:0 auto;
 | 
			
		||||
    padding:15px 0 2px 2px;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar, body#fullyearlinked table.calendar {
 | 
			
		||||
body#fullyearlinked table.calendar {
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:320px;
 | 
			
		||||
    height:18em;
 | 
			
		||||
    border:solid 1px #7D5925;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
    height:2em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
    font-size:1.2em;
 | 
			
		||||
    padding:2px 0;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
    height:3em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td {
 | 
			
		||||
    display:none;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1185,27 +1185,30 @@ body#WebCal {
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/* Calendar : Full Year */
 | 
			
		||||
body#fullyear div.content, body#fullyearlinked div.content {
 | 
			
		||||
body#fullyearlinked div.content {
 | 
			
		||||
    width:963px;
 | 
			
		||||
    margin:0 auto;
 | 
			
		||||
    padding:15px 0 2px 2px;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar, body#fullyearlinked table.calendar {
 | 
			
		||||
body#fullyearlinked table.calendar {
 | 
			
		||||
    float:left;
 | 
			
		||||
    width:320px;
 | 
			
		||||
    height:18em;
 | 
			
		||||
    border:solid 1px #453619;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th, body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th {
 | 
			
		||||
    height:2em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar thead tr th.monthName, body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
body#fullyearlinked table.calendar thead tr th.monthName {
 | 
			
		||||
    font-size:1.2em;
 | 
			
		||||
    padding:2px 0;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tbody tr td, body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
body#fullyearlinked table.calendar tbody tr td {
 | 
			
		||||
    height:3em;
 | 
			
		||||
}
 | 
			
		||||
body#fullyear table.calendar tfoot tr td, body#fullyearlinked table.calendar tfoot tr td {
 | 
			
		||||
    display:none;
 | 
			
		||||
body#fullyearlinked table.calendar tbody tr td.saturday {
 | 
			
		||||
    border-right:solid 2px #000;
 | 
			
		||||
}
 | 
			
		||||
body#fullyearlinked able.calendar tbody tr td.sunday {
 | 
			
		||||
    border:solid 2px #000;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -494,8 +494,6 @@ class WebCalReport(Report):
 | 
			
		||||
        # identify currentsection for proper highlighting
 | 
			
		||||
        self.display_month_navs(of, nr_up, year, currentsection, use_home)
 | 
			
		||||
 | 
			
		||||
        of.write('<div class="content">\n')
 | 
			
		||||
 | 
			
		||||
    def calendar_build(self, of, cal, year, month):
 | 
			
		||||
        """
 | 
			
		||||
        This does the work of building the calendar
 | 
			
		||||
@@ -710,7 +708,6 @@ class WebCalReport(Report):
 | 
			
		||||
        """
 | 
			
		||||
 | 
			
		||||
        of.write('<div class="fullclear"></div>\n')
 | 
			
		||||
        of.write('</div>\n')            # Closing "content"
 | 
			
		||||
 | 
			
		||||
        of.write('<div id="footer">\n')
 | 
			
		||||
 | 
			
		||||
@@ -857,7 +854,10 @@ class WebCalReport(Report):
 | 
			
		||||
         'to all your data at a glance compressed into one page. Clicking '
 | 
			
		||||
         'on a date will take you to a page that shows all the events for '
 | 
			
		||||
         'that date, if there are any!\n'))
 | 
			
		||||
        of.write('<p id="description">%s</p></div>\n' % msg)
 | 
			
		||||
        of.write('\t<p id="description">%s</p>\n' % msg)
 | 
			
		||||
 | 
			
		||||
        # close page description division
 | 
			
		||||
        of.write('</div>\n')
 | 
			
		||||
 | 
			
		||||
        # generate progress pass for "Year At A Glance"
 | 
			
		||||
        self.progress.set_pass(_('Creating Year At A Glance calendar'), 12)
 | 
			
		||||
@@ -867,15 +867,8 @@ class WebCalReport(Report):
 | 
			
		||||
            # build the calendar
 | 
			
		||||
            self.calendar_build(of, "yg", year, month)
 | 
			
		||||
 | 
			
		||||
            # create note section for "Year At A Glance"
 | 
			
		||||
            note = self.month_notes[month-1].strip()
 | 
			
		||||
            note = note or " "
 | 
			
		||||
            of.write('\t<tfoot>\n')
 | 
			
		||||
            of.write('\t\t<tr>\n')
 | 
			
		||||
            of.write('\t\t\t<td colspan="7">%s</td>\n' % note)
 | 
			
		||||
            of.write('\t\t</tr>\n')
 | 
			
		||||
            of.write('\t</tfoot>\n')
 | 
			
		||||
            of.write('</table>\n\n')
 | 
			
		||||
            # close table
 | 
			
		||||
            of.write('</table>\n')
 | 
			
		||||
 | 
			
		||||
            # increase progress bar
 | 
			
		||||
            self.progress.step()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user