diff --git a/src/plugins/webreport/WebCal.py b/src/plugins/webreport/WebCal.py index e18702c9b..0b4b12f6f 100644 --- a/src/plugins/webreport/WebCal.py +++ b/src/plugins/webreport/WebCal.py @@ -446,13 +446,13 @@ class WebCalReport(Report): # figure out number of rows nrows = get_num_of_rows(num_years, years_in_row) - # begin year division and table + # begin year division yearnav = Html("div", id="navigation") - year_table = Html("table") - for rows in range(0, nrows): - trow = Html("tr") + for row in range(0, (num_years // years_in_row)): + unordered = Html("ul") + yearnav += unordered cols = 1 while (cols <= years_in_row and cal_year <= self.end_year): url = '' @@ -467,7 +467,8 @@ class WebCalReport(Report): # Note. We use '/' here because it is a URL, not a OS dependent # pathname. - url = '/'.join(subdirs + [full_month_name]) + self.ext + url = os.path.join(subdirs, full_month_name) + self.ext +# url = '/'.join(subdirs + [full_month_name]) + self.ext # Figure out if we need