finetuning
This commit is contained in:
@ -275,50 +275,50 @@ body {
|
||||
}
|
||||
|
||||
.emphgreen {
|
||||
font-weight: bolder;
|
||||
color: #136600;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
background-image: linear-gradient(to left, #e6e6e6, white);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.emphblue {
|
||||
font-weight: bolder;
|
||||
color: #1a5fb4;
|
||||
background-image: linear-gradient(to left, #e6e6e6, white);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.emphorange {
|
||||
font-weight: bolder;
|
||||
color: #c64600;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
background-image: linear-gradient(to left, #e6e6e6, white);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.emphred {
|
||||
font-weight: bolder;
|
||||
color: #a51d2d;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
background-image: linear-gradient(to left, #e6e6e6, white);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.emphpink {
|
||||
font-weight: bolder;
|
||||
color: #613583;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
background-image: linear-gradient(to left, #e6e6e6, white);
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.emphgray {
|
||||
font-weight: bolder;
|
||||
color: #5e5c64;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
background-image: linear-gradient(to left, #959595, #cecece);
|
||||
}
|
||||
|
||||
.unround-border {
|
||||
padding: 4px;
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
.round-border {
|
||||
border-radius: 8px;
|
||||
font-weight: bolder;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.round-border-right {
|
||||
font-weight: bolder;
|
||||
padding: 4px;
|
||||
border-radius: 0px 8px 8px 0px;
|
||||
}
|
||||
|
||||
.sumfield {
|
||||
|
@ -53,11 +53,15 @@ class Schedule {
|
||||
}
|
||||
|
||||
time2pixel = function (time, hourHeight) {
|
||||
var timeArray = time.split(":");
|
||||
var hours = parseInt(timeArray[0]);
|
||||
var minutes = parseInt(timeArray[1]);
|
||||
var pixels = parseInt((hours + (minutes / 60)) * hourHeight);
|
||||
return pixels;
|
||||
if (time == null) {
|
||||
return 0;
|
||||
} else {
|
||||
var timeArray = time.split(":");
|
||||
var hours = parseInt(timeArray[0]);
|
||||
var minutes = parseInt(timeArray[1]);
|
||||
var pixels = parseInt((hours + (minutes / 60)) * hourHeight);
|
||||
return pixels;
|
||||
}
|
||||
}
|
||||
|
||||
drawSlot = function(ctx, slotNr, from, until, color, fillColor) {
|
||||
|
Reference in New Issue
Block a user