From 5a92d54d0cc45716a21e8349cefcec8ac4447d4a Mon Sep 17 00:00:00 2001 From: Luke Pulverenti Date: Sun, 22 Dec 2013 16:11:32 -0500 Subject: [PATCH] increase recording padding limits --- dashboard-ui/advancedmetadata.html | 2 +- dashboard-ui/css/posteritem.css | 18 +++++++++--------- dashboard-ui/livetvnewrecording.html | 6 +++--- dashboard-ui/livetvseriestimer.html | 4 ++-- dashboard-ui/livetvtimer.html | 4 ++-- dashboard-ui/scripts/Itemdetailpage.js | 14 +++++++++----- dashboard-ui/scripts/livetvnewrecording.js | 3 ++- 7 files changed, 28 insertions(+), 23 deletions(-) diff --git a/dashboard-ui/advancedmetadata.html b/dashboard-ui/advancedmetadata.html index a08b7a6d62..17d5c40dc8 100644 --- a/dashboard-ui/advancedmetadata.html +++ b/dashboard-ui/advancedmetadata.html @@ -21,7 +21,7 @@
  • -
    If enabled, movies and people will be updated automatically as they are updated on the TheMovieDB.org. This may replace some existing metadata.
    +
    If enabled, movies will be updated automatically as they are updated on the TheMovieDB.org. This may replace some existing metadata.
  • diff --git a/dashboard-ui/css/posteritem.css b/dashboard-ui/css/posteritem.css index cb3d53b8c3..8fb8ff6ff2 100644 --- a/dashboard-ui/css/posteritem.css +++ b/dashboard-ui/css/posteritem.css @@ -1,5 +1,5 @@ .posterItem { - margin: 8px 8px 8px 8px; + margin: 7px; text-shadow: none; font-weight: normal!important; display: inline-block; @@ -139,14 +139,14 @@ height: 162px; } -.smallBackdropPosterItem { - width: 160px; -} - - .smallBackdropPosterItem .posterItemImage { - height: 90px; + .smallBackdropPosterItem { + width: 192px; } + .smallBackdropPosterItem .posterItemImage { + height: 108px; + } + .portraitPosterItem { width: 100px; } @@ -221,11 +221,11 @@ } .smallBackdropPosterItem { - width: 187px; + width: 224px; } .smallBackdropPosterItem .posterItemImage { - height: 105px; + height: 126px; } .storeItem, .storePosterItem { diff --git a/dashboard-ui/livetvnewrecording.html b/dashboard-ui/livetvnewrecording.html index 7c7b76b2a1..c7aee36d9e 100644 --- a/dashboard-ui/livetvnewrecording.html +++ b/dashboard-ui/livetvnewrecording.html @@ -16,10 +16,10 @@

    +

    -

    @@ -81,7 +81,7 @@
    • - +
    • @@ -92,7 +92,7 @@
    • - +
    • diff --git a/dashboard-ui/livetvseriestimer.html b/dashboard-ui/livetvseriestimer.html index e36c339a9d..66974d6cb6 100644 --- a/dashboard-ui/livetvseriestimer.html +++ b/dashboard-ui/livetvseriestimer.html @@ -73,7 +73,7 @@
      • - +
      • @@ -84,7 +84,7 @@
      • - +
      • diff --git a/dashboard-ui/livetvtimer.html b/dashboard-ui/livetvtimer.html index a3e7827b84..34373b6957 100644 --- a/dashboard-ui/livetvtimer.html +++ b/dashboard-ui/livetvtimer.html @@ -37,7 +37,7 @@
        • - +
        • @@ -48,7 +48,7 @@
        • - +
        • diff --git a/dashboard-ui/scripts/Itemdetailpage.js b/dashboard-ui/scripts/Itemdetailpage.js index c230eb2e65..3b7271e531 100644 --- a/dashboard-ui/scripts/Itemdetailpage.js +++ b/dashboard-ui/scripts/Itemdetailpage.js @@ -183,7 +183,7 @@ $('#scenesCollapsible', page).hide(); } else { $('#scenesCollapsible', page).show(); - renderScenes(page, item, 5); + renderScenes(page, item, 4); } if (!item.LocalTrailerCount && !item.RemoteTrailers.length) { $('#trailersCollapsible', page).addClass('hide'); @@ -421,7 +421,7 @@ var options = { userId: Dashboard.getCurrentUserId(), - limit: item.Type == "MusicAlbum" ? 6 : 6, + limit: item.Type == "MusicAlbum" ? 5 : 5, fields: "PrimaryImageAspectRatio,DateCreated,UserData" }; @@ -690,7 +690,7 @@ } if (limit && result.TotalRecordCount > limit) { - html += '

          '; + html += '

          '; } $('#criticReviewsContent', page).html(html).trigger('create'); @@ -797,18 +797,20 @@ html += '
          '; + html += '
          '; html += '
          ' + chapterName + '
          '; html += '
          '; html += Dashboard.getDisplayTime(chapter.StartPositionTicks); + html += '
          '; html += '
          '; html += ''; } if (limit && chapters.length > limit) { - html += '

          '; + html += '

          '; } $('#scenesContent', page).html(html).trigger('create'); @@ -924,6 +926,7 @@ html += '
          '; + html += '
          '; html += '
          ' + item.Name + '
          '; html += '
          '; @@ -934,13 +937,14 @@ html += " "; } html += '
          '; + html += '
          '; html += ''; } if (limit && items.length > limit) { - html += '

          '; + html += '

          '; } return html; diff --git a/dashboard-ui/scripts/livetvnewrecording.js b/dashboard-ui/scripts/livetvnewrecording.js index 495937ed7a..f321d659b5 100644 --- a/dashboard-ui/scripts/livetvnewrecording.js +++ b/dashboard-ui/scripts/livetvnewrecording.js @@ -9,7 +9,6 @@ var context = 'livetv'; $('.itemName', page).html(program.Name); - $('.itemChannelNumber', page).html('Channel:   ' + program.ChannelName + '').trigger('create'); $('.itemEpisodeName', page).html(program.EpisodeTitle || ''); @@ -24,6 +23,8 @@ $('.itemMiscInfo', page).html(LibraryBrowser.getMiscInfoHtml(program)); + LiveTvHelpers.renderMiscProgramInfo($('.miscTvProgramInfo', page), program); + $('#chkNewOnly', page).checked(defaultTimer.RecordNewOnly).checkboxradio('refresh'); $('#chkAllChannels', page).checked(defaultTimer.RecordAnyChannel).checkboxradio('refresh'); $('#chkAnyTime', page).checked(defaultTimer.RecordAnyTime).checkboxradio('refresh');