# HG changeset patch # User Paul Boddie # Date 1422917502 -3600 # Node ID 423eb08d06b948f712b1a5e97aa02eb9cb519d04 # Parent 8c7ac87406dd55f44a8ab1b651094208627541ba Adjusted the colours associated with show/hide controls. diff -r 8c7ac87406dd -r 423eb08d06b9 htdocs/styles.css --- a/htdocs/styles.css Mon Feb 02 23:12:37 2015 +0100 +++ b/htdocs/styles.css Mon Feb 02 23:51:42 2015 +0100 @@ -130,6 +130,13 @@ label.enable, label.disable { - border-left: 1em solid #faa; /* th.participantheading background-color */ padding-left: 0.25em; } + +label.hideslots { + border-left: 1em solid #faa; /* th.participantheading background-color */ +} + +label.hidebusy { + border-left: 1em solid #af8; /* td.event background-color */ +} diff -r 8c7ac87406dd -r 423eb08d06b9 imip_manager.py --- a/imip_manager.py Mon Feb 02 23:12:37 2015 +0100 +++ b/imip_manager.py Mon Feb 02 23:51:42 2015 +0100 @@ -785,10 +785,10 @@ page.input(name="hidebusy", type="checkbox", value="hide", id="hidebusy") page.p(class_="controls") - page.label("Hide busy time periods", for_="hidebusy", class_="enable") - page.label("Show busy time periods", for_="hidebusy", class_="disable") - page.label("Hide unused time periods", for_="hideslots", class_="enable") - page.label("Show unused time periods", for_="hideslots", class_="disable") + page.label("Hide busy time periods", for_="hidebusy", class_="hidebusy enable") + page.label("Show busy time periods", for_="hidebusy", class_="hidebusy disable") + page.label("Hide unused time periods", for_="hideslots", class_="hideslots enable") + page.label("Show unused time periods", for_="hideslots", class_="hideslots disable") page.p.close() freebusy = self.store.get_freebusy(self.user)