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