mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
April 9 update v1
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
|
<script src="https://polyfill.io/v3/polyfill.min.js?features=Intl.~locale.en"></script>
|
||||||
<script src="/js/core/jquery.min.js"></script>
|
<script src="/js/core/jquery.min.js"></script>
|
||||||
<script src="/js/core/popper.min.js"></script>
|
<script src="/js/core/popper.min.js"></script>
|
||||||
<script src="/js/core/bootstrap-material-design.min.js"></script>
|
<script src="/js/core/bootstrap-material-design.min.js"></script>
|
||||||
@@ -56,6 +57,7 @@
|
|||||||
$('#test').html('DOM ContentLoaded');
|
$('#test').html('DOM ContentLoaded');
|
||||||
var calendarEl = document.getElementById('public_calendar');
|
var calendarEl = document.getElementById('public_calendar');
|
||||||
|
|
||||||
|
try {
|
||||||
var calendar = new FullCalendar.Calendar(calendarEl, {
|
var calendar = new FullCalendar.Calendar(calendarEl, {
|
||||||
plugins: [ 'dayGrid' ],
|
plugins: [ 'dayGrid' ],
|
||||||
locale: 'fr',
|
locale: 'fr',
|
||||||
@@ -75,7 +77,11 @@
|
|||||||
});
|
});
|
||||||
$('#test').html('Begin render');
|
$('#test').html('Begin render');
|
||||||
calendar.render();
|
calendar.render();
|
||||||
$('#test').html('Render Done');
|
$('#test').html('Done render');
|
||||||
|
}
|
||||||
|
catch(err) {
|
||||||
|
document.getElementById("test").innerHTML = err.message;
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Reference in New Issue
Block a user