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

update tabs

This commit is contained in:
Luke Pulverenti 2015-09-01 10:01:59 -04:00
parent 382dea3748
commit 9ea282ff39
129 changed files with 371 additions and 418 deletions

View file

@ -2149,7 +2149,7 @@ var AppInfo = {};
capabilities.DeviceProfile = MediaPlayer.getDeviceProfile(Math.max(screen.height, screen.width));
createConnectionManager(capabilities).done(function () { onConnectionManagerCreated(deferred); });
//$(document.body).append('<div style="background:#3F51B5;position:fixed;z-index:999999;top:1px;left:1px;width:800px;height:450px;display:flex;align-items:center;justify-content:center;"><iron-icon icon="live-tv" style="width:320px;height:320px;color:#fff;"></iron-icon></div>');
//$(document.body).append('<div style="background:#00ACC1;position:fixed;z-index:999999;top:1px;left:1px;width:800px;height:450px;display:flex;align-items:center;justify-content:center;"><iron-icon icon="ondemand-video" style="width:320px;height:320px;color:#fff;"></iron-icon></div>');
});
}
@ -2272,15 +2272,12 @@ $(document).on('pagecreate', ".page", function () {
document.body.classList.remove('darkScrollbars');
}
}).on('pageinit', ".page", function () {
var page = this;
Events.trigger(page, 'pageinitdepends');
}).on('pageshow', ".page", function () {
var page = this;
Dashboard.ensurePageTitle(page);
var apiClient = window.ApiClient;
if (apiClient && apiClient.accessToken() && Dashboard.getCurrentUserId()) {
@ -2294,7 +2291,6 @@ $(document).on('pagecreate', ".page", function () {
if (!user.Policy.IsAdministrator) {
Dashboard.logout();
return;
}
});
}