|
@@ -81,7 +81,7 @@ var AgendaView = FC.AgendaView = View.extend({
|
|
|
this.timeGrid.renderDates();
|
|
this.timeGrid.renderDates();
|
|
|
|
|
|
|
|
// the <hr> that sometimes displays under the time-grid
|
|
// the <hr> that sometimes displays under the time-grid
|
|
|
- this.bottomRuleEl = $('<hr class="fc-divider ' + this.widgetHeaderClass + '"/>')
|
|
|
|
|
|
|
+ this.bottomRuleEl = $('<hr class="fc-divider ' + this.calendar.theme.getClass('widgetHeader') + '"/>')
|
|
|
.appendTo(this.timeGrid.el); // inject it into the time-grid
|
|
.appendTo(this.timeGrid.el); // inject it into the time-grid
|
|
|
|
|
|
|
|
if (this.dayGrid) {
|
|
if (this.dayGrid) {
|
|
@@ -126,15 +126,15 @@ var AgendaView = FC.AgendaView = View.extend({
|
|
|
'<table class="' + this.calendar.theme.getClass('tableGrid') + '">' +
|
|
'<table class="' + this.calendar.theme.getClass('tableGrid') + '">' +
|
|
|
'<thead class="fc-head">' +
|
|
'<thead class="fc-head">' +
|
|
|
'<tr>' +
|
|
'<tr>' +
|
|
|
- '<td class="fc-head-container ' + this.widgetHeaderClass + '"></td>' +
|
|
|
|
|
|
|
+ '<td class="fc-head-container ' + this.calendar.theme.getClass('widgetHeader') + '"></td>' +
|
|
|
'</tr>' +
|
|
'</tr>' +
|
|
|
'</thead>' +
|
|
'</thead>' +
|
|
|
'<tbody class="fc-body">' +
|
|
'<tbody class="fc-body">' +
|
|
|
'<tr>' +
|
|
'<tr>' +
|
|
|
- '<td class="' + this.widgetContentClass + '">' +
|
|
|
|
|
|
|
+ '<td class="' + this.calendar.theme.getClass('widgetContent') + '">' +
|
|
|
(this.dayGrid ?
|
|
(this.dayGrid ?
|
|
|
'<div class="fc-day-grid"/>' +
|
|
'<div class="fc-day-grid"/>' +
|
|
|
- '<hr class="fc-divider ' + this.widgetHeaderClass + '"/>' :
|
|
|
|
|
|
|
+ '<hr class="fc-divider ' + this.calendar.theme.getClass('widgetHeader') + '"/>' :
|
|
|
''
|
|
''
|
|
|
) +
|
|
) +
|
|
|
'</td>' +
|
|
'</td>' +
|
|
@@ -482,7 +482,7 @@ var agendaTimeGridMethods = {
|
|
|
weekText = this.start.format(view.opt('smallWeekFormat'));
|
|
weekText = this.start.format(view.opt('smallWeekFormat'));
|
|
|
|
|
|
|
|
return '' +
|
|
return '' +
|
|
|
- '<th class="fc-axis fc-week-number ' + view.widgetHeaderClass + '" ' + view.axisStyleAttr() + '>' +
|
|
|
|
|
|
|
+ '<th class="fc-axis fc-week-number ' + view.calendar.theme.getClass('widgetHeader') + '" ' + view.axisStyleAttr() + '>' +
|
|
|
view.buildGotoAnchorHtml( // aside from link, important for matchCellWidths
|
|
view.buildGotoAnchorHtml( // aside from link, important for matchCellWidths
|
|
|
{ date: this.start, type: 'week', forceOff: this.colCnt > 1 },
|
|
{ date: this.start, type: 'week', forceOff: this.colCnt > 1 },
|
|
|
htmlEscape(weekText) // inner HTML
|
|
htmlEscape(weekText) // inner HTML
|
|
@@ -490,7 +490,7 @@ var agendaTimeGridMethods = {
|
|
|
'</th>';
|
|
'</th>';
|
|
|
}
|
|
}
|
|
|
else {
|
|
else {
|
|
|
- return '<th class="fc-axis ' + view.widgetHeaderClass + '" ' + view.axisStyleAttr() + '></th>';
|
|
|
|
|
|
|
+ return '<th class="fc-axis ' + view.calendar.theme.getClass('widgetHeader') + '" ' + view.axisStyleAttr() + '></th>';
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
|
|
|
|
@@ -499,7 +499,7 @@ var agendaTimeGridMethods = {
|
|
|
renderBgIntroHtml: function() {
|
|
renderBgIntroHtml: function() {
|
|
|
var view = this.view;
|
|
var view = this.view;
|
|
|
|
|
|
|
|
- return '<td class="fc-axis ' + view.widgetContentClass + '" ' + view.axisStyleAttr() + '></td>';
|
|
|
|
|
|
|
+ return '<td class="fc-axis ' + view.calendar.theme.getClass('widgetContent') + '" ' + view.axisStyleAttr() + '></td>';
|
|
|
},
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
@@ -523,7 +523,7 @@ var agendaDayGridMethods = {
|
|
|
var view = this.view;
|
|
var view = this.view;
|
|
|
|
|
|
|
|
return '' +
|
|
return '' +
|
|
|
- '<td class="fc-axis ' + view.widgetContentClass + '" ' + view.axisStyleAttr() + '>' +
|
|
|
|
|
|
|
+ '<td class="fc-axis ' + view.calendar.theme.getClass('widgetContent') + '" ' + view.axisStyleAttr() + '>' +
|
|
|
'<span>' + // needed for matchCellWidths
|
|
'<span>' + // needed for matchCellWidths
|
|
|
view.getAllDayHtml() +
|
|
view.getAllDayHtml() +
|
|
|
'</span>' +
|
|
'</span>' +
|