update dialogs

This commit is contained in:
Luke Pulverenti 2016-09-15 14:28:46 -04:00
parent 8d12e05583
commit 768584e43e
14 changed files with 57 additions and 48 deletions

View file

@ -1,4 +1,4 @@
define(['jQuery','paper-checkbox', 'listViewStyle', 'emby-input', 'emby-select'], function ($) {
define(['jQuery','emby-checkbox', 'listViewStyle', 'emby-input', 'emby-select'], function ($) {
return function (page, providerId, options) {
@ -262,7 +262,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="checkboxContainer listItemCheckboxContainer"><input type="checkbox" is="emby-checkbox" data-id="' + device.Id + '" class="chkTuner" ' + checkedAttribute + '/><span></span></label>';
html += '<div class="listItemBody two-line">';
html += '<div class="listItemBodyText">';

View file

@ -50,15 +50,17 @@
<select is="emby-select" id="selectListing" data-mini="true" required="required" label="${LabelLineup}"></select>
</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 /><br />
<br />
<div>
<button is="emby-button" type="submit" class="raised button-submit block btnSubmitListingsContainer btnSubmitListings hide"><i class="md-icon">check</i><span>${ButtonSave}</span></button>
<button is="emby-button" type="button" class="raised button-cancel block btnCancel hide" onclick="history.back();"><i class="md-icon">close</i><span>${ButtonCancel}</span></button>