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

center guide grid

This commit is contained in:
Luke Pulverenti 2014-01-18 00:55:21 -05:00
parent 35e37c8027
commit e91d8b6800
11 changed files with 109 additions and 89 deletions

View file

@ -1508,20 +1508,8 @@
html += '<div class="starRatingValue">';
html += item.CommunityRating.toFixed(1);
html += '</div>';
//var rating = item.CommunityRating / 2;
//for (var i = 1; i <= 5; i++) {
// if (rating <= i - 1) {
// html += "<div class='starRating emptyStarRating' title='" + item.CommunityRating + "'></div>";
// }
// else if (rating < i) {
// html += "<div class='starRating halfStarRating' title='" + item.CommunityRating + "'></div>";
// }
// else {
// html += "<div class='starRating' title='" + item.CommunityRating + "'></div>";
// }
//}
} else {
html += '<div style="display:inline-block;margin-left:-1.25em;"></div>';
}
if (item.CriticRating != null) {