1
0
Fork 0
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:
Luke Pulverenti 2016-08-25 13:06:30 -04:00
parent 18966acf72
commit c91d483075
2 changed files with 24 additions and 22 deletions

View file

@ -1,4 +1,4 @@
<div id="metadataConfigurationPage" data-role="page" class="page type-interior metadataConfigurationPage withTabs" data-require="scripts/metadataconfigurationpage,paper-checkbox,emby-button"> <div id="metadataConfigurationPage" data-role="page" class="page type-interior metadataConfigurationPage withTabs" data-require="scripts/metadataconfigurationpage,emby-checkbox,emby-button,emby-select">
<div data-role="content"> <div data-role="content">
@ -6,30 +6,32 @@
<form class="metadataConfigurationForm"> <form class="metadataConfigurationForm">
<div> <div class="checkboxContainer checkboxContainer-withDescription">
<paper-checkbox id="chkEnableInternetProviders">${LabelDownloadInternetMetadata}</paper-checkbox> <label>
<div class="fieldDescription paperCheckboxFieldDescription">${LabelDownloadInternetMetadataHelp}</div> <input is="emby-checkbox" type="checkbox" id="chkEnableInternetProviders" />
<span>${LabelDownloadInternetMetadata}</span>
</label>
<div class="fieldDescription checkboxFieldDescription">${LabelDownloadInternetMetadataHelp}</div>
</div> </div>
<br /> <div class="checkboxContainer checkboxContainer-withDescription">
<div> <label>
<paper-checkbox id="chkSaveLocal">${LabelSaveLocalMetadata}</paper-checkbox> <input is="emby-checkbox" type="checkbox" id="chkSaveLocal" />
<div class="fieldDescription paperCheckboxFieldDescription">${LabelSaveLocalMetadataHelp}</div> <span>${LabelSaveLocalMetadata}</span>
</label>
<div class="fieldDescription checkboxFieldDescription">${LabelSaveLocalMetadataHelp}</div>
</div> </div>
<br /> <div class="checkboxContainer checkboxContainer-withDescription">
<div> <label>
<paper-checkbox id="chkDownloadImagesInAdvance">${OptionDownloadImagesInAdvance}</paper-checkbox> <input is="emby-checkbox" type="checkbox" id="chkDownloadImagesInAdvance" />
<div class="fieldDescription paperCheckboxFieldDescription">${OptionDownloadImagesInAdvanceHelp}</div> <span>${OptionDownloadImagesInAdvance}</span>
<br /> </label>
<div class="fieldDescription checkboxFieldDescription">${OptionDownloadImagesInAdvanceHelp}</div>
</div> </div>
<br /> <div class="selectContainer">
<div> <select is="emby-select" id="selectLanguage" label="${LabelMetadataDownloadLanguage}" required="required"></select>
<label for="selectLanguage" class="selectLabel">${LabelMetadataDownloadLanguage}</label>
<select name="selectLanguage" id="selectLanguage" data-mini="true" required="required"></select>
</div> </div>
<br /> <div class="selectContainer">
<div> <select is="emby-select" id="selectCountry" label="${LabelCountry}" required="required"></select>
<label for="selectCountry" class="selectLabel">${LabelCountry}</label>
<select name="selectCountry" id="selectCountry" data-mini="true" required="required"></select>
</div> </div>
<br /> <br />
<div> <div>

View file

@ -1,4 +1,4 @@
define(['jQuery'], function ($) { define(['jQuery', 'fnchecked'], function ($) {
function load(page, config, allCultures, allCountries) { function load(page, config, allCultures, allCountries) {
if (!config || !allCultures || !allCountries) { if (!config || !allCultures || !allCountries) {