<div class="row">
    <div class="col-xs-12">
        <div class="box box-danger" style="height: 83vh; overflow-y: hidden; margin-bottom: 0px;">
            <div class="box-body" style="height: 100%" id="GrafikBoxBody">
                <div class="">
                    <div class="col-xs-12">
                        <div class="loader-overlapping loader-holder" id="table-loading"
                             style="display: block;">
                            <div class="loader"></div>
                        </div>
                        <div id="calendar" data-events-url="<?php echo $local_url; ?>calendar_holiday_feed_ajax<?php echo isset($nrewid) ? '/' . $nrewid : ''; ?>"></div>
                        <div id="print_report" style="text-align: right; margin-top: 20px; display: none;">
                            <a rel="tooltip" data-placement="left" data-run="operation" title="Drukuj"
                               class="btn btn-info" href="ajax/oceny/drukuj_raport/MOJ_CZAS_PRACY"
                               target="_blank">
                                <i class="fa fa-print"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

<script>
    $(function () {
        $('.page-name:first-of-type').html('<?php echo $pageName; ?>');
    })
</script>

<script>
    $(function () {
        initiateFullCalendar();
        calendarInit();
    });
</script>

<?php echo $this->element('alert_close'); ?>
