Corrected event sourcing for new fullcalendar version.

This commit is contained in:
alext 2017-10-31 10:37:00 +01:00
parent 5fb9b9466e
commit 6ba3d7ce70
3 changed files with 428 additions and 378 deletions

View file

@ -1,6 +1,7 @@
<link rel="stylesheet" type="text/css" href="<?= base_url('/assets/ext/jquery-fullcalendar/jquery.fullcalendar.css') ?>"> <link rel="stylesheet" type="text/css" href="<?= base_url('/assets/ext/jquery-fullcalendar/fullcalendar.css') ?>">
<script src="<?= base_url('assets/ext/jquery-fullcalendar/jquery.fullcalendar.min.js') ?>"></script> <script src="<?= base_url('assets/ext/moment/moment.min.js') ?>"></script>
<script src="<?= base_url('assets/ext/jquery-fullcalendar/fullcalendar.js') ?>"></script>
<script src="<?= base_url('assets/ext/jquery-sticky-table-headers/jquery.stickytableheaders.min.js') ?>"></script> <script src="<?= base_url('assets/ext/jquery-sticky-table-headers/jquery.stickytableheaders.min.js') ?>"></script>
<script src="<?= base_url('assets/ext/jquery-ui/jquery-ui-timepicker-addon.js') ?>"></script> <script src="<?= base_url('assets/ext/jquery-ui/jquery-ui-timepicker-addon.js') ?>"></script>
<script src="<?= base_url('assets/js/backend_calendar.js') ?>"></script> <script src="<?= base_url('assets/js/backend_calendar.js') ?>"></script>
@ -211,7 +212,7 @@
</button> </button>
<input id="filter-existing-customers" <input id="filter-existing-customers"
placeholder="<?= lang('type_to_filter_customers') ?>" placeholder="<?= lang('type_to_filter_customers') ?>"
style="display: none;" class="input-sm"> style="display: none;" class="input-sm form-control">
<div id="existing-customers-list" style="display: none;"></div> <div id="existing-customers-list" style="display: none;"></div>
</legend> </legend>

View file

@ -315,6 +315,10 @@ body legend {
margin-bottom: 15px; margin-bottom: 15px;
} }
#calendar-page #calendar .fc-toolbar.fc-header-toolbar h2 {
font-size: 22px;
}
#calendar-page #calendar .fc-unavailable { #calendar-page #calendar .fc-unavailable {
background-image: url('../img/unavailable.jpg'); background-image: url('../img/unavailable.jpg');
font-size: 17px; font-size: 17px;
@ -330,6 +334,10 @@ body legend {
font-size: 12px; font-size: 12px;
} }
#calendar-page #calendar .fc-time {
font-size: 10px;
}
#calendar-page #calendar .fc-break { #calendar-page #calendar .fc-break {
background-image: url('../img/break.jpg'); background-image: url('../img/break.jpg');
} }
@ -342,6 +350,10 @@ body legend {
margin-bottom: 10px; margin-bottom: 10px;
} }
#calendar .fc-time-grid-event.fc-short .fc-title {
font-size: .7em;
}
#calendar .fc-header-title h2 { #calendar .fc-header-title h2 {
font-size: 16px; font-size: 16px;
margin: 0px; margin: 0px;

File diff suppressed because it is too large Load diff