first commit
This commit is contained in:
@@ -0,0 +1,62 @@
|
||||
<!-- Main content -->
|
||||
<div class="content-wrapper">
|
||||
<?php include('common/userstrip.php'); ?>
|
||||
<!-- Marketing campaigns -->
|
||||
<div class="panel panel-flat">
|
||||
<div class="panel-heading">
|
||||
<h5 class="panel-title">My Events Calendar</h5>
|
||||
<p class="content-group">Your calendar shows your activities, communication and upcoming deadlines.</p>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /marketing campaigns -->
|
||||
<!-- Event colors -->
|
||||
<div class="panel panel-flat">
|
||||
<div class="panel-body">
|
||||
<div class="fullcalendar-event-colors2"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /event colors -->
|
||||
</div>
|
||||
<!-- /main content -->
|
||||
<?php
|
||||
$myr= " {
|
||||
title: 'Dynamic Event',
|
||||
start: '2017-04-09T16:00:00',
|
||||
color: '#26A69A'
|
||||
},";
|
||||
|
||||
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
|
||||
/* ------------------------------------------------------------------------------
|
||||
*
|
||||
* # Fullcalendar basic options
|
||||
|
||||
*
|
||||
* ---------------------------------------------------------------------------- */
|
||||
|
||||
$(function() {
|
||||
|
||||
// Event colors
|
||||
var eventColors = [
|
||||
<?php echo $calendar_data; ?>
|
||||
];
|
||||
|
||||
// Event colors
|
||||
$('.fullcalendar-event-colors2').fullCalendar({
|
||||
header: {
|
||||
left: 'prev,next today',
|
||||
center: 'title',
|
||||
right: 'month,agendaWeek,agendaDay'
|
||||
},
|
||||
defaultDate: '<?php echo $current_month;?>',
|
||||
editable: true,
|
||||
events: eventColors
|
||||
});
|
||||
});
|
||||
|
||||
// -->
|
||||
|
||||
</script>
|
||||
Reference in New Issue
Block a user