CC-2159 : Upgrade Airtime to jQuery 1.5

removed now unneeded element render js, removed unused fullcalendar callbacks.
Checking in Fullcalendar print css
This commit is contained in:
Naomi 2011-04-13 09:40:23 -04:00
parent b034958fc5
commit 509952cc78
3 changed files with 62 additions and 20 deletions

View file

@ -0,0 +1,61 @@
/*
* FullCalendar v1.5 Print Stylesheet
*
* Include this stylesheet on your page to get a more printer-friendly calendar.
* When including this stylesheet, use the media='print' attribute of the <link> tag.
* Make sure to include this stylesheet IN ADDITION to the regular fullcalendar.css.
*
* Copyright (c) 2011 Adam Shaw
* Dual licensed under the MIT and GPL licenses, located in
* MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
*
* Date: Sat Mar 19 18:59:37 2011 -0700
*
*/
/* Events
-----------------------------------------------------*/
.fc-event-skin {
background: none !important;
color: #000 !important;
}
/* horizontal events */
.fc-event-hori {
border-width: 0 0 1px 0 !important;
border-bottom-style: dotted !important;
border-bottom-color: #000 !important;
padding: 1px 0 0 0 !important;
}
.fc-event-hori .fc-event-inner {
border-width: 0 !important;
padding: 0 1px !important;
}
/* vertical events */
.fc-event-vert {
border-width: 0 0 0 1px !important;
border-left-style: dotted !important;
border-left-color: #000 !important;
padding: 0 1px 0 0 !important;
}
.fc-event-vert .fc-event-inner {
border-width: 0 !important;
padding: 1px 0 !important;
}
.fc-event-bg {
display: none !important;
}
.fc-event .ui-resizable-handle {
display: none !important;
}

View file

@ -175,17 +175,11 @@ function eventRender(event, element, view) {
.css('margin-top', '5px')
.css('margin-left', 'auto')
.css('margin-right', 'auto')
.css('text-align', 'center')
.progressbar({
value: event.percent
});
if(event.percent === 0) {
// even at 0, the bar still seems to display a little bit of progress...
div.find("div").hide();
}
$(element).find(".fc-event-title").after(div);
$(element).find(".fc-event-content").append(div);
}
//add the record/rebroadcast icons if needed.
@ -228,16 +222,6 @@ function eventAfterRender( event, element, view ) {
{xposition: "mouse", yposition: "mouse"});
}
function eventClick(event, jsEvent, view) {
var x;
}
function eventMouseover(event, jsEvent, view) {
}
function eventMouseout(event, jsEvent, view) {
}
function eventDrop(event, dayDelta, minuteDelta, allDay, revertFunc, jsEvent, ui, view) {
var url;

View file

@ -265,9 +265,6 @@ $(window).load(function() {
dayClick: dayClick,
eventRender: eventRender,
eventAfterRender: eventAfterRender,
eventClick: eventClick,
eventMouseover: eventMouseover,
eventMouseout: eventMouseout,
eventDrop: eventDrop,
eventResize: eventResize
});