2013-05-08 08:23:17 +00:00
|
|
|
{{$tabs}}
|
2014-10-10 13:52:56 +00:00
|
|
|
<div class="generic-content-wrapper-styled">
|
2013-05-08 08:23:17 +00:00
|
|
|
<h2>{{$title}}</h2>
|
2012-02-15 11:47:50 +00:00
|
|
|
|
2014-11-25 04:40:00 +00:00
|
|
|
|
|
|
|
<div id="export-event-link"><button class="btn btn-default btn-sm" onclick="exportDate(); return false;" >{{$export.1}}</button></div>
|
|
|
|
<div id="new-event-link"><button class="btn btn-default btn-sm" onclick="window.location.href='{{$new_event.0}}'; return false;" >{{$new_event.1}}</button></div>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
function exportDate() {
|
|
|
|
var moment = $('#events-calendar').fullCalendar('getDate');
|
|
|
|
var sT = 'events/' + moment.getFullYear() + '/' + (moment.getMonth() + 1) + '/export';
|
|
|
|
window.location.href=sT;
|
|
|
|
}
|
|
|
|
</script>
|
2012-02-15 11:47:50 +00:00
|
|
|
|
|
|
|
<div id="events-calendar"></div>
|
2014-10-09 14:54:04 +00:00
|
|
|
</div>
|