diff --git a/fullcalendar/fullcalendar.css b/fullcalendar/fullcalendar.css deleted file mode 100644 index 19bb0b0..0000000 --- a/fullcalendar/fullcalendar.css +++ /dev/null @@ -1,184 +0,0 @@ - -/* top area w/ month title and buttons */ - -.full-calendar-title { - text-align: left; - } - -.full-calendar-buttons { - float: right; - margin: 0 0 1em; - } - -.full-calendar-buttons button { - vertical-align: middle; - margin: 0 0 0 5px; - font-size: 1em; - } - -.full-calendar-buttons button span { - padding: 0 10px; - } - - /* To always display the "today" button: - * - * .full-calendar-buttons button.today { - * visibility: visible !important; - * } - */ - - - - -/* table layout & outer border */ - -.full-calendar-month-wrap { - clear: both; - border: 1px solid #ccc; /* outer border color & style */ - } - -.full-calendar-month { - width: 100%; - overflow: hidden; - } - -.full-calendar-month table { - border-collapse: collapse; - border-spacing: 0; - } - - - - -/* cell styling */ - -.full-calendar-month th, -.full-calendar-month td.day { - padding: 0; - vertical-align: top; - border-style: solid; /* inner border style */ - border-color: #ccc; /* inner border color */ - border-width: 1px 0 0 1px; - } - -.full-calendar-month th { - border-top: 0; - text-align: center; - } - -.full-calendar-month th.first, -.full-calendar-month td.first { - border-left: 0; - } - -.full-calendar-month td.today { - background: #FFFFCC; - } - -.full-calendar-month .day-number { - text-align: right; - padding: 0 2px; - } - -.full-calendar-month .other-month .day-number { - color: #bbb; - } - -.full-calendar-month .day-content { - padding: 2px 2px 0; /* distance between events and day edges */ - } - - /* FullCalendar automatically chooses a cell's height, - * but this can be overridden: - * - * .full-calendar-month td.day { - * height: 100px !important; - * } - */ - - - - -/* event styling */ - -.full-calendar-month .event { - margin-bottom: 2px; - font-size: .85em; - cursor: pointer; - text-align: left; - } - -.full-calendar-month .ui-draggable-dragging td { - cursor: move; - } - -.full-calendar-month .event td { - background: #C1D9EC; - padding: 0; - } - -.full-calendar-month .event td.ne, -.full-calendar-month .event td.nw, -.full-calendar-month .event td.se, -.full-calendar-month .event td.sw { - background: none; - width: 1px; /* <-- remove if you dont want "rounded" corners */ - height: 1px; /* <-- */ - } - -.full-calendar-month .nobg td { - background: none; - } - -.full-calendar-month .event td.c { - padding: 0 2px; - } - -.full-calendar-month .event-time { - font-weight: bold; - } - - /* To change the color of events on a per-class basis (such as with the - * "className" attribute of a CalEvent), do something like this: - * - * .full-calendar-month .myclass td { - * background: green; - * } - */ - - - - -/* the rectangle that covers a day when dragging an event */ - -.full-calendar-month .over-day { - background: #ADDBFF; - opacity: .2; - filter: alpha(opacity=20); /* for IE */ - } - - - - -/* right-to-left support */ - -.r2l .full-calendar-title { - text-align: right; - } - -.r2l .full-calendar-buttons { - float: left; - } - -.r2l .full-calendar-buttons button { - margin: 0 5px 0 0; - } - -.r2l .full-calendar-month .day-number { - text-align: left; - } - -.r2l .full-calendar-month .event { - text-align: right; - } - diff --git a/fullcalendar/fullcalendar.js b/fullcalendar/fullcalendar.js deleted file mode 100644 index d8d26eb..0000000 --- a/fullcalendar/fullcalendar.js +++ /dev/null @@ -1,1259 +0,0 @@ -/*! - * FullCalendar - * http://arshaw.com/fullcalendar/ - * - * use fullcalendar.css for basic styling - * requires jQuery UI core and draggables ONLY if you plan to do drag & drop - * - * Copyright (c) 2009 Adam Shaw - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - * - * Date: - * Revision: - */ - -(function($) { - - $.fn.fullCalendar = function(options) { - - - // - // Calls methods on a pre-existing instance - // - - if (typeof options == 'string') { - var args = Array.prototype.slice.call(arguments, 1); - var res; - this.each(function() { - var r = $.data(this, 'fullCalendar')[options].apply(this, args); - if (typeof res == 'undefined') res = r; - }); - if (typeof res != 'undefined') { - return res; - } - return this; - } - - - - // - // Process options - // - - options = options || {}; - - var r2l = options.rightToLeft; - var dis, dit; // day index sign / translate - if (r2l) { - dis = -1; - dit = 6; - this.addClass('r2l'); - }else{ - dis = 1; - dit = 0; - } - - var showTime = typeof options.showTime == 'undefined' ? 'guess' : options.showTime; - var bo = typeof options.buttons == 'undefined' ? true : options.buttons; - var weekStart = (options.weekStart || 0) % 7; - var timeFormat = options.timeFormat || 'gx'; - var titleFormat = options.titleFormat || (r2l ? 'Y F' : 'F Y'); - - - - // - // Rendering bug detection variables - // - - var tdTopBug, trTopBug, tbodyTopBug, sniffBugs = true; - - - - this.each(function() { - - - // - // Instance variables - // - - var date = options.year ? // holds the year & month of current month - new Date(options.year, options.month || 0, 1) : - new Date(); - var start, end; // first & last VISIBLE dates - var today; - var numWeeks; - var ignoreResizes = false; - - var events = []; - var eventSources = options.eventSources || []; - if (options.events) eventSources.push(options.events); - - - - // - // Month navigation functions - // - - function refreshMonth() { - clearEventElements(); - render(); - } - - function prevMonth() { - addMonths(date, -1); - refreshMonth(); - } - - function nextMonth() { - addMonths(date, 1); - refreshMonth(); - } - - function gotoToday() { - date = new Date(); - refreshMonth(); - } - - function gotoMonth(year, month) { - date = new Date(year, month, 1); - refreshMonth(); - } - - function prevYear() { - addYears(date, -1); - refreshMonth(); - } - - function nextYear() { - addYears(date, 1); - refreshMonth(); - } - - - - // - // Publicly accessible methods - // - - $.data(this, 'fullCalendar', { - refresh: refreshMonth, - prevMonth: prevMonth, - nextMonth: nextMonth, - today: gotoToday, - gotoMonth: gotoMonth, - prevYear: prevYear, - nextYear: nextYear, - - - // - // Event CRUD - // - - addEvent: function(event) { - events.push(normalizeEvent(event)); - clearEventElements(); - renderEvents(); - }, - - updateEvent: function(event) { - event.start = $.fullCalendar.parseDate(event.start); - event.end = $.fullCalendar.parseDate(event.end); - var startDelta = event.start - event._start; - var msLength = event.end - event.start; - event._start = cloneDate(event.start); - for (var i=0; i").appendTo(this); - - if (bo) { // "button options" - var buttons = $("
").appendTo(header); - if (bo == true || bo.today !== false) { - todayButton = $("