mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
reduce use of paper-checkbox
This commit is contained in:
parent
9b12ffa6d7
commit
13096410b0
3 changed files with 39 additions and 23 deletions
|
@ -1,4 +1,4 @@
|
|||
define(['jQuery'], function ($) {
|
||||
define(['jQuery', 'fnchecked', 'emby-checkbox'], function ($) {
|
||||
|
||||
function loadPage(page, config) {
|
||||
|
||||
|
|
|
@ -20,34 +20,50 @@
|
|||
</div>
|
||||
<div class="fieldDescription">${LabelMetadataPathHelp}</div>
|
||||
</div>
|
||||
<div>
|
||||
<paper-checkbox id="chkSaveMetadataHidden">${OptionSaveMetadataAsHidden}</paper-checkbox>
|
||||
<div class="fieldDescription paperCheckboxFieldDescription">${OptionSaveMetadataAsHiddenHelp}</div>
|
||||
<br />
|
||||
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkSaveMetadataHidden" data-filter="Sunday" />
|
||||
<span>${OptionSaveMetadataAsHidden}</span>
|
||||
</label>
|
||||
<div class="fieldDescription checkboxFieldDescription">${OptionSaveMetadataAsHiddenHelp}</div>
|
||||
</div>
|
||||
<br />
|
||||
|
||||
<div is="emby-collapse" title="${HeaderPeople}">
|
||||
<div class="collapseContent">
|
||||
<br />
|
||||
<div>
|
||||
<div class="paperListLabel">${HeaderDownloadPeopleMetadataFor}</div>
|
||||
<div class="paperCheckboxList">
|
||||
<paper-checkbox id="chkPeopleActors">${OptionActors}</paper-checkbox>
|
||||
|
||||
<paper-checkbox id="chkPeopleComposers">${OptionComposers}</paper-checkbox>
|
||||
|
||||
<paper-checkbox id="chkPeopleDirectors">${OptionDirectors}</paper-checkbox>
|
||||
|
||||
<paper-checkbox id="chkPeopleGuestStars">${OptionGuestStars}</paper-checkbox>
|
||||
|
||||
<paper-checkbox id="chkPeopleProducers">${OptionProducers}</paper-checkbox>
|
||||
|
||||
<paper-checkbox id="chkPeopleWriters">${OptionWriters}</paper-checkbox>
|
||||
|
||||
<paper-checkbox id="chkPeopleOthers">${OptionOthers}</paper-checkbox>
|
||||
<h3 class="checkboxListLabel">${HeaderDownloadPeopleMetadataFor}</h3>
|
||||
<div class="checkboxList">
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkPeopleActors" data-filter="Sunday" />
|
||||
<span>${OptionActors}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkPeopleComposers" data-filter="Sunday" />
|
||||
<span>${OptionComposers}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkPeopleDirectors" data-filter="Sunday" />
|
||||
<span>${OptionDirectors}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkPeopleGuestStars" data-filter="Sunday" />
|
||||
<span>${OptionGuestStars}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkPeopleProducers" data-filter="Sunday" />
|
||||
<span>${OptionProducers}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkPeopleWriters" data-filter="Sunday" />
|
||||
<span>${OptionWriters}</span>
|
||||
</label>
|
||||
<label>
|
||||
<input type="checkbox" is="emby-checkbox" class="chkAirDays" id="chkPeopleOthers" data-filter="Sunday" />
|
||||
<span>${OptionOthers}</span>
|
||||
</label>
|
||||
</div>
|
||||
<div class="fieldDescription paperCheckboxFieldDescription">${HeaderDownloadPeopleMetadataForHelp}</div>
|
||||
<div class="fieldDescription checkboxFieldDescription">${HeaderDownloadPeopleMetadataForHelp}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -2121,7 +2121,7 @@ var AppInfo = {};
|
|||
|
||||
defineRoute({
|
||||
path: '/librarysettings.html',
|
||||
dependencies: ['emby-collapse', 'emby-input', 'paper-checkbox', 'emby-button', 'emby-select'],
|
||||
dependencies: ['emby-collapse', 'emby-input', 'emby-button', 'emby-select'],
|
||||
autoFocus: false,
|
||||
roles: 'admin',
|
||||
controller: 'dashboard/librarysettings'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue