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

Merge pull request #597 from dkanada/firefox

Minor changes to improve Firefox support
This commit is contained in:
dkanada 2019-12-04 01:27:48 +09:00 committed by GitHub
commit fa6a90f0f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 45 additions and 161 deletions

View file

@ -44,7 +44,7 @@ Jellyfin Web is the frontend used for most of the clients available for end user
### Dependencies ### Dependencies
- Yarn - Yarn
### Getting Started ### Getting Started
@ -58,8 +58,7 @@ Jellyfin Web is the frontend used for most of the clients available for end user
yarn install yarn install
``` ```
3. Run webpack dev server 3. Run the web client with webpack for local development.
```sh ```sh
yarn serve yarn serve
``` ```

View file

@ -1,3 +0,0 @@
{
"main": "actionsheet.js"
}

View file

@ -1,4 +1,4 @@
define(['browser', 'connectionManager', 'playbackManager', 'dom', 'css!./style'], function (browser, connectionManager, playbackManager, dom) { define(['browser', 'connectionManager', 'playbackManager', 'dom', 'css!./backdrop'], function (browser, connectionManager, playbackManager, dom) {
'use strict'; 'use strict';
function enableAnimation(elem) { function enableAnimation(elem) {

View file

@ -1,3 +0,0 @@
{
"main": "backdrop.js"
}

View file

@ -1,3 +0,0 @@
{
"main": "dialog.js"
}

View file

@ -1,3 +0,0 @@
{
"main": "dialogHelper.js"
}

View file

@ -1,3 +0,0 @@
{
"main": "emby-input.js"
}

View file

@ -1,3 +0,0 @@
{
"main": "emby-radio.js"
}

View file

@ -1,3 +0,0 @@
{
"main": "emby-tabs.js"
}

View file

@ -1,3 +0,0 @@
{
"main": "headroom.js"
}

View file

@ -104,32 +104,21 @@
</div> </div>
<div class="verticalSection verticalSection-extrabottompadding"> <div class="verticalSection verticalSection-extrabottompadding">
<h2 class="sectionTitle">${HeaderLibraryOrder}</h2>
<h2 class="sectionTitle"> <div class="paperList viewOrderList"></div>
${HeaderLibraryOrder}
</h2>
<div class="paperList viewOrderList">
</div>
</div> </div>
<div class="perLibrarySettings"> <div class="perLibrarySettings"></div>
</div>
<div class="verticalSection verticalSection-extrabottompadding"> <div class="verticalSection verticalSection-extrabottompadding">
<label class="checkboxContainer"> <label class="checkboxContainer">
<input class="chkHidePlayedFromLatest" type="checkbox" is="emby-checkbox" /> <input class="chkHidePlayedFromLatest" type="checkbox" is="emby-checkbox" />
<span>${HideWatchedContentFromLatestMedia}</span> <span>${HideWatchedContentFromLatestMedia}</span>
</label> </label>
</div> </div>
<div class="verticalSection verticalSection-extrabottompadding"> <div class="verticalSection verticalSection-extrabottompadding">
<h2 class="sectionTitle"> <h2 class="sectionTitle">${HeaderLibraryFolders}</h2>
${HeaderLibraryFolders}
</h2>
<div> <div>
<p>${LabelSelectFolderGroups}</p> <p>${LabelSelectFolderGroups}</p>
<div class="folderGroupList"></div> <div class="folderGroupList"></div>

View file

@ -1,3 +0,0 @@
{
"main": "navdrawer.js"
}

View file

@ -2,7 +2,6 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
'use strict'; 'use strict';
function onOneDocumentClick() { function onOneDocumentClick() {
document.removeEventListener('click', onOneDocumentClick); document.removeEventListener('click', onOneDocumentClick);
document.removeEventListener('keydown', onOneDocumentClick); document.removeEventListener('keydown', onOneDocumentClick);
@ -10,15 +9,14 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
Notification.requestPermission(); Notification.requestPermission();
} }
} }
document.addEventListener('click', onOneDocumentClick); document.addEventListener('click', onOneDocumentClick);
document.addEventListener('keydown', onOneDocumentClick); document.addEventListener('keydown', onOneDocumentClick);
var serviceWorkerRegistration; var serviceWorkerRegistration;
function closeAfter(notification, timeoutMs) { function closeAfter(notification, timeoutMs) {
setTimeout(function () { setTimeout(function () {
if (notification.close) { if (notification.close) {
notification.close(); notification.close();
} else if (notification.cancel) { } else if (notification.cancel) {
@ -28,9 +26,7 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
} }
function resetRegistration() { function resetRegistration() {
var serviceWorker = navigator.serviceWorker; var serviceWorker = navigator.serviceWorker;
if (serviceWorker) { if (serviceWorker) {
serviceWorker.ready.then(function (registration) { serviceWorker.ready.then(function (registration) {
serviceWorkerRegistration = registration; serviceWorkerRegistration = registration;
@ -269,4 +265,4 @@ define(['serverNotifications', 'playbackManager', 'events', 'globalize', 'requir
showNotification(notification, 0, apiClient); showNotification(notification, 0, apiClient);
}); });
}); });

View file

@ -1,3 +0,0 @@
{
"main": "toast.js"
}

View file

@ -1,8 +1,7 @@
define(['appSettings', 'events'], function (appsettings, events) { define(['appSettings', 'events'], function (appSettings, events) {
'use strict'; 'use strict';
function onSaveTimeout() { function onSaveTimeout() {
var self = this; var self = this;
self.saveTimeout = null; self.saveTimeout = null;
self.currentApiClient.updateDisplayPreferences('usersettings', self.displayPrefs, self.currentUserId, 'emby'); self.currentApiClient.updateDisplayPreferences('usersettings', self.displayPrefs, self.currentUserId, 'emby');
@ -12,6 +11,7 @@ define(['appSettings', 'events'], function (appsettings, events) {
if (instance.saveTimeout) { if (instance.saveTimeout) {
clearTimeout(instance.saveTimeout); clearTimeout(instance.saveTimeout);
} }
instance.saveTimeout = setTimeout(onSaveTimeout.bind(instance), 50); instance.saveTimeout = setTimeout(onSaveTimeout.bind(instance), 50);
} }
@ -19,7 +19,6 @@ define(['appSettings', 'events'], function (appsettings, events) {
} }
UserSettings.prototype.setUserInfo = function (userId, apiClient) { UserSettings.prototype.setUserInfo = function (userId, apiClient) {
if (this.saveTimeout) { if (this.saveTimeout) {
clearTimeout(this.saveTimeout); clearTimeout(this.saveTimeout);
} }
@ -49,14 +48,9 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.set = function (name, value, enableOnServer) { UserSettings.prototype.set = function (name, value, enableOnServer) {
var userId = this.currentUserId; var userId = this.currentUserId;
if (!userId) {
throw new Error('userId cannot be null');
}
var currentValue = this.get(name, enableOnServer); var currentValue = this.get(name, enableOnServer);
var result = appsettings.set(name, value, userId); var result = appSettings.set(name, value, userId);
if (enableOnServer !== false && this.displayPrefs) { if (enableOnServer !== false && this.displayPrefs) {
this.displayPrefs.CustomPrefs[name] = value == null ? value : value.toString(); this.displayPrefs.CustomPrefs[name] = value == null ? value : value.toString();
@ -72,108 +66,70 @@ define(['appSettings', 'events'], function (appsettings, events) {
UserSettings.prototype.get = function (name, enableOnServer) { UserSettings.prototype.get = function (name, enableOnServer) {
var userId = this.currentUserId; var userId = this.currentUserId;
if (!userId) { if (enableOnServer !== false && this.displayPrefs) {
// TODO: I'd like to continue to throw this exception but it causes issues with offline use return this.displayPrefs.CustomPrefs[name];
// Revisit in the future and restore it
return null;
//throw new Error('userId cannot be null');
} }
if (enableOnServer !== false) { return appSettings.get(name, userId);
if (this.displayPrefs) {
return this.displayPrefs.CustomPrefs[name];
}
}
return appsettings.get(name, userId);
}; };
UserSettings.prototype.serverConfig = function (config) { UserSettings.prototype.serverConfig = function (config) {
var apiClient = this.currentApiClient; var apiClient = this.currentApiClient;
if (config) { if (config) {
return apiClient.updateUserConfiguration(this.currentUserId, config); return apiClient.updateUserConfiguration(this.currentUserId, config);
} else {
return apiClient.getUser(this.currentUserId).then(function (user) {
return user.Configuration;
});
} }
return apiClient.getUser(this.currentUserId).then(function (user) {
return user.Configuration;
});
}; };
UserSettings.prototype.enableCinemaMode = function (val) { UserSettings.prototype.enableCinemaMode = function (val) {
if (val != null) { if (val != null) {
return this.set('enableCinemaMode', val.toString(), false); return this.set('enableCinemaMode', val.toString(), false);
} }
val = this.get('enableCinemaMode', false); val = this.get('enableCinemaMode', false);
return val !== 'false';
if (val) {
return val !== 'false';
}
return true;
}; };
UserSettings.prototype.enableNextVideoInfoOverlay = function (val) { UserSettings.prototype.enableNextVideoInfoOverlay = function (val) {
if (val != null) { if (val != null) {
return this.set('enableNextVideoInfoOverlay', val.toString()); return this.set('enableNextVideoInfoOverlay', val.toString());
} }
val = this.get('enableNextVideoInfoOverlay'); val = this.get('enableNextVideoInfoOverlay', false);
return val !== 'false'; return val !== 'false';
}; };
UserSettings.prototype.enableThemeSongs = function (val) { UserSettings.prototype.enableThemeSongs = function (val) {
if (val != null) { if (val != null) {
return this.set('enableThemeSongs', val.toString(), false); return this.set('enableThemeSongs', val.toString(), false);
} }
val = this.get('enableThemeSongs', false); val = this.get('enableThemeSongs', false);
return val !== 'false'; return val !== 'false';
}; };
UserSettings.prototype.enableThemeVideos = function (val) { UserSettings.prototype.enableThemeVideos = function (val) {
if (val != null) { if (val != null) {
return this.set('enableThemeVideos', val.toString(), false); return this.set('enableThemeVideos', val.toString(), false);
} }
val = this.get('enableThemeVideos', false); val = this.get('enableThemeVideos', false);
return val !== 'false';
if (val) {
return val !== 'false';
}
return UserSettings.defaults.enableThemeVideos;
}; };
UserSettings.prototype.enableBackdrops = function (val) { UserSettings.prototype.enableBackdrops = function (val) {
if (val != null) { if (val != null) {
return this.set('enableBackdrops', val.toString(), false); return this.set('enableBackdrops', val.toString(), false);
} }
val = this.get('enableBackdrops', false); val = this.get('enableBackdrops', false);
return val !== 'false';
if (val) {
return val !== 'false';
}
return UserSettings.defaults.enableBackdrops;
}; };
UserSettings.prototype.language = function (val) { UserSettings.prototype.language = function (val) {
if (val != null) { if (val != null) {
return this.set('language', val.toString(), false); return this.set('language', val.toString(), false);
} }
@ -182,7 +138,6 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.dateTimeLocale = function (val) { UserSettings.prototype.dateTimeLocale = function (val) {
if (val != null) { if (val != null) {
return this.set('datetimelocale', val.toString(), false); return this.set('datetimelocale', val.toString(), false);
} }
@ -191,7 +146,6 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.skipBackLength = function (val) { UserSettings.prototype.skipBackLength = function (val) {
if (val != null) { if (val != null) {
return this.set('skipBackLength', val.toString()); return this.set('skipBackLength', val.toString());
} }
@ -200,7 +154,6 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.skipForwardLength = function (val) { UserSettings.prototype.skipForwardLength = function (val) {
if (val != null) { if (val != null) {
return this.set('skipForwardLength', val.toString()); return this.set('skipForwardLength', val.toString());
} }
@ -209,7 +162,6 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.dashboardTheme = function (val) { UserSettings.prototype.dashboardTheme = function (val) {
if (val != null) { if (val != null) {
return this.set('dashboardTheme', val); return this.set('dashboardTheme', val);
} }
@ -218,55 +170,41 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.skin = function (val) { UserSettings.prototype.skin = function (val) {
if (val != null) { if (val != null) {
return this.set('skin', val, false); return this.set('skin', val, false);
} }
return this.get('skin', false) || UserSettings.defaults.skin; return this.get('skin', false);
}; };
UserSettings.prototype.theme = function (val) { UserSettings.prototype.theme = function (val) {
if (val != null) { if (val != null) {
return this.set('appTheme', val, false); return this.set('appTheme', val, false);
} }
return this.get('appTheme', false) || UserSettings.defaults.theme; return this.get('appTheme', false);
}; };
UserSettings.prototype.screensaver = function (val) { UserSettings.prototype.screensaver = function (val) {
if (val != null) { if (val != null) {
return this.set('screensaver', val, false); return this.set('screensaver', val, false);
} }
return this.get('screensaver', false) || UserSettings.defaults.screensaver; return this.get('screensaver', false);
}; };
UserSettings.prototype.soundEffects = function (val) { UserSettings.prototype.soundEffects = function (val) {
if (val != null) { if (val != null) {
return this.set('soundeffects', val, false); return this.set('soundeffects', val, false);
} }
return this.get('soundeffects', false) || UserSettings.defaults.soundEffects; return this.get('soundeffects', false);
};
// apps should set these values
UserSettings.defaults = {
theme: null,
enableThemeVideos: true
}; };
UserSettings.prototype.loadQuerySettings = function (key, query) { UserSettings.prototype.loadQuerySettings = function (key, query) {
var values = this.get(key); var values = this.get(key);
if (values) { if (values) {
values = JSON.parse(values); values = JSON.parse(values);
return Object.assign(query, values); return Object.assign(query, values);
} }
@ -274,12 +212,11 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.saveQuerySettings = function (key, query) { UserSettings.prototype.saveQuerySettings = function (key, query) {
var values = {}; var values = {};
if (query.SortBy) { if (query.SortBy) {
values.SortBy = query.SortBy; values.SortBy = query.SortBy;
} }
if (query.SortOrder) { if (query.SortOrder) {
values.SortOrder = query.SortOrder; values.SortOrder = query.SortOrder;
} }
@ -288,26 +225,20 @@ define(['appSettings', 'events'], function (appsettings, events) {
}; };
UserSettings.prototype.getSubtitleAppearanceSettings = function (key) { UserSettings.prototype.getSubtitleAppearanceSettings = function (key) {
key = key || 'localplayersubtitleappearance3'; key = key || 'localplayersubtitleappearance3';
return JSON.parse(this.get(key, false) || '{}'); return JSON.parse(this.get(key, false) || '{}');
}; };
UserSettings.prototype.setSubtitleAppearanceSettings = function (value, key) { UserSettings.prototype.setSubtitleAppearanceSettings = function (value, key) {
key = key || 'localplayersubtitleappearance3'; key = key || 'localplayersubtitleappearance3';
return this.set(key, JSON.stringify(value), false); return this.set(key, JSON.stringify(value), false);
}; };
UserSettings.prototype.setFilter = function (key, value) { UserSettings.prototype.setFilter = function (key, value) {
return this.set(key, value, true); return this.set(key, value, true);
}; };
UserSettings.prototype.getFilter = function (key) { UserSettings.prototype.getFilter = function (key) {
return this.get(key, true); return this.get(key, true);
}; };

View file

@ -1,3 +0,0 @@
{
"main": "viewManager.js"
}

View file

@ -25,7 +25,6 @@ h3 {
/* This is supposed to be 1080p, but had to reduce the min height to account for possible browser chrome */ /* This is supposed to be 1080p, but had to reduce the min height to account for possible browser chrome */
@media all and (min-height: 1000px) { @media all and (min-height: 1000px) {
html { html {
font-size: 27px; font-size: 27px;
} }

View file

@ -2,6 +2,7 @@
<html class="preload"> <html class="preload">
<head> <head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"> <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<meta name="format-detection" content="telephone=no"> <meta name="format-detection" content="telephone=no">
@ -20,43 +21,43 @@
<meta property="fb:app_id" content="1618309211750238"> <meta property="fb:app_id" content="1618309211750238">
<link rel="apple-touch-icon" sizes="180x180" href="touchicon.png"> <link rel="apple-touch-icon" sizes="180x180" href="touchicon.png">
<!-------------------- iPhone 5 -------------------> <!-- iPhone 5 -->
<link href="splashscreens/iphone5_splash.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphone5_splash.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphone5_splash_l.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphone5_splash_l.png" media="screen and (device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------- iPhone 6, 6S, 7 and 8 -------------> <!-- iPhone 6, 6S, 7 and 8 -->
<link href="splashscreens/iphone6_splash.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphone6_splash.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphone6_splash_l.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphone6_splash_l.png" media="screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------- iPhone 6+, 7+ and 8+ --------------> <!-- iPhone 6+, 7+ and 8+ -->
<link href="splashscreens/iphoneplus_splash.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphoneplus_splash.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphoneplus_splash_l.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphoneplus_splash_l.png" media="screen and (device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone X --------------------> <!-- iPhone X -->
<link href="splashscreens/iphonex_splash.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphonex_splash.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonex_splash_l.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphonex_splash_l.png" media="screen and (device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone Xr -------------------> <!-- iPhone Xr -->
<link href="splashscreens/iphonexr_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphonexr_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonexr_splash_l.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphonexr_splash_l.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------- iPhone Xs -------------------> <!-- iPhone Xs -->
<link href="splashscreens/iphonexsmax_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphonexsmax_splash.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/iphonexsmax_splashl.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/iphonexsmax_splashl.png" media="screen and (device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!--------------------- iPad ----------------------> <!-- iPad -->
<link href="splashscreens/ipad_splash.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipad_splash.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipad_splash_l.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipad_splash_l.png" media="screen and (device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 1 -------------------> <!-- iPad Pro 1 -->
<link href="splashscreens/ipadpro1_splash.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipadpro1_splash.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro1_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipadpro1_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 3 -------------------> <!-- iPad Pro 3 -->
<link href="splashscreens/ipadpro3_splash.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipadpro3_splash.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro3_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipadpro3_splash_l.png" media="screen and (device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
<!------------------ iPad Pro 2 -------------------> <!-- iPad Pro 2 -->
<link href="splashscreens/ipadpro2_splash.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipadpro2_splash.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image" />
<link href="splashscreens/ipadpro2_splash_l.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" /> <link href="splashscreens/ipadpro2_splash_l.png" media="screen and (device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image" />
@ -98,7 +99,9 @@
<body> <body>
<div class="backdropContainer"></div> <div class="backdropContainer"></div>
<div class="backgroundContainer"></div> <div class="backgroundContainer"></div>
<div class="mainDrawer hide"><div class="mainDrawer-scrollContainer scrollContainer focuscontainer-y"></div></div> <div class="mainDrawer hide">
<div class="mainDrawer-scrollContainer scrollContainer focuscontainer-y"></div>
</div>
<div class="skinHeader focuscontainer-x"></div> <div class="skinHeader focuscontainer-x"></div>
<div class="mainAnimatedPages skinBody"></div> <div class="mainAnimatedPages skinBody"></div>
<div class="mainDrawerHandle"></div> <div class="mainDrawerHandle"></div>

View file

@ -724,9 +724,9 @@ var AppInfo = {};
define("programStyles", ["css!" + componentsPath + "/guide/programs"], returnFirstDependency); define("programStyles", ["css!" + componentsPath + "/guide/programs"], returnFirstDependency);
define("listViewStyle", ["css!" + componentsPath + "/listview/listview"], returnFirstDependency); define("listViewStyle", ["css!" + componentsPath + "/listview/listview"], returnFirstDependency);
define("formDialogStyle", ["css!" + componentsPath + "/formdialog"], returnFirstDependency); define("formDialogStyle", ["css!" + componentsPath + "/formdialog"], returnFirstDependency);
define("clearButtonStyle", ["css!" + componentsPath + "/clearbutton"], returnFirstDependency); define("clearButtonStyle", ["css!css/clearbutton"], returnFirstDependency);
define("cardStyle", ["css!" + componentsPath + "/cardbuilder/card"], returnFirstDependency); define("cardStyle", ["css!" + componentsPath + "/cardbuilder/card"], returnFirstDependency);
define("flexStyles", ["css!" + componentsPath + "/flexstyles"], returnFirstDependency); define("flexStyles", ["css!css/flexstyles"], returnFirstDependency);
// define legacy features // define legacy features
// TODO delete the rest of these // TODO delete the rest of these

View file

@ -1,4 +1,4 @@
(function() { (function() {
"use strict"; "use strict";
window.appMode='standalone'; window.appMode = 'standalone';
})(); })();