ItEr23S08CUEdicionCalendarioLaboral: Fixed some minor visual issues.
This commit is contained in:
parent
f9be9a36e0
commit
9827bebf7f
2 changed files with 5 additions and 5 deletions
|
|
@ -68,9 +68,9 @@ public class CalendarHighlightedDays extends HtmlMacroComponent {
|
|||
|
||||
public void highlightDays() {
|
||||
String javascript = "highlightDays('" + ancestorExceptionDays
|
||||
+ "', 'black', 'orange', '" + ownExceptionDays
|
||||
+ "', 'black', 'red', '" + zeroHoursDays
|
||||
+ "', 'white', 'lightgrey', 'lightgrey', 'white', '"
|
||||
+ "', 'white', 'orange', '" + ownExceptionDays
|
||||
+ "', 'white', 'red', '" + zeroHoursDays
|
||||
+ "', 'red', 'white', 'lightgrey', 'white', '"
|
||||
+ getCalendarUuid() + "');";
|
||||
|
||||
Clients.evalJavaScript(javascript);
|
||||
|
|
|
|||
|
|
@ -40,10 +40,10 @@ function highlightDays(ancestorExceptionDays, ancestorExceptionColor, ancestorEx
|
|||
"color:" + zeroHoursColor + ";background-color:" + zeroHoursBgColor);
|
||||
} else if (ownExceptions.in_array(day)) {
|
||||
nodes[i].setAttribute("style",
|
||||
"color:" + ownExceptionColor + ";background-color:" + ownExceptionBgColor);
|
||||
"color:" + ownExceptionColor + ";background-color:" + ownExceptionBgColor + ";font-weight: bold");
|
||||
} else if (ancestorExceptions.in_array(day)) {
|
||||
nodes[i].setAttribute("style",
|
||||
"color:" + ancestorExceptionColor + ";background-color:" + ancestorExceptionBgColor);
|
||||
"color:" + ancestorExceptionColor + ";background-color:" + ancestorExceptionBgColor + ";font-weight: bold");
|
||||
} else {
|
||||
nodes[i].removeAttribute("style");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue