diff --git a/UI/Scheduler/UIxCalCalendarsListView.m b/UI/Scheduler/UIxCalCalendarsListView.m index 382c0f64a..c724553d3 100644 --- a/UI/Scheduler/UIxCalCalendarsListView.m +++ b/UI/Scheduler/UIxCalCalendarsListView.m @@ -64,7 +64,9 @@ unsigned char colorTable[] = { 1, 1, 1 }; NSString *color; - if (number == NSNotFound) + if (number == 0) + color = @"#ccf"; + else if (number == NSNotFound) color = @"#f00"; else { @@ -80,9 +82,9 @@ index++; } color = [NSString stringWithFormat: @"#%2x%2x%2x", - (256 / colorTable[2]) - 1, - (256 / colorTable[1]) - 1, - (256 / colorTable[0]) - 1]; + (255 / colorTable[2]) - 1, + (255 / colorTable[1]) - 1, + (255 / colorTable[0]) - 1]; } NSLog(@"color = '%@'", color); diff --git a/UI/WebServerResources/SchedulerUI.css b/UI/WebServerResources/SchedulerUI.css index 7191f0f14..15326c3d5 100644 --- a/UI/WebServerResources/SchedulerUI.css +++ b/UI/WebServerResources/SchedulerUI.css @@ -438,7 +438,7 @@ DIV#calendarContent SPAN.appointmentView { display: block; background: #dd0; - border: 1px dashed #990; } + border: 1px solid #000; } SPAN.colorBox { display: block;