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

update forms

This commit is contained in:
Luke Pulverenti 2016-02-16 14:58:42 -05:00
parent c9bb9cc40a
commit e6ded08848
5 changed files with 17 additions and 20 deletions

View file

@ -4,7 +4,7 @@
<title>${TitleAutoOrganize}</title> <title>${TitleAutoOrganize}</title>
</head> </head>
<body> <body>
<div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Auto-Organize" data-require="jqmcollapsible,jqmtable,scripts/autoorganizetv,paper-input,jqmcheckbox"> <div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Auto-Organize" data-require="jqmcollapsible,jqmtable,scripts/autoorganizetv,paper-input,paper-checkbox">
<div data-role="content"> <div data-role="content">
<div class="content-primary"> <div class="content-primary">
@ -20,8 +20,8 @@
<p>${AutoOrganizeTvHelp}</p> <p>${AutoOrganizeTvHelp}</p>
<ul data-role="listview" class="ulForm" style="margin-bottom: 0!important;"> <ul data-role="listview" class="ulForm" style="margin-bottom: 0!important;">
<li> <li>
<input type="checkbox" id="chkEnableTvSorting" name="chkEnableTvSorting" /> <br />
<label for="chkEnableTvSorting">${OptionEnableEpisodeOrganization}</label> <paper-checkbox id="chkEnableTvSorting">${OptionEnableEpisodeOrganization}</paper-checkbox>
</li> </li>
<li> <li>
<paper-input id="txtWatchFolder" label="${LabelWatchFolder}" style="width:85%;display:inline-block;"></paper-input> <paper-input id="txtWatchFolder" label="${LabelWatchFolder}" style="width:85%;display:inline-block;"></paper-input>
@ -41,8 +41,8 @@
<li> <li>
<paper-input type="text" id="txtSeasonZeroName" name="txtSeasonZeroName" label="${LabelSeasonZeroFolderName}" required></paper-input> <paper-input type="text" id="txtSeasonZeroName" name="txtSeasonZeroName" label="${LabelSeasonZeroFolderName}" required></paper-input>
</li> </li>
</ul> </ul><br />
<div data-role="collapsible"> <div data-role="collapsible" data-mini="true">
<h3>${HeaderEpisodeFilePattern}</h3> <h3>${HeaderEpisodeFilePattern}</h3>
<div> <div>
<br /> <br />
@ -133,7 +133,7 @@
</div> </div>
</div> </div>
<br /> <br /><br />
<ul data-role="listview" class="ulForm"> <ul data-role="listview" class="ulForm">
<li> <li>
<label for="copyOrMoveFile" class="selectLabel">${LabelTransferMethod}</label> <label for="copyOrMoveFile" class="selectLabel">${LabelTransferMethod}</label>
@ -144,17 +144,16 @@
<div class="fieldDescription">${LabelTransferMethodHelp}</div> <div class="fieldDescription">${LabelTransferMethodHelp}</div>
</li> </li>
<li> <li>
<input type="checkbox" id="chkOverwriteExistingEpisodes" name="chkOverwriteExistingEpisodes" /> <br />
<label for="chkOverwriteExistingEpisodes">${OptionOverwriteExistingEpisodes}</label> <paper-checkbox type="checkbox" id="chkOverwriteExistingEpisodes">${OptionOverwriteExistingEpisodes}</paper-checkbox>
</li> </li>
<li> <li>
<paper-input type="text" id="txtDeleteLeftOverFiles" name="txtDeleteLeftOverFiles" label="${LabelDeleteLeftOverFiles}"></paper-input> <paper-input type="text" id="txtDeleteLeftOverFiles" name="txtDeleteLeftOverFiles" label="${LabelDeleteLeftOverFiles}"></paper-input>
<div class="fieldDescription">${LabelDeleteLeftOverFilesHelp}</div> <div class="fieldDescription">${LabelDeleteLeftOverFilesHelp}</div>
</li> </li>
<li> <li>
<input type="checkbox" id="chkDeleteEmptyFolders" name="chkDeleteEmptyFolders" data-mini="true" /> <paper-checkbox id="chkDeleteEmptyFolders">${LabelDeleteEmptyFolders}</paper-checkbox>
<label for="chkDeleteEmptyFolders">${LabelDeleteEmptyFolders}</label> <div class="fieldDescription paperCheckboxFieldDescription">${LabelDeleteEmptyFoldersHelp}</div>
<div class="fieldDescription">${LabelDeleteEmptyFoldersHelp}</div>
</li> </li>
</ul> </ul>

View file

@ -835,8 +835,6 @@
context.querySelector('.libraryViewNav').classList.remove('hide'); context.querySelector('.libraryViewNav').classList.remove('hide');
} }
tabs.classList.add('bottom');
tabs.alignBottom = true;
tabs.noSlide = true; tabs.noSlide = true;
tabs.addEventListener('iron-select', function (e) { tabs.addEventListener('iron-select', function (e) {

View file

@ -4,7 +4,7 @@
<title>Emby</title> <title>Emby</title>
</head> </head>
<body> <body>
<div id="nowPlayingPage" data-role="page" class="page libraryPage nowPlayingPage noSecondaryNavPage" data-contextname="${TitleRemoteControl}" data-theme="b" data-require="scripts/nowplayingpage"> <div id="nowPlayingPage" data-role="page" class="page libraryPage nowPlayingPage noSecondaryNavPage" data-contextname="${TitleRemoteControl}" data-theme="b" data-require="scripts/nowplayingpage,paper-tabs,paper-icon-button,paper-slider">
<div class="remoteControlContent"> <div class="remoteControlContent">
@ -138,7 +138,7 @@
<div class="playlist itemsContainer" style="max-width: 800px; margin: 3em auto 0; padding-bottom: 200px;"> <div class="playlist itemsContainer" style="max-width: 800px; margin: 3em auto 0; padding-bottom: 200px;">
</div> </div>
</div> </div>
<paper-tabs class="nowPlayingPagePaperTabs" hidescrollbuttons noink disabledrag> <paper-tabs class="nowPlayingPagePaperTabs bottom hide" alignbottom hidescrollbuttons noink disabledrag>
<paper-tab>${TabNowPlaying}</paper-tab> <paper-tab>${TabNowPlaying}</paper-tab>
<paper-tab>${TabControls}</paper-tab> <paper-tab>${TabControls}</paper-tab>
<paper-tab>${TabPlaylist}</paper-tab> <paper-tab>${TabPlaylist}</paper-tab>

View file

@ -60,9 +60,9 @@
var tvOptions = config.TvOptions; var tvOptions = config.TvOptions;
$('#chkEnableTvSorting', page).checked(tvOptions.IsEnabled).checkboxradio('refresh'); $('#chkEnableTvSorting', page).checked(tvOptions.IsEnabled);
$('#chkOverwriteExistingEpisodes', page).checked(tvOptions.OverwriteExistingEpisodes).checkboxradio('refresh'); $('#chkOverwriteExistingEpisodes', page).checked(tvOptions.OverwriteExistingEpisodes);
$('#chkDeleteEmptyFolders', page).checked(tvOptions.DeleteEmptyFolders).checkboxradio('refresh'); $('#chkDeleteEmptyFolders', page).checked(tvOptions.DeleteEmptyFolders);
$('#txtMinFileSize', page).val(tvOptions.MinFileSizeMb); $('#txtMinFileSize', page).val(tvOptions.MinFileSizeMb);
$('#txtSeasonFolderPattern', page).val(tvOptions.SeasonFolderPattern).trigger('change'); $('#txtSeasonFolderPattern', page).val(tvOptions.SeasonFolderPattern).trigger('change');

View file

@ -1767,8 +1767,8 @@ var AppInfo = {};
// Put the version into the bower path since we can't easily put a query string param on html imports // Put the version into the bower path since we can't easily put a query string param on html imports
// Emby server will handle this // Emby server will handle this
if (!Dashboard.isRunningInCordova()) { if (Dashboard.isConnectMode() && !Dashboard.isRunningInCordova()) {
//bowerPath += window.dashboardVersion; bowerPath += window.dashboardVersion;
} }
return bowerPath; return bowerPath;