upgrade js api client, remove open sans font reference

This commit is contained in:
Luke Pulverenti 2013-11-07 13:04:51 -05:00
parent a96eeb0e76
commit 6bca66191f
5 changed files with 44 additions and 14 deletions

View File

@ -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);

View File

@ -37,14 +37,14 @@
}
.posterItemStoreText {
font-family: 'Open Sans', sans-serif;
font-weight: normal;
font-size: 16px;
font-family: 'Open Sans', sans-serif;
font-weight: normal;
text-overflow: ellipsis;
overflow: hidden;
text-wrap: none;
white-space: nowrap;
text-shadow: none;
padding-left: 2px;
}
@ -84,18 +84,22 @@
}
.storeItem {
width: 270px;
display: inline-block;
margin: 10px;
display: inline-block;
margin: 0 15px 15px 0;
}
.storePosterItem {
width: 270px;
.storeItem, .storePosterItem {
width: 160px;
}
.storePosterItem .posterItemImage {
height: 150px;
height: 90px;
}
.storeReviewCount {
display: none;
}
.backdropPosterItem {
width: 160px;
@ -148,6 +152,14 @@
.backdropPosterItem .posterItemImage {
height: 108px;
}
.storeItem, .storePosterItem {
width: 192px;
}
.storePosterItem .posterItemImage {
height: 108px;
}
}
@media all and (min-width: 750px) {
@ -190,6 +202,22 @@
.smallBackdropPosterItem .posterItemImage {
height: 105px;
}
.storeItem, .storePosterItem {
width: 270px;
}
.storePosterItem .posterItemImage {
height: 152px;
}
.posterItemStoreText {
font-size: 18px;
}
.storeReviewCount {
display: inline;
}
}
@media all and (min-width: 1440px) {

View File

@ -2,7 +2,6 @@
<html>
<head>
<title>Plugins</title>
<link href='http://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'>
</head>
<body>
<div id="pluginCatalogPage" data-role="page" class="page type-interior pluginConfigurationPage">

View File

@ -119,7 +119,7 @@
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) {
return ip.Name == plugin.name;
@ -136,8 +136,11 @@
html += "<div class='posterItemStoreText' >";
html += plugin.price > 0 ? "$" + plugin.price.toFixed(2) : "Free";
html += getRatingHtml(plugin.avgRating, plugin.id, plugin.name);
html += "<span class='storeReviewCount'>";
html += " " + plugin.totalRatings + " Reviews";
html += "</span>";
if (plugin.isPremium && plugin.isRegistered) {
html += "<span title='You are registered for this feature' style='cursor: default'> &reg;</span>";
}

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<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.Text" version="3.9.62" targetFramework="net45" />
</packages>