# HG changeset patch # User Paul Boddie # Date 1422556713 -3600 # Node ID 7dd74436b88100ab7d6a021393e48f988646e925 # Parent b91a46a7b9b97047455c6587954988ef49ee7834 Adjusted column heading colours. diff -r b91a46a7b9b9 -r 7dd74436b881 htdocs/styles.css --- a/htdocs/styles.css Thu Jan 29 19:30:38 2015 +0100 +++ b/htdocs/styles.css Thu Jan 29 19:38:33 2015 +0100 @@ -10,6 +10,14 @@ background-color: #fee; } +th.requestheading { + background-color: #aaf; +} + +th.participantheading{ + background-color: #faa; +} + th.dayheading { background-color: #f85; } diff -r b91a46a7b9b9 -r 7dd74436b881 imip_manager.py --- a/imip_manager.py Thu Jan 29 19:30:38 2015 +0100 +++ b/imip_manager.py Thu Jan 29 19:38:33 2015 +0100 @@ -672,8 +672,10 @@ page.tr() page.th("", class_="emptyheading") - for source, columns in zip(group_sources, group_columns): - page.th(source, class_="participantheading", colspan=max(columns, 1)) + for group_type, source, columns in zip(group_types, group_sources, group_columns): + page.th(source, + class_=(group_type == "request" and "requestheading" or "participantheading"), + colspan=max(columns, 1)) page.tr.close() page.thead.close()