move last fm providers to a plugin
This commit is contained in:
parent
2d1a56ded3
commit
2981f1056d
9 changed files with 40 additions and 20 deletions
|
@ -119,7 +119,11 @@
|
||||||
|
|
||||||
@media all and (min-width: 1920px) {
|
@media all and (min-width: 1920px) {
|
||||||
|
|
||||||
.squareEhsContent {
|
.ehsContent {
|
||||||
|
width: 1200px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.squareEhsContent {
|
||||||
width: 1200px;
|
width: 1200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
.posterItem {
|
.posterItem {
|
||||||
margin: 5px 5px;
|
margin: 5px 5px;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
font-weight: normal!important;
|
font-weight: normal !important;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
position: relative;
|
position: relative;
|
||||||
color: #fff!important;
|
color: #fff !important;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
-webkit-transition: all 500ms ease;
|
-webkit-transition: all 500ms ease;
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.posterItemOverlayInner button:last-child {
|
.posterItemOverlayInner button:last-child {
|
||||||
margin-right: 0!important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.posterItemOverlayInner p {
|
.posterItemOverlayInner p {
|
||||||
|
@ -274,11 +274,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.sessionPosterItem .posterItemName {
|
.sessionPosterItem .posterItemName {
|
||||||
color: #fff!important;
|
color: #fff !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sessionPosterItem .posterItemDefaultText {
|
.sessionPosterItem .posterItemDefaultText {
|
||||||
color: #000!important;
|
color: #000 !important;
|
||||||
font-weight: normal !important;
|
font-weight: normal !important;
|
||||||
top: 42%;
|
top: 42%;
|
||||||
}
|
}
|
||||||
|
@ -488,12 +488,21 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media all and (min-width: 1920px) {
|
||||||
|
|
||||||
@media all and (min-width: 1600px) {
|
.backdropPosterItem {
|
||||||
|
width: 290px;
|
||||||
.myLibraryPosterItem {
|
|
||||||
width: 16%;
|
|
||||||
/* Specify a min width just in case the container doesn't have a width */
|
|
||||||
min-width: 220px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.backdropPosterItem .posterItemImage {
|
||||||
|
height: 163.125px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portraitPosterItem {
|
||||||
|
width: 160px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.portraitPosterItem .posterItemImage {
|
||||||
|
height: 240px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
SortOrder: "Ascending",
|
SortOrder: "Ascending",
|
||||||
IncludeItemTypes: section.types,
|
IncludeItemTypes: section.types,
|
||||||
Filters: "IsFavorite",
|
Filters: "IsFavorite",
|
||||||
Limit: screenWidth >= 1920 ? 9 : (screenWidth >= 1440 ? 8 : 6),
|
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
CollapseBoxSetItems: false,
|
CollapseBoxSetItems: false,
|
||||||
|
|
|
@ -129,7 +129,7 @@
|
||||||
|
|
||||||
var options = {
|
var options = {
|
||||||
|
|
||||||
Limit: screenWidth >= 2400 ? 30 : (screenWidth >= 1920 ? 15 : (screenWidth >= 1440 ? 12 : (screenWidth >= 800 ? 9 : 8))),
|
Limit: screenWidth >= 2400 ? 24 : (screenWidth >= 1920 ? 20 : (screenWidth >= 1440 ? 12 : (screenWidth >= 800 ? 9 : 8))),
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
IsPlayed: false,
|
IsPlayed: false,
|
||||||
IsFolder: false
|
IsFolder: false
|
||||||
|
@ -279,7 +279,7 @@
|
||||||
SortOrder: "Descending",
|
SortOrder: "Descending",
|
||||||
MediaTypes: "Video",
|
MediaTypes: "Video",
|
||||||
Filters: "IsResumable",
|
Filters: "IsResumable",
|
||||||
Limit: screenWidth >= 1920 ? 9 : (screenWidth >= 1200 ? 9 : 6),
|
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1200 ? 9 : 6),
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
CollapseBoxSetItems: false,
|
CollapseBoxSetItems: false,
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
var options = {
|
var options = {
|
||||||
|
|
||||||
IncludeItemTypes: "Movie",
|
IncludeItemTypes: "Movie",
|
||||||
Limit: screenWidth >= 1920 ? 30 : (screenWidth >= 1440 ? 30 : (screenWidth >= 800 ? 28 : 18)),
|
Limit: screenWidth >= 1920 ? 28 : (screenWidth >= 1440 ? 30 : (screenWidth >= 800 ? 28 : 18)),
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
ParentId: parentId,
|
ParentId: parentId,
|
||||||
IsPlayed: false
|
IsPlayed: false
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
SortOrder: "Descending",
|
SortOrder: "Descending",
|
||||||
IncludeItemTypes: "Movie",
|
IncludeItemTypes: "Movie",
|
||||||
Filters: "IsResumable",
|
Filters: "IsResumable",
|
||||||
Limit: (screenWidth >= 1200 ? 6 : 3),
|
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1200 ? 6 : 3),
|
||||||
Recursive: true,
|
Recursive: true,
|
||||||
Fields: "PrimaryImageAspectRatio",
|
Fields: "PrimaryImageAspectRatio",
|
||||||
CollapseBoxSetItems: false,
|
CollapseBoxSetItems: false,
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
|
|
||||||
userId: Dashboard.getCurrentUserId(),
|
userId: Dashboard.getCurrentUserId(),
|
||||||
categoryLimit: screenWidth >= 1200 ? 4 : 3,
|
categoryLimit: screenWidth >= 1200 ? 4 : 3,
|
||||||
ItemLimit: (screenWidth >= 1200 ? 6 : 5),
|
ItemLimit: screenWidth >= 1920 ? 7 : (screenWidth >= 1200 ? 6 : 5),
|
||||||
Fields: "PrimaryImageAspectRatio"
|
Fields: "PrimaryImageAspectRatio"
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,10 @@
|
||||||
|
|
||||||
self.updateNotificationCount = function () {
|
self.updateNotificationCount = function () {
|
||||||
|
|
||||||
|
if (!Dashboard.getCurrentUserId()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
self.getNotificationsSummary().done(function (summary) {
|
self.getNotificationsSummary().done(function (summary) {
|
||||||
|
|
||||||
var item = $('.btnNotificationsInner').removeClass('levelNormal').removeClass('levelWarning').removeClass('levelError').html(summary.UnreadCount);
|
var item = $('.btnNotificationsInner').removeClass('levelNormal').removeClass('levelWarning').removeClass('levelError').html(summary.UnreadCount);
|
||||||
|
|
|
@ -5,7 +5,10 @@
|
||||||
var url = (this.url || '').toLowerCase();
|
var url = (this.url || '').toLowerCase();
|
||||||
|
|
||||||
// Bounce to the login screen, but not if a password entry fails, obviously
|
// Bounce to the login screen, but not if a password entry fails, obviously
|
||||||
if (url.indexOf('/password') == -1 && url.indexOf('/authenticate') == -1) {
|
if (url.indexOf('/password') == -1 &&
|
||||||
|
url.indexOf('/authenticate') == -1 &&
|
||||||
|
!$($.mobile.activePage).is('.standalonePage')) {
|
||||||
|
|
||||||
Dashboard.logout(false);
|
Dashboard.logout(false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on('pageshow', "#wizardStartPage", function () {
|
$(document).on('pagebeforeshow', "#wizardStartPage", function () {
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
Dashboard.showLoadingMsg();
|
||||||
var page = this;
|
var page = this;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue