mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
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,6 +119,10 @@
|
|||
|
||||
@media all and (min-width: 1920px) {
|
||||
|
||||
.ehsContent {
|
||||
width: 1200px;
|
||||
}
|
||||
|
||||
.squareEhsContent {
|
||||
width: 1200px;
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
.posterItem {
|
||||
margin: 5px 5px;
|
||||
text-shadow: none;
|
||||
font-weight: normal!important;
|
||||
font-weight: normal !important;
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
color: #fff!important;
|
||||
color: #fff !important;
|
||||
text-decoration: none;
|
||||
text-align: left;
|
||||
-webkit-transition: all 500ms ease;
|
||||
|
@ -29,7 +29,7 @@
|
|||
}
|
||||
|
||||
.posterItemOverlayInner button:last-child {
|
||||
margin-right: 0!important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
.posterItemOverlayInner p {
|
||||
|
@ -274,11 +274,11 @@
|
|||
}
|
||||
|
||||
.sessionPosterItem .posterItemName {
|
||||
color: #fff!important;
|
||||
color: #fff !important;
|
||||
}
|
||||
|
||||
.sessionPosterItem .posterItemDefaultText {
|
||||
color: #000!important;
|
||||
color: #000 !important;
|
||||
font-weight: normal !important;
|
||||
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",
|
||||
IncludeItemTypes: section.types,
|
||||
Filters: "IsFavorite",
|
||||
Limit: screenWidth >= 1920 ? 9 : (screenWidth >= 1440 ? 8 : 6),
|
||||
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1440 ? 8 : 6),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
CollapseBoxSetItems: false,
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
|
||||
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",
|
||||
IsPlayed: false,
|
||||
IsFolder: false
|
||||
|
@ -279,7 +279,7 @@
|
|||
SortOrder: "Descending",
|
||||
MediaTypes: "Video",
|
||||
Filters: "IsResumable",
|
||||
Limit: screenWidth >= 1920 ? 9 : (screenWidth >= 1200 ? 9 : 6),
|
||||
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1200 ? 9 : 6),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
CollapseBoxSetItems: false,
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
var options = {
|
||||
|
||||
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",
|
||||
ParentId: parentId,
|
||||
IsPlayed: false
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
SortOrder: "Descending",
|
||||
IncludeItemTypes: "Movie",
|
||||
Filters: "IsResumable",
|
||||
Limit: (screenWidth >= 1200 ? 6 : 3),
|
||||
Limit: screenWidth >= 1920 ? 8 : (screenWidth >= 1200 ? 6 : 3),
|
||||
Recursive: true,
|
||||
Fields: "PrimaryImageAspectRatio",
|
||||
CollapseBoxSetItems: false,
|
||||
|
@ -81,7 +81,7 @@
|
|||
|
||||
userId: Dashboard.getCurrentUserId(),
|
||||
categoryLimit: screenWidth >= 1200 ? 4 : 3,
|
||||
ItemLimit: (screenWidth >= 1200 ? 6 : 5),
|
||||
ItemLimit: screenWidth >= 1920 ? 7 : (screenWidth >= 1200 ? 6 : 5),
|
||||
Fields: "PrimaryImageAspectRatio"
|
||||
});
|
||||
|
||||
|
|
|
@ -17,6 +17,10 @@
|
|||
|
||||
self.updateNotificationCount = function () {
|
||||
|
||||
if (!Dashboard.getCurrentUserId()) {
|
||||
return;
|
||||
}
|
||||
|
||||
self.getNotificationsSummary().done(function (summary) {
|
||||
|
||||
var item = $('.btnNotificationsInner').removeClass('levelNormal').removeClass('levelWarning').removeClass('levelError').html(summary.UnreadCount);
|
||||
|
|
|
@ -5,7 +5,10 @@
|
|||
var url = (this.url || '').toLowerCase();
|
||||
|
||||
// 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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
}
|
||||
|
||||
$(document).on('pageshow', "#wizardStartPage", function () {
|
||||
$(document).on('pagebeforeshow', "#wizardStartPage", function () {
|
||||
|
||||
Dashboard.showLoadingMsg();
|
||||
var page = this;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue