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
dfffc7904a
commit
9eb978a98b
3 changed files with 25 additions and 18 deletions
|
@ -1,4 +1,4 @@
|
||||||
define(['globalize'], function (globalize) {
|
define(['globalize', 'emby-checkbox', 'emby-button'], function (globalize) {
|
||||||
|
|
||||||
function getTabs() {
|
function getTabs() {
|
||||||
return [
|
return [
|
||||||
|
|
|
@ -3,30 +3,37 @@
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
<form>
|
<form>
|
||||||
<div>
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
<paper-checkbox class="chkFolderView">${OptionDisplayFolderView}</paper-checkbox>
|
<label>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${OptionDisplayFolderViewHelp}</div>
|
<input type="checkbox" is="emby-checkbox" class="chkFolderView" />
|
||||||
|
<span>${OptionDisplayFolderView}</span>
|
||||||
|
</label>
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">${OptionDisplayFolderViewHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<label class="checkboxContainer">
|
||||||
<div>
|
<input type="checkbox" is="emby-checkbox" class="chkDisplaySpecialsWithinSeasons"/>
|
||||||
<paper-checkbox class="chkDisplaySpecialsWithinSeasons">${LabelDisplaySpecialsWithinSeasons}</paper-checkbox>
|
<span>${LabelDisplaySpecialsWithinSeasons}</span>
|
||||||
|
</label>
|
||||||
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
|
<label>
|
||||||
|
<input type="checkbox" is="emby-checkbox" class="chkGroupMoviesIntoCollections" />
|
||||||
|
<span>${LabelGroupMoviesIntoCollections}</span>
|
||||||
|
</label>
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">${LabelGroupMoviesIntoCollectionsHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<br /><br />
|
|
||||||
<div>
|
|
||||||
<paper-checkbox class="chkGroupMoviesIntoCollections">${LabelGroupMoviesIntoCollections}</paper-checkbox>
|
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${LabelGroupMoviesIntoCollectionsHelp}</div>
|
|
||||||
</div>
|
|
||||||
<br />
|
|
||||||
|
|
||||||
<div>
|
<div class="checkboxContainer checkboxContainer-withDescription">
|
||||||
<paper-checkbox class="chkDisplayCollectionView">${LabelDisplayCollectionsView}</paper-checkbox>
|
<label>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">
|
<input type="checkbox" is="emby-checkbox" class="chkDisplayCollectionView" />
|
||||||
|
<span>${LabelDisplayCollectionsView}</span>
|
||||||
|
</label>
|
||||||
|
|
||||||
|
<div class="fieldDescription checkboxFieldDescription">
|
||||||
<div>${LabelDisplayCollectionsViewHelp}</div>
|
<div>${LabelDisplayCollectionsViewHelp}</div>
|
||||||
<div><a href="https://github.com/MediaBrowser/Wiki/wiki/Collections" target="_blank">${ButtonLearnMore}</a></div>
|
<div><a href="https://github.com/MediaBrowser/Wiki/wiki/Collections" target="_blank">${ButtonLearnMore}</a></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<br />
|
|
||||||
<button is="emby-button" type="submit" class="raised submit block"><i class="md-icon">check</i><span>${ButtonSave}</span></button>
|
<button is="emby-button" type="submit" class="raised submit block"><i class="md-icon">check</i><span>${ButtonSave}</span></button>
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -2145,7 +2145,7 @@ var AppInfo = {};
|
||||||
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: '/librarydisplay.html',
|
path: '/librarydisplay.html',
|
||||||
dependencies: ['emby-button', 'paper-checkbox'],
|
dependencies: [],
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: 'admin',
|
roles: 'admin',
|
||||||
controller: 'dashboard/librarydisplay'
|
controller: 'dashboard/librarydisplay'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue