|
|
@@ -73,8 +73,8 @@ WithEvents.args = {
|
|
|
end:"2021-04-05T17:59:00.000Z",
|
|
|
ressources:[{id:"1",title:"Ressource 1"},{id:"2",title:"Ressource 2"}],
|
|
|
events: [
|
|
|
- {id:'1', title:"Fixed ressource" ,ressourceId:'1', start:new Date("2021-04-05T05:00:00.000Z"), end:new Date("2021-04-05T07:59:00.000Z"), ressourceEditable:false,bgColor:"darkgreen"},
|
|
|
- {id:'2', title:"Fixed time" , ressourceId:'1', start:new Date("2021-04-05T09:00:00.000Z"), end:new Date("2021-04-05T10:59:00.000Z"), editable:false,bgColor:"FireBrick"},
|
|
|
+ {id:'1', content:"Fixed ressource" ,ressourceId:'1', start:new Date("2021-04-05T05:00:00.000Z"), end:new Date("2021-04-05T07:59:00.000Z"), ressourceEditable:false,bgColor:"darkgreen"},
|
|
|
+ {id:'2', content:"Fixed time" , ressourceId:'1', start:new Date("2021-04-05T09:00:00.000Z"), end:new Date("2021-04-05T10:59:00.000Z"), editable:false,bgColor:"FireBrick"},
|
|
|
{id:'3', ressourceId:'2', start:new Date("2021-04-05T10:00:00.000Z"), end:new Date("2021-04-05T11:59:00.000Z")},
|
|
|
{id:'4', ressourceId:'2', start:new Date("2021-04-05T11:00:00.000Z"), end:new Date("2021-04-05T12:59:00.000Z")},
|
|
|
{id:'5', ressourceId:'2', start:new Date("2021-04-05T12:00:00.000Z"), end:new Date("2021-04-05T13:59:00.000Z")}
|
|
|
@@ -92,7 +92,7 @@ Rainbow.args = {
|
|
|
return {
|
|
|
id:""+i,
|
|
|
ressourceId:"" + (i % 8),
|
|
|
- title:"Item "+i,
|
|
|
+ content:"Item "+i,
|
|
|
start: new Date(date + 1800000 * i),
|
|
|
end:new Date(date + 3600_000+ 1800000 * i),
|
|
|
bgColor:"hsl(" + Math.round(i / (nItem-1) * 360) + ", 100%, 50%)"
|