mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
add one year tolerance to movie lookups
This commit is contained in:
parent
6ca0dc946c
commit
eeafc46d94
6 changed files with 17 additions and 25 deletions
|
@ -24,9 +24,6 @@
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: auto;
|
height: auto;
|
||||||
|
|
||||||
/* Without this the buttons displayed over the video surface will not be clickable in safari. */
|
|
||||||
-webkit-transform-style: preserve-3d
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.videoControls {
|
.videoControls {
|
||||||
|
@ -109,8 +106,7 @@
|
||||||
/* Fullscreen
|
/* Fullscreen
|
||||||
***************************************/
|
***************************************/
|
||||||
|
|
||||||
#videoPlayer,
|
#videoPlayer, .itemVideo {
|
||||||
.itemVideo {
|
|
||||||
position: fixed !important;
|
position: fixed !important;
|
||||||
top: 0 !important;
|
top: 0 !important;
|
||||||
bottom: 0 !important;
|
bottom: 0 !important;
|
||||||
|
@ -125,8 +121,8 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Hack for safari because it doesn't allow clickable content over the video surface. */
|
/* Hack for safari because it doesn't allow clickable content over the video surface. */
|
||||||
.itemVideo { (;top: 60px!important;); }
|
.itemVideo { (;top: 9%!important;height: 91% !important;); }
|
||||||
.itemVideo { [;top: 60px!important;]; }
|
.itemVideo { [;top: 9%!important;height: 91% !important;]; }
|
||||||
|
|
||||||
#mediaPlayer .ui-slider-track, .nowPlayingBar .ui-slider-track, .nowPlayingPage .ui-slider-track {
|
#mediaPlayer .ui-slider-track, .nowPlayingBar .ui-slider-track, .nowPlayingPage .ui-slider-track {
|
||||||
border-color: #2ad !important;
|
border-color: #2ad !important;
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p>${HeaderServerLogFiles}</p>
|
<p>${HeaderServerLogFiles}</p>
|
||||||
<div class="serverLogs">
|
<div class="serverLogs readOnlyContent">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -219,6 +219,8 @@
|
||||||
var itemId = posterItem.getAttribute('data-itemid');
|
var itemId = posterItem.getAttribute('data-itemid');
|
||||||
var commands = posterItem.getAttribute('data-commands').split(',');
|
var commands = posterItem.getAttribute('data-commands').split(',');
|
||||||
|
|
||||||
|
$(posterItem).addClass('hasContextMenu');
|
||||||
|
|
||||||
var promise1 = ApiClient.getItem(Dashboard.getCurrentUserId(), itemId);
|
var promise1 = ApiClient.getItem(Dashboard.getCurrentUserId(), itemId);
|
||||||
var promise2 = Dashboard.getCurrentUser();
|
var promise2 = Dashboard.getCurrentUser();
|
||||||
|
|
||||||
|
@ -272,6 +274,7 @@
|
||||||
var elem = $('.tapHoldMenu').popup({ positionTo: e.target }).trigger('create').popup("open").on("popupafterclose", function () {
|
var elem = $('.tapHoldMenu').popup({ positionTo: e.target }).trigger('create').popup("open").on("popupafterclose", function () {
|
||||||
|
|
||||||
$(this).off("popupafterclose").remove();
|
$(this).off("popupafterclose").remove();
|
||||||
|
$(posterItem).removeClass('hasContextMenu');
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -352,11 +355,8 @@
|
||||||
|
|
||||||
var elems = '.backdropPosterItem,.smallBackdropPosterItem,.portraitPosterItem,.squarePosterItem,.miniBackdropPosterItem';
|
var elems = '.backdropPosterItem,.smallBackdropPosterItem,.portraitPosterItem,.squarePosterItem,.miniBackdropPosterItem';
|
||||||
|
|
||||||
if ($.browser.mobile) {
|
this.off('contextmenu.posterItemMenu', elems)
|
||||||
|
.on('contextmenu.posterItemMenu', elems, onPosterItemTapHold);
|
||||||
this.off('contextmenu.posterItemMenu', elems)
|
|
||||||
.on('contextmenu.posterItemMenu', elems, onPosterItemTapHold);
|
|
||||||
}
|
|
||||||
|
|
||||||
return this.off('.posterItemHoverMenu')
|
return this.off('.posterItemHoverMenu')
|
||||||
.on('mouseenter.posterItemHoverMenu', elems, onHoverIn)
|
.on('mouseenter.posterItemHoverMenu', elems, onHoverIn)
|
||||||
|
|
|
@ -1158,12 +1158,7 @@
|
||||||
volumeSlider.val(initialVolume).slider('refresh');
|
volumeSlider.val(initialVolume).slider('refresh');
|
||||||
updateVolumeButtons(initialVolume);
|
updateVolumeButtons(initialVolume);
|
||||||
|
|
||||||
video.on("loadstart.mediaplayerevent", function (e) {
|
video.on("volumechange.mediaplayerevent", function (e) {
|
||||||
|
|
||||||
Dashboard.showLoadingMsg();
|
|
||||||
|
|
||||||
|
|
||||||
}).on("volumechange.mediaplayerevent", function (e) {
|
|
||||||
|
|
||||||
var vol = this.volume;
|
var vol = this.volume;
|
||||||
|
|
||||||
|
@ -1189,8 +1184,6 @@
|
||||||
|
|
||||||
}).on("playing.mediaplayerevent", function (e) {
|
}).on("playing.mediaplayerevent", function (e) {
|
||||||
|
|
||||||
Dashboard.hideLoadingMsg();
|
|
||||||
|
|
||||||
$('#video-playButton', videoControls).hide();
|
$('#video-playButton', videoControls).hide();
|
||||||
$('#video-pauseButton', videoControls).show();
|
$('#video-pauseButton', videoControls).show();
|
||||||
$("#play", videoElement).show().addClass("fadeOut");
|
$("#play", videoElement).show().addClass("fadeOut");
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
|
|
||||||
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
|
html += LibraryBrowser.getPagingHtml(query, result.TotalRecordCount);
|
||||||
|
|
||||||
$('#items', page).html(html).trigger('create');
|
$('#items', page).html(html).trigger('create').createPosterItemMenus();
|
||||||
|
|
||||||
$('.btnNextPage', page).on('click', function () {
|
$('.btnNextPage', page).on('click', function () {
|
||||||
query.StartIndex += query.Limit;
|
query.StartIndex += query.Limit;
|
||||||
|
|
|
@ -29,9 +29,12 @@
|
||||||
<option value="30">$30</option>
|
<option value="30">$30</option>
|
||||||
<option value="50">$50</option>
|
<option value="50">$50</option>
|
||||||
</select>
|
</select>
|
||||||
<input type="checkbox" name="Recurring" id="cbxRecurring"/>
|
<div>
|
||||||
<label for="cbxRecurring" >Automatically donate this amount each month</label>
|
<input type="checkbox" name="Recurring" id="cbxRecurring" />
|
||||||
<p>You can cancel at any time via your PayPal account</p>
|
<label for="cbxRecurring">${LabelAutomaticallyDonate}</label>
|
||||||
|
<div class="fieldDescription">${LabelAutomaticallyDonateHelp}</div>
|
||||||
|
</div>
|
||||||
|
<br />
|
||||||
<input type="hidden" name="cmd" id="ppCmd" value="_xclick">
|
<input type="hidden" name="cmd" id="ppCmd" value="_xclick">
|
||||||
<input type="hidden" name="business" value="donate@mediabrowser3.com">
|
<input type="hidden" name="business" value="donate@mediabrowser3.com">
|
||||||
<input type="hidden" name="currency_code" value="USD">
|
<input type="hidden" name="currency_code" value="USD">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue