|
|
|
@ -38,11 +38,11 @@ class ShiftCalendarShiftRenderer
|
|
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
$blocks,
|
|
|
|
|
div(
|
|
|
|
|
'shift panel panel-' . $class . '" '
|
|
|
|
|
. 'style="height: '
|
|
|
|
|
div( 'shift-card "style="height: '
|
|
|
|
|
. ($blocks * ShiftCalendarRenderer::BLOCK_HEIGHT - ShiftCalendarRenderer::MARGIN)
|
|
|
|
|
. 'px"',
|
|
|
|
|
. 'px;}"',
|
|
|
|
|
div(
|
|
|
|
|
'shift panel panel-' . $class. '" style="position: absolute; width:99%;',
|
|
|
|
|
[
|
|
|
|
|
$this->renderShiftHead($shift, $class),
|
|
|
|
|
div('panel-body', [
|
|
|
|
@ -56,6 +56,7 @@ class ShiftCalendarShiftRenderer
|
|
|
|
|
div('shift-spacer')
|
|
|
|
|
]
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
];
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|