reduce use of paper-checkbox

This commit is contained in:
Luke Pulverenti 2016-08-30 14:49:27 -04:00
parent 8fb207e4ca
commit a96b9dcefa
2 changed files with 28 additions and 29 deletions

View file

@ -1,4 +1,4 @@
<div id="liveTvSettingsPage" data-role="page" class="page type-interior liveTvPage withTabs" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV" data-require="scripts/livetvsettings,paper-checkbox,emby-input,emby-select,emby-collapse,emby-button"> <div id="liveTvSettingsPage" data-role="page" class="page type-interior liveTvPage withTabs" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV" data-require="scripts/livetvsettings,emby-checkbox,emby-input,emby-select,emby-collapse,emby-button">
<div data-role="content"> <div data-role="content">
<div class="content-primary"> <div class="content-primary">
<form class="liveTvSettingsForm"> <form class="liveTvSettingsForm">
@ -22,9 +22,12 @@
</select> </select>
<div class="fieldDescription">${LabelNumberOfGuideDaysHelp}</div> <div class="fieldDescription">${LabelNumberOfGuideDaysHelp}</div>
</div> </div>
<div class="paperCheckboxList"> <h3 class="checkboxListLabel">${LabelEnableInternetMetadataForTvPrograms}</h3>
<label>${LabelEnableInternetMetadataForTvPrograms}</label> <div class="checkboxList">
<paper-checkbox id="chkMovies">${OptionTVMovies}</paper-checkbox> <label>
<input type="checkbox" is="emby-checkbox" id="chkMovies" />
<span>${OptionTVMovies}</span>
</label>
</div> </div>
<br /> <br />
<div class="inputContainer"> <div class="inputContainer">
@ -36,11 +39,10 @@
</div> </div>
<div class="fieldDescription">${LabelRecordingPathHelp}</div> <div class="fieldDescription">${LabelRecordingPathHelp}</div>
</div> </div>
<div> <label class="checkboxContainer">
<paper-checkbox id="chkEnableRecordingSubfolders">${OptionEnableRecordingSubfolders}</paper-checkbox> <input type="checkbox" is="emby-checkbox" id="chkEnableRecordingSubfolders" />
</div> <span>${OptionEnableRecordingSubfolders}</span>
<br /> </label>
<br />
<div class="inputContainer"> <div class="inputContainer">
<div style="display: flex; align-items: center;"> <div style="display: flex; align-items: center;">
<div style="flex-grow:1;"> <div style="flex-grow:1;">
@ -57,22 +59,25 @@
<button type="button" is="paper-icon-button-light" id="btnSelectSeriesRecordingPath" title="${ButtonSelectDirectory}"><i class="md-icon">search</i></button> <button type="button" is="paper-icon-button-light" id="btnSelectSeriesRecordingPath" title="${ButtonSelectDirectory}"><i class="md-icon">search</i></button>
</div> </div>
</div> </div>
<div> <label class="checkboxContainer">
<paper-checkbox id="chkOrganize">${OptionSendRecordingsToAutoOrganize}</paper-checkbox> <input type="checkbox" is="emby-checkbox" id="chkOrganize" />
</div> <span>${OptionSendRecordingsToAutoOrganize}</span>
<br /> </label>
<br /> <div class="checkboxContainer checkboxContainer-withDescription">
<div> <label>
<paper-checkbox id="chkConvertRecordings">${OptionConvertRecordingsToStreamingFormat}</paper-checkbox> <input type="checkbox" is="emby-checkbox" id="chkConvertRecordings" />
<span>${OptionConvertRecordingsToStreamingFormat}</span>
</label>
<div class="fieldDescription paperCheckboxFieldDescription">${OptionConvertRecordingsToStreamingFormatHelp}</div> <div class="fieldDescription paperCheckboxFieldDescription">${OptionConvertRecordingsToStreamingFormatHelp}</div>
<div class="fieldDescription paperCheckboxFieldDescription btnSupporterForConverting"><a href="https://emby.media/premiere" target="_blank" class="accent">${FeatureRequiresEmbyPremiere}</a></div> <div class="fieldDescription paperCheckboxFieldDescription btnSupporterForConverting"><a href="https://emby.media/premiere" target="_blank" class="accent">${FeatureRequiresEmbyPremiere}</a></div>
</div> </div>
<br /> <div class="checkboxContainer checkboxContainer-withDescription">
<div> <label>
<paper-checkbox id="chkPreserveAudio">${OptionConvertRecordingPreserveAudio}</paper-checkbox> <input type="checkbox" is="emby-checkbox" id="chkPreserveAudio" />
<div class="fieldDescription paperCheckboxFieldDescription">${OptionConvertRecordingPreserveAudioHelp}</div> <span>${OptionConvertRecordingPreserveAudio}</span>
</label>
<div class="fieldDescription checkboxFieldDescription">${OptionConvertRecordingPreserveAudioHelp}</div>
</div> </div>
<br />
<div> <div>
<h1>${HeaderDefaultPadding}</h1> <h1>${HeaderDefaultPadding}</h1>
<div class="inputContainer"> <div class="inputContainer">

View file

@ -116,12 +116,6 @@ button.emby-button.mini:not(.fab) {
padding: 0.4em 0.7em; padding: 0.4em 0.7em;
} }
button.emby-button.notext {
min-width: 2.8em;
padding-left: .25em !important;
padding-right: .25em !important;
}
.ui-body-b .paperListLabel, .ui-body-b .fieldDescription, .ui-body-b .selectLabelUnfocused, .ui-body-b .inputLabelUnfocused, .ui-body-b .textareaLabelUnfocused { .ui-body-b .paperListLabel, .ui-body-b .fieldDescription, .ui-body-b .selectLabelUnfocused, .ui-body-b .inputLabelUnfocused, .ui-body-b .textareaLabelUnfocused {
color: #ccc; color: #ccc;
} }