mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
upgrade js api client, remove open sans font reference
This commit is contained in:
parent
a96eeb0e76
commit
6bca66191f
5 changed files with 44 additions and 14 deletions
|
@ -3570,7 +3570,7 @@ MediaBrowser.ApiClient = function ($, navigator, JSON, WebSocket, setTimeout, wi
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
self.createPackageReview = function(review) {
|
self.createPackageReview = function (review) {
|
||||||
|
|
||||||
var url = self.getUrl("PackageReviews/" + review.id, review);
|
var url = self.getUrl("PackageReviews/" + review.id, review);
|
||||||
|
|
||||||
|
|
|
@ -37,14 +37,14 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.posterItemStoreText {
|
.posterItemStoreText {
|
||||||
font-family: 'Open Sans', sans-serif;
|
font-family: 'Open Sans', sans-serif;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-size: 16px;
|
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-wrap: none;
|
text-wrap: none;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
|
padding-left: 2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -84,18 +84,22 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.storeItem {
|
.storeItem {
|
||||||
width: 270px;
|
display: inline-block;
|
||||||
display: inline-block;
|
margin: 0 15px 15px 0;
|
||||||
margin: 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.storePosterItem {
|
.storeItem, .storePosterItem {
|
||||||
width: 270px;
|
width: 160px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.storePosterItem .posterItemImage {
|
.storePosterItem .posterItemImage {
|
||||||
height: 150px;
|
height: 90px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.storeReviewCount {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.backdropPosterItem {
|
.backdropPosterItem {
|
||||||
width: 160px;
|
width: 160px;
|
||||||
|
@ -148,6 +152,14 @@
|
||||||
.backdropPosterItem .posterItemImage {
|
.backdropPosterItem .posterItemImage {
|
||||||
height: 108px;
|
height: 108px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.storeItem, .storePosterItem {
|
||||||
|
width: 192px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.storePosterItem .posterItemImage {
|
||||||
|
height: 108px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 750px) {
|
@media all and (min-width: 750px) {
|
||||||
|
@ -190,6 +202,22 @@
|
||||||
.smallBackdropPosterItem .posterItemImage {
|
.smallBackdropPosterItem .posterItemImage {
|
||||||
height: 105px;
|
height: 105px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.storeItem, .storePosterItem {
|
||||||
|
width: 270px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.storePosterItem .posterItemImage {
|
||||||
|
height: 152px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.posterItemStoreText {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.storeReviewCount {
|
||||||
|
display: inline;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media all and (min-width: 1440px) {
|
@media all and (min-width: 1440px) {
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>Plugins</title>
|
<title>Plugins</title>
|
||||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="pluginCatalogPage" data-role="page" class="page type-interior pluginConfigurationPage">
|
<div id="pluginCatalogPage" data-role="page" class="page type-interior pluginConfigurationPage">
|
||||||
|
|
|
@ -119,7 +119,7 @@
|
||||||
|
|
||||||
html += "</a>";
|
html += "</a>";
|
||||||
|
|
||||||
html += "<div class='posterItemStoreText' style='font-size: 18px!important; font-weight: bold'>";
|
html += "<div class='posterItemStoreText' style='font-weight: bold'>";
|
||||||
|
|
||||||
var installedPlugin = plugin.isApp ? null : installedPlugins.filter(function (ip) {
|
var installedPlugin = plugin.isApp ? null : installedPlugins.filter(function (ip) {
|
||||||
return ip.Name == plugin.name;
|
return ip.Name == plugin.name;
|
||||||
|
@ -136,8 +136,11 @@
|
||||||
html += "<div class='posterItemStoreText' >";
|
html += "<div class='posterItemStoreText' >";
|
||||||
html += plugin.price > 0 ? "$" + plugin.price.toFixed(2) : "Free";
|
html += plugin.price > 0 ? "$" + plugin.price.toFixed(2) : "Free";
|
||||||
html += getRatingHtml(plugin.avgRating, plugin.id, plugin.name);
|
html += getRatingHtml(plugin.avgRating, plugin.id, plugin.name);
|
||||||
|
|
||||||
|
html += "<span class='storeReviewCount'>";
|
||||||
html += " " + plugin.totalRatings + " Reviews";
|
html += " " + plugin.totalRatings + " Reviews";
|
||||||
|
html += "</span>";
|
||||||
|
|
||||||
if (plugin.isPremium && plugin.isRegistered) {
|
if (plugin.isPremium && plugin.isRegistered) {
|
||||||
html += "<span title='You are registered for this feature' style='cursor: default'> ®</span>";
|
html += "<span title='You are registered for this feature' style='cursor: default'> ®</span>";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<packages>
|
<packages>
|
||||||
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.190" targetFramework="net45" />
|
<package id="MediaBrowser.ApiClient.Javascript" version="3.0.191" targetFramework="net45" />
|
||||||
<package id="ServiceStack.Common" version="3.9.62" targetFramework="net45" />
|
<package id="ServiceStack.Common" version="3.9.62" targetFramework="net45" />
|
||||||
<package id="ServiceStack.Text" version="3.9.62" targetFramework="net45" />
|
<package id="ServiceStack.Text" version="3.9.62" targetFramework="net45" />
|
||||||
</packages>
|
</packages>
|
Loading…
Add table
Add a link
Reference in a new issue