1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update schedules direct

This commit is contained in:
Luke Pulverenti 2015-08-15 16:33:53 -04:00
parent 7f44f00a69
commit 5060d1766f
8 changed files with 22 additions and 20 deletions

View file

@ -29,14 +29,14 @@
"web-component-tester": "*",
"webcomponentsjs": "webcomponents/webcomponentsjs#^0.7.0"
},
"homepage": "https://github.com/PolymerElements/iron-a11y-keys-behavior",
"homepage": "https://github.com/polymerelements/iron-a11y-keys-behavior",
"_release": "1.0.5",
"_resolution": {
"type": "version",
"tag": "v1.0.5",
"commit": "cf833eab5c55a26c5aa92e56d3fcb079120ce66a"
},
"_source": "git://github.com/PolymerElements/iron-a11y-keys-behavior.git",
"_source": "git://github.com/polymerelements/iron-a11y-keys-behavior.git",
"_target": "^1.0.0",
"_originalSource": "PolymerElements/iron-a11y-keys-behavior"
"_originalSource": "polymerelements/iron-a11y-keys-behavior"
}

View file

@ -34,7 +34,7 @@
"tag": "v1.0.11",
"commit": "347542e9ebe3e6e5f0830ee10e1c20c12956ff2c"
},
"_source": "git://github.com/PolymerElements/paper-styles.git",
"_source": "git://github.com/polymerelements/paper-styles.git",
"_target": "^1.0.0",
"_originalSource": "PolymerElements/paper-styles"
"_originalSource": "polymerelements/paper-styles"
}

View file

@ -1231,7 +1231,7 @@ span.itemCommunityRating:not(:empty) + .userDataIcons {
margin-right: auto;
}
@media all and (min-height: 520px) {
@media all and (min-height: 480px) {
.alphabetPicker {
display: block;

View file

@ -101,7 +101,7 @@
var cacheDuration;
if (AppInfo.isNativeApp) {
cacheDuration = 600000;
cacheDuration = 300000;
}
else if ($.browser.ipad || $.browser.iphone || $.browser.android) {
cacheDuration = 10000;
@ -247,9 +247,11 @@
// When transition animations are used, add a content loading delay to allow the animations to finish
// Otherwise with both operations happening at the same time, it can cause the animation to not run at full speed.
var delay = LibraryBrowser.enableFullPaperTabs() ? 500 : 0;
var enablePaperTabs = LibraryBrowser.enableFullPaperTabs();
var delay = enablePaperTabs ? 500 : 0;
var pgs = this;
setTimeout(function () {
$(pgs).trigger('tabchange');
}, delay);
});
@ -1129,7 +1131,7 @@
if (item.UserData.UnplayedItemCount) {
//html += '<span class="ui-li-count">' + item.UserData.UnplayedItemCount + '</span>';
} else if (item.UserData.Played && item.Type != 'TvChannel') {
html += '<div class="playedIndicator"><i class="fa fa-check"></i></div>';
html += '<div class="playedIndicator"><iron-icon icon="check"></iron-icon></div>';
}
}
html += '</a>';
@ -2162,7 +2164,7 @@
if (item.SyncPercent) {
if (item.SyncPercent >= 100) {
return '<div class="syncIndicator"><i class="fa fa-refresh"></i></div>';
return '<div class="syncIndicator"><iron-icon icon="refresh"></iron-icon></div>';
}
var degree = (item.SyncPercent / 100) * 360;

View file

@ -10,7 +10,7 @@
var info = config.ListingProviders.filter(function (i) {
return i.Id == providerId;
})[0];
})[0] || {};
listingsId = info.ListingsId;
$('#selectListing', page).val(info.ListingsId || '').selectmenu('refresh');

View file

@ -390,10 +390,10 @@
var menuItems = [];
//menuItems.push({
// name: 'Schedules Direct',
// id: 'SchedulesDirect'
//});
menuItems.push({
name: 'Schedules Direct',
id: 'SchedulesDirect'
});
//menuItems.push({
// name: 'Emby Guide',

View file

@ -21,7 +21,6 @@
view: LibraryBrowser.getSavedView(key) || LibraryBrowser.getDefaultItemsView('Poster', 'Poster')
};
pageData.query.ParentId = LibraryMenu.getTopParentId();
LibraryBrowser.loadSavedQueryValues(key, pageData.query);
}
return pageData;

View file

@ -2,7 +2,7 @@
var currentDialogOptions;
function submitJob(userId, syncOptions, form) {
function submitJob(panel, userId, syncOptions, form) {
if (!userId) {
throw new Error('userId cannot be null');
@ -46,11 +46,12 @@
type: "POST",
url: ApiClient.getUrl("Sync/Jobs"),
data: JSON.stringify(options),
contentType: "application/json"
contentType: "application/json",
dataType: 'json'
}).done(function () {
$('.syncPanel').panel('close');
panel.panel('close');
$(window.SyncManager).trigger('jobsubmit');
Dashboard.alert(Globalize.translate('MessageSyncJobCreated'));
});
@ -256,7 +257,7 @@
$('form', elem).on('submit', function () {
submitJob(userId, options, this);
submitJob(elem, userId, options, this);
return false;
});