1.1 --- a/htdocs/styles.css Sat Feb 07 17:23:05 2015 +0100
1.2 +++ b/htdocs/styles.css Sat Feb 07 17:33:31 2015 +0100
1.3 @@ -128,8 +128,8 @@
1.4 /* Hide calendar rows depending on the selected controls. */
1.5
1.6 input#hidebusy:checked ~ .calendar tr.slot.busy,
1.7 -input#showdays:not(:checked) ~ .calendar tr.separator.empty,
1.8 -input#showdays:not(:checked) ~ .calendar tr.slot.onlyslot.daystart.empty {
1.9 +input#showdays:not(:checked) ~ .calendar thead.separator.empty,
1.10 +input#showdays:not(:checked) ~ .calendar tbody.points.empty {
1.11 display: none;
1.12 }
1.13
2.1 --- a/imip_manager.py Sat Feb 07 17:23:05 2015 +0100
2.2 +++ b/imip_manager.py Sat Feb 07 17:33:31 2015 +0100
2.3 @@ -853,8 +853,8 @@
2.4 # Show controls for hiding empty days and busy slots.
2.5 # The positioning of the control, paragraph and table are important here.
2.6
2.7 - page.input(name="showdays", type="checkbox", value="hide", id="showdays")
2.8 - page.input(name="hidebusy", type="checkbox", value="hide", id="hidebusy")
2.9 + page.input(name="showdays", type="checkbox", value="hide", id="showdays", accesskey="D")
2.10 + page.input(name="hidebusy", type="checkbox", value="hide", id="hidebusy", accesskey="B")
2.11
2.12 page.p(class_="controls")
2.13 page.label("Hide busy time periods", for_="hidebusy", class_="hidebusy enable")
2.14 @@ -1091,15 +1091,15 @@
2.15 is_empty = False
2.16 break
2.17
2.18 - page.thead()
2.19 - page.tr(class_="separator%s" % (is_empty and " empty" or ""))
2.20 + page.thead(class_="separator%s" % (is_empty and " empty" or ""))
2.21 + page.tr()
2.22 page.th(class_="dayheading container", colspan=all_columns+1)
2.23 self._day_heading(day)
2.24 page.th.close()
2.25 page.tr.close()
2.26 page.thead.close()
2.27
2.28 - page.tbody()
2.29 + page.tbody(class_="points%s" % (is_empty and " empty" or ""))
2.30 self.show_calendar_points(intervals, groups_for_day, partitioned_group_types, group_columns)
2.31 page.tbody.close()
2.32
2.33 @@ -1131,7 +1131,6 @@
2.34
2.35 css = " ".join(
2.36 ["slot"] +
2.37 - (len(intervals) == 1 and ["onlyslot"] or []) +
2.38 (have_active and ["busy"] or ["empty"]) +
2.39 (continuation and ["daystart"] or [])
2.40 )