1.1 --- a/htdocs/styles.css Sat Feb 07 17:20:29 2015 +0100
1.2 +++ b/htdocs/styles.css Sat Feb 07 17:23:05 2015 +0100
1.3 @@ -113,23 +113,23 @@
1.4 /* Hide the controls. */
1.5
1.6 input#hidebusy,
1.7 -input#hidedays,
1.8 +input#showdays,
1.9
1.10 /* Hide the enable labels when controls are already enabled. */
1.11
1.12 input#hidebusy:checked ~ .controls label.enable[for=hidebusy],
1.13 -input#hidedays:checked ~ .controls label.enable[for=hidedays],
1.14 +input#showdays:checked ~ .controls label.enable[for=showdays],
1.15
1.16 /* Hide the disable labels when controls are already disabled. */
1.17
1.18 input#hidebusy:not(:checked) ~ .controls label.disable[for=hidebusy],
1.19 -input#hidedays:not(:checked) ~ .controls label.disable[for=hidedays],
1.20 +input#showdays:not(:checked) ~ .controls label.disable[for=showdays],
1.21
1.22 /* Hide calendar rows depending on the selected controls. */
1.23
1.24 input#hidebusy:checked ~ .calendar tr.slot.busy,
1.25 -input#hidedays:checked ~ .calendar tr.separator.empty,
1.26 -input#hidedays:checked ~ .calendar tr.slot.onlyslot.daystart.empty {
1.27 +input#showdays:not(:checked) ~ .calendar tr.separator.empty,
1.28 +input#showdays:not(:checked) ~ .calendar tr.slot.onlyslot.daystart.empty {
1.29 display: none;
1.30 }
1.31
1.32 @@ -146,7 +146,7 @@
1.33 padding-left: 0.25em;
1.34 }
1.35
1.36 -label.hidedays {
1.37 +label.showdays {
1.38 border-left: 1em solid #faa; /* th.participantheading background-color */
1.39 }
1.40
2.1 --- a/imip_manager.py Sat Feb 07 17:20:29 2015 +0100
2.2 +++ b/imip_manager.py Sat Feb 07 17:23:05 2015 +0100
2.3 @@ -853,14 +853,14 @@
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="hidedays", type="checkbox", value="hide", id="hidedays")
2.8 + page.input(name="showdays", type="checkbox", value="hide", id="showdays")
2.9 page.input(name="hidebusy", type="checkbox", value="hide", id="hidebusy")
2.10
2.11 page.p(class_="controls")
2.12 page.label("Hide busy time periods", for_="hidebusy", class_="hidebusy enable")
2.13 page.label("Show busy time periods", for_="hidebusy", class_="hidebusy disable")
2.14 - page.label("Hide empty days", for_="hidedays", class_="hidedays enable")
2.15 - page.label("Show empty days", for_="hidedays", class_="hidedays disable")
2.16 + page.label("Show empty days", for_="showdays", class_="showdays enable")
2.17 + page.label("Hide empty days", for_="showdays", class_="showdays disable")
2.18 page.p.close()
2.19
2.20 freebusy = self.store.get_freebusy(self.user)