1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

finish dropping polymer

This commit is contained in:
Luke Pulverenti 2016-09-15 19:17:50 -04:00
parent 17af3ec3ef
commit 2c9913c69b
279 changed files with 259 additions and 28449 deletions

View file

@ -1,4 +1,4 @@
define(['jQuery', 'registrationservices', 'paper-checkbox', 'emby-input', 'listViewStyle', 'paper-icon-button-light'], function ($, registrationServices) {
define(['jQuery', 'registrationservices', 'emby-checkbox', 'emby-input', 'listViewStyle', 'paper-icon-button-light'], function ($, registrationServices) {
return function (page, providerId, options) {
@ -140,7 +140,7 @@
var enabledTuners = providerInfo.EnableAllTuners || [];
var isChecked = providerInfo.EnableAllTuners || enabledTuners.indexOf(device.Id) != -1;
var checkedAttribute = isChecked ? ' checked' : '';
html += '<paper-checkbox data-id="' + device.Id + '" class="chkTuner" item-icon ' + checkedAttribute + '></paper-checkbox>';
html += '<label class="listItemCheckboxContainer"><input type="checkbox" is="emby-checkbox" class="chkTuner" data-id="' + device.Id + '" ' + checkedAttribute + '><span></span></label>';
html += '<div class="listItemBody two-line">';
html += '<div class="listItemBodyText">';

View file

@ -30,15 +30,16 @@
</div>
</div>
<div>
<paper-checkbox class="chkAllTuners">${OptionEnableForAllTuners}</paper-checkbox>
<label class="checkboxContainer">
<input type="checkbox" is="emby-checkbox" class="chkAllTuners" />
<span>${OptionEnableForAllTuners}</span>
</label>
<div class="selectTunersSection hide">
<br /><br />
<div class="paperListLabel">${HeaderTuners}</div>
<div class="paperCheckboxList paperList tunerList">
<h3 class="checkboxListLabel">${HeaderTuners}</h3>
<div class="checkboxList paperList checkboxList-paperList tunerList">
</div>
</div>
</div>
<br />
<div class="paperList" style="padding:1em;border-radius:5px;">
<div class="premiereHelp"></div>
<a class="lnkPremiere" href="https://emby.media/premiere">${ButtonLearnMore}</a>