File Manager

Path: /home/heznutpr/log.heznutprivate.com/dashboard/assets/js/page/

Viewing File: calendar.demo.min.js

/*
Template Name: Infinite - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.7
Version: 1.0
Author: Sean Ngu
Website: http://www.seantheme.com/infinite-admin/admin/html/
*/var handleRenderFullcalendar=function(){$("#external-events .fc-event").each(function(){$(this).data("event",{title:$.trim($(this).text()),stick:!0}),$(this).draggable({zIndex:999,revert:!0,revertDuration:0})});var t=new Date,e=t.getMonth()+1;e=e<10?"0"+e:e;var a=t.getFullYear(),l=a+"-"+e+"-"+t.getDate(),r=$(window).height()-$("#calendar").offset().top-70;$("#calendar").fullCalendar({header:{left:"prev,next today",center:"title",right:"month,agendaWeek,agendaDay,listMonth"},defaultDate:l,navLinks:!0,businessHours:!0,locale:"en",editable:!0,droppable:!0,contentHeight:r,events:[{title:"Trip to London",start:a+"-"+e+"-01",end:a+"-"+e+"-05"},{title:"Meet with Riki",start:a+"-"+e+"-02T06:00:00",color:PRIMARY_COLOR},{title:"Meet with Harve",start:a+"-"+e+"-02T12:00:00",color:PRIMARY_COLOR},{title:"Stonehenge, Windsor Castle, Oxford",start:a+"-"+e+"-05T08:45:00",color:PRIMARY_COLOR},{title:"Paris Trip",start:a+"-"+e+"-12",end:a+"-"+e+"-18"},{title:"Domain name due",start:a+"-"+e+"-15",color:PRIMARY_COLOR},{title:"Cambridge Trip",start:a+"-"+e+"-19"},{title:"Visit Apple Company",start:a+"-"+e+"-22T05:00:00",color:PRIMARY_COLOR},{title:"Exercise Class",start:a+"-"+e+"-22T07:30:00",color:PRIMARY_COLOR},{title:"Live Recording",start:a+"-"+e+"-22T03:00:00",color:PRIMARY_COLOR},{title:"New Android App Discussion",start:a+"-"+e+"-25T08:00:00",end:a+"-"+e+"-25T10:00:00",color:PRIMARY_COLOR},{title:"Marketing Plan Presentation",start:a+"-"+e+"-25T12:00:00",end:a+"-"+e+"-25T14:00:00",color:PRIMARY_COLOR},{title:"Chase due",start:a+"-"+e+"-26T12:00:00",color:WARNING_COLOR},{title:"Heartguard",start:a+"-"+e+"-26T08:00:00",color:WARNING_COLOR},{title:"Lunch with Richard",start:a+"-"+e+"-28T14:00:00",color:PRIMARY_COLOR},{title:"Web Hosting due",start:a+"-"+e+"-30",color:PRIMARY_COLOR}]}),$.each($.fullCalendar.locales,function(t){$("#locale-selector").append($("<option/>").attr("value",t).prop("selected","en"==t).text(t))}),$("#locale-selector").on("change",function(){this.value&&$("#calendar").fullCalendar("option","locale",this.value)})},Calendar=function(){"use strict";return{init:function(){handleRenderFullcalendar()}}}();