Mostly new graphics for the calendar page

This commit is contained in:
Albert Santoni 2015-08-10 17:11:40 -04:00
parent a28df91c56
commit 849b8038ce
10 changed files with 60 additions and 43 deletions

View file

@ -28,10 +28,11 @@ function openAddShowForm(nowOrFuture) {
function makeAddShowButton() {
if($('.add-button').length === 0) {
$('.fc-header-left')
.append('<span class="fc-header-space"></span>')
.append('<span class="fc-button">' +
'<button onclick="showForm()" class="add-button">' +
'<span class="add-icon"></span>' + $.i18n._("Create New Show") +
.prepend('<span class="fc-header-space"></span>')
.prepend('<span class="btn-group">' +
'<button onclick="showForm()" class="add-button btn btn-small">' +
'<i class="icon-white icon-plus"></i>' +
'<span>' + $.i18n._("New Show") + '</span>' +
'</button>' +
'</span>');
}

View file

@ -364,6 +364,9 @@ function getFullCalendarEvents(start, end, callback) {
getUsabilityHint();
});
}
$(".fc-button").addClass("btn").addClass("btn-small");
//$("span.fc-button > :button").addClass("btn btn-small");
}
function checkSCUploadStatus(){

View file

@ -269,10 +269,10 @@ function createFullCalendar(data){
$.i18n._('Dec')
],
buttonText: {
today: $.i18n._('today'),
month: $.i18n._('month'),
week: $.i18n._('week'),
day: $.i18n._('day')
today: $.i18n._('Today'),
month: $.i18n._('Month'),
week: $.i18n._('Week'),
day: $.i18n._('Day')
},
dayNames: [
$.i18n._('Sunday'),