mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update image editor
This commit is contained in:
parent
c5bfd529a2
commit
c64aedc131
6 changed files with 64 additions and 24 deletions
|
@ -5,7 +5,9 @@
|
|||
var currentDeferred;
|
||||
var hasChanges = false;
|
||||
|
||||
var browsableImagePageSize = 20;
|
||||
// These images can be large and we're seeing memory problems in safari
|
||||
var browsableImagePageSize = $.browser.safari ? 6 : 12;
|
||||
|
||||
var browsableImageStartIndex = 0;
|
||||
var browsableImageType = 'Primary';
|
||||
var selectedProvider;
|
||||
|
|
|
@ -3,15 +3,15 @@
|
|||
<label for="selectImageProvider">${LabelSource}</label>
|
||||
</div>
|
||||
<div style="margin: 0; display: inline-block;">
|
||||
<select id="selectImageProvider" name="selectImageProvider" data-mini="true" data-inline="true">
|
||||
<select id="selectImageProvider" style="padding-left:.5em;padding-right:0;">
|
||||
<option value="">${OptionAll}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="margin-left:1em; display: inline-block;">
|
||||
<div style="margin-left:.5em; display: inline-block;">
|
||||
<label for="selectBrowsableImageType">${LabelImage}</label>
|
||||
</div>
|
||||
<div style="display: inline-block;">
|
||||
<select id="selectBrowsableImageType" name="selectBrowsableImageType" data-mini="true" data-inline="true">
|
||||
<select id="selectBrowsableImageType" style="padding-left:.5em;padding-right:0;">
|
||||
<option value="Primary">${OptionPrimary}</option>
|
||||
<option value="Art">${OptionArt}</option>
|
||||
<option value="Backdrop">${OptionBackdrop}</option>
|
||||
|
@ -26,10 +26,9 @@
|
|||
<option value="Thumb">${OptionThumb}</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="availableImagesPaging" style="display: inline-block;vertical-align: middle;margin-left:1em;"></div>
|
||||
<div style="display: inline-block; vertical-align: middle; margin-left: 1em;">
|
||||
<input type="checkbox" id="chkAllLanguages" data-role="none" style="display: inline-block;vertical-align: middle;" />
|
||||
<label for="chkAllLanguages" style="display: inline-block;vertical-align: middle;">${LabelAllLanguages}</label>
|
||||
<div class="availableImagesPaging" style="display: inline-block;vertical-align: middle;margin-left:.5em;"></div>
|
||||
<div style="display: inline-block; vertical-align: middle; margin-left: .5em;">
|
||||
<paper-checkbox id="chkAllLanguages">${LabelAllLanguages}</paper-checkbox>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -17,17 +17,12 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (isActive) {
|
||||
document.body.classList.add('bodyWithPopupOpen');
|
||||
}
|
||||
else {
|
||||
document.body.classList.remove('bodyWithPopupOpen');
|
||||
}
|
||||
}
|
||||
|
||||
function onDialogClosed() {
|
||||
|
||||
Dashboard.onPopupClose();
|
||||
|
||||
dlg = null;
|
||||
$(window).off('navigate', onHashChange);
|
||||
|
||||
|
@ -40,6 +35,7 @@
|
|||
|
||||
$(dlg).on('iron-overlay-closed', onDialogClosed);
|
||||
dlg.open();
|
||||
Dashboard.onPopupOpen();
|
||||
|
||||
window.location.hash = hash;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue