mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update collapsibles
This commit is contained in:
parent
c2a85cce55
commit
5df632bdee
10 changed files with 341 additions and 313 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage withTabs" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Auto-Organize" data-require="emby-collapsible,jqmtable,scripts/autoorganizetv,paper-input,paper-checkbox">
|
<div id="libraryFileOrganizerPage" data-role="page" class="page type-interior organizePage withTabs" data-helpurl="https://github.com/MediaBrowser/Wiki/wiki/Auto-Organize" data-require="emby-collapse,jqmtable,scripts/autoorganizetv,paper-input,paper-checkbox,jqmlistview">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
|
@ -33,7 +33,8 @@
|
||||||
</li>
|
</li>
|
||||||
</ul><br />
|
</ul><br />
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderEpisodeFilePattern}">
|
<div is="emby-collapse" title="${HeaderEpisodeFilePattern}">
|
||||||
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<paper-input type="text" id="txtEpisodePattern" name="txtEpisodePattern" label="${LabelEpisodePattern}" required></paper-input>
|
<paper-input type="text" id="txtEpisodePattern" name="txtEpisodePattern" label="${LabelEpisodePattern}" required></paper-input>
|
||||||
|
@ -124,7 +125,9 @@
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br /><br />
|
<br /><br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -82,7 +82,13 @@
|
||||||
|
|
||||||
this.insertAdjacentHTML('afterbegin', html);
|
this.insertAdjacentHTML('afterbegin', html);
|
||||||
|
|
||||||
this.querySelector('.emby-collapsible-button').addEventListener('click', onButtonClick);
|
var button = this.querySelector('.emby-collapsible-button');
|
||||||
|
|
||||||
|
button.addEventListener('click', onButtonClick);
|
||||||
|
|
||||||
|
if (this.getAttribute('data-expanded') == 'true') {
|
||||||
|
onButtonClick.call(button);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
document.registerElement('emby-collapse', {
|
document.registerElement('emby-collapse', {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
define(['dialogHelper', 'jQuery', 'emby-input', 'emby-button', 'emby-collapsible', 'paper-checkbox', 'paper-icon-button-light'], function (dialogHelper, $) {
|
define(['dialogHelper', 'jQuery', 'emby-input', 'emby-button', 'emby-collapse', 'paper-checkbox', 'paper-icon-button-light'], function (dialogHelper, $) {
|
||||||
|
|
||||||
function renderLibrarySharingList(context, result) {
|
function renderLibrarySharingList(context, result) {
|
||||||
|
|
||||||
|
|
|
@ -17,13 +17,13 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
<div is="emby-collapse" title="${HeaderShareMediaFolders}">
|
||||||
|
<div class="collapseContent">
|
||||||
<emby-collapsible title="${HeaderShareMediaFolders}">
|
|
||||||
<div class="librarySharingList">
|
<div class="librarySharingList">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
<p class="fieldDescription" style="margin-top:.5em;">${MessageGuestSharingPermissionsHelp}</p>
|
<p class="fieldDescription" style="margin-top:.5em;">${MessageGuestSharingPermissionsHelp}</p>
|
||||||
<br />
|
<br />
|
||||||
<button is="emby-button" type="submit" class="raised submit block">
|
<button is="emby-button" type="submit" class="raised submit block">
|
||||||
|
|
|
@ -22,12 +22,6 @@
|
||||||
transition: transform ease-in-out 0.3s, width ease-in-out 0.3s, visibility 0.3s;*/
|
transition: transform ease-in-out 0.3s, width ease-in-out 0.3s, visibility 0.3s;*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.touch-menu-la .tmla-handle {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
height: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
.scrollContainer {
|
.scrollContainer {
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="dashboardPage" data-role="page" class="page type-interior dashboardHomePage fullWidthContent" data-require="scripts/dashboardpage,humanedate,buttonenabled,paper-icon-item,paper-item-body,paper-fab,emby-collapsible,emby-button">
|
<div id="dashboardPage" data-role="page" class="page type-interior dashboardHomePage fullWidthContent" data-require="scripts/dashboardpage,humanedate,buttonenabled,paper-icon-item,paper-item-body,paper-fab,emby-collapse,emby-button">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
<div class="content-primary">
|
<div class="content-primary">
|
||||||
|
@ -51,7 +51,8 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div id="collapsiblePendingInstallations" style="margin-top: 2em; display: none;">
|
<div id="collapsiblePendingInstallations" style="margin-top: 2em; display: none;">
|
||||||
<emby-collapsible title="${HeaderPendingInstallations}" expanded>
|
<div is="emby-collapse" title="${HeaderPendingInstallations}" data-expanded="true">
|
||||||
|
<div class="collapseContent">
|
||||||
<p>${LabelComponentsUpdated}</p>
|
<p>${LabelComponentsUpdated}</p>
|
||||||
<div id="pendingInstallations">
|
<div id="pendingInstallations">
|
||||||
</div>
|
</div>
|
||||||
|
@ -59,7 +60,8 @@
|
||||||
<div class="btnRestartContainer hide">
|
<div class="btnRestartContainer hide">
|
||||||
<button is="emby-button" type="button" class="raised submit" onclick="DashboardPage.restart();"><iron-icon icon="refresh"></iron-icon><span>${ButtonRestartNow}</span></button>
|
<button is="emby-button" type="button" class="raised submit" onclick="DashboardPage.restart();"><iron-icon icon="refresh"></iron-icon><span>${ButtonRestartNow}</span></button>
|
||||||
</div>
|
</div>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="healthMonitorSection hide" style="margin-top: 2em;">
|
<div class="healthMonitorSection hide" style="margin-top: 2em;">
|
||||||
|
@ -78,14 +80,17 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="runningTasksCollapsible" style="margin-top: 2em; display: none;">
|
<div id="runningTasksCollapsible" style="margin-top: 2em; display: none;">
|
||||||
<emby-collapsible title="${HeaderRunningTasks}" expanded>
|
<div is="emby-collapse" title="${HeaderRunningTasks}" data-expanded="true">
|
||||||
|
<div class="collapseContent">
|
||||||
<div id="divRunningTasks">
|
<div id="divRunningTasks">
|
||||||
</div>
|
</div>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<emby-collapsible title="${HeaderPaths}">
|
<div is="emby-collapse" title="${HeaderPaths}">
|
||||||
|
<div class="collapseContent">
|
||||||
<p>
|
<p>
|
||||||
<b>${LabelCache}</b><br />
|
<b>${LabelCache}</b><br />
|
||||||
<span id="cachePath"></span>
|
<span id="cachePath"></span>
|
||||||
|
@ -102,7 +107,8 @@
|
||||||
<b>${LabelTranscodingTemporaryFiles}</b><br />
|
<b>${LabelTranscodingTemporaryFiles}</b><br />
|
||||||
<span id="transcodingTemporaryPath"></span>
|
<span id="transcodingTemporaryPath"></span>
|
||||||
</p>
|
</p>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="readOnlyContent dashboardHomeRightColumn firstDashboardHomeRightColumn">
|
<div class="readOnlyContent dashboardHomeRightColumn firstDashboardHomeRightColumn">
|
||||||
|
|
|
@ -42,18 +42,22 @@
|
||||||
<br /><br />
|
<br /><br />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderAdvanced}">
|
<div is="emby-collapse" title="${HeaderAdvanced}">
|
||||||
<br />
|
<div class="collapseContent">
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
<paper-input type="text" id="txtCachePath" label="${LabelCachePath}" style="display: inline-block; width: 85%;"></paper-input>
|
<paper-input type="text" id="txtCachePath" label="${LabelCachePath}" style="display: inline-block; width: 85%;"></paper-input>
|
||||||
<button type="button" is="paper-icon-button-light" id="btnSelectCachePath" title="${ButtonSelectDirectory}"><iron-icon icon="search"></iron-icon></button>
|
<button type="button" is="paper-icon-button-light" id="btnSelectCachePath" title="${ButtonSelectDirectory}" class="autoSize">
|
||||||
|
<i class="md-icon">search</i>
|
||||||
|
</button>
|
||||||
<div class="fieldDescription">${LabelCachePathHelp}</div>
|
<div class="fieldDescription">${LabelCachePathHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderAutomaticUpdates}">
|
<div is="emby-collapse" title="${HeaderAutomaticUpdates}">
|
||||||
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li class="fldAutomaticUpdates">
|
<li class="fldAutomaticUpdates">
|
||||||
|
@ -80,9 +84,11 @@
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderBranding}">
|
<div is="emby-collapse" title="${HeaderBranding}">
|
||||||
|
<div class="collapseContent">
|
||||||
<p>${HeaderBrandingHelp}</p>
|
<p>${HeaderBrandingHelp}</p>
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
|
@ -96,9 +102,11 @@
|
||||||
<div class="fieldDescription">${LabelCustomCssHelp}</div>
|
<div class="fieldDescription">${LabelCustomCssHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderDeveloperOptions}">
|
<div is="emby-collapse" title="${HeaderDeveloperOptions}">
|
||||||
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<paper-checkbox id="chkEnableDashboardResponseCache">${OptionEnableWebClientResponseCache}</paper-checkbox>
|
<paper-checkbox id="chkEnableDashboardResponseCache">${OptionEnableWebClientResponseCache}</paper-checkbox>
|
||||||
|
@ -118,7 +126,8 @@
|
||||||
<div class="fieldDescription">${LabelDashboardSourcePathHelp}</div>
|
<div class="fieldDescription">${LabelDashboardSourcePathHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
<br />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
|
|
|
@ -36,25 +36,30 @@
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderAudio}">
|
<div is="emby-collapse" title="${HeaderAudio}">
|
||||||
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<paper-checkbox id="chkEnableAudioArchiveFiles">${OptionDetectArchiveFilesAsMedia}</paper-checkbox>
|
<paper-checkbox id="chkEnableAudioArchiveFiles">${OptionDetectArchiveFilesAsMedia}</paper-checkbox>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${OptionDetectArchiveFilesAsMediaHelp}</div>
|
<div class="fieldDescription paperCheckboxFieldDescription">${OptionDetectArchiveFilesAsMediaHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderVideo}">
|
<div is="emby-collapse" title="${HeaderVideo}">
|
||||||
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<div>
|
<div>
|
||||||
<paper-checkbox id="chkEnableVideoArchiveFiles">${OptionDetectArchiveFilesAsMedia}</paper-checkbox>
|
<paper-checkbox id="chkEnableVideoArchiveFiles">${OptionDetectArchiveFilesAsMedia}</paper-checkbox>
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${OptionDetectArchiveFilesAsMediaHelp}</div>
|
<div class="fieldDescription paperCheckboxFieldDescription">${OptionDetectArchiveFilesAsMediaHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderChapters}">
|
<div is="emby-collapse" title="${HeaderChapters}">
|
||||||
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm" style="margin-bottom:0!important;">
|
<ul data-role="listview" class="ulForm" style="margin-bottom:0!important;">
|
||||||
<li>
|
<li>
|
||||||
|
@ -75,9 +80,11 @@
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${LabelExtractChaptersDuringLibraryScanHelp}</div>
|
<div class="fieldDescription paperCheckboxFieldDescription">${LabelExtractChaptersDuringLibraryScanHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
<br />
|
<br />
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderPeople}">
|
<div is="emby-collapse" title="${HeaderPeople}">
|
||||||
|
<div class="collapseContent">
|
||||||
<br />
|
<br />
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
|
@ -100,18 +107,19 @@
|
||||||
<div class="fieldDescription paperCheckboxFieldDescription">${HeaderDownloadPeopleMetadataForHelp}</div>
|
<div class="fieldDescription paperCheckboxFieldDescription">${HeaderDownloadPeopleMetadataForHelp}</div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</emby-collapsible>
|
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderTV}">
|
|
||||||
<br />
|
|
||||||
<div>
|
|
||||||
<label for="txtSeasonZeroName">${LabelSeasonZeroDisplayName}</label>
|
|
||||||
<paper-input type="text" id="txtSeasonZeroName" required></paper-input>
|
|
||||||
</div>
|
</div>
|
||||||
<br />
|
</div>
|
||||||
</emby-collapsible>
|
|
||||||
|
|
||||||
<emby-collapsible title="Fanart.tv">
|
<div is="emby-collapse" title="${HeaderTV}">
|
||||||
|
<div class="collapseContent">
|
||||||
|
<div>
|
||||||
|
<paper-input type="text" id="txtSeasonZeroName" label="${LabelSeasonZeroDisplayName}" required></paper-input>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div is="emby-collapse" title="Fanart.tv">
|
||||||
|
<div class="collapseContent">
|
||||||
<ul data-role="listview" class="ulForm">
|
<ul data-role="listview" class="ulForm">
|
||||||
<li>
|
<li>
|
||||||
<paper-input type="text" id="txtFanartApiKey" label="${LabelFanartApiKey}"></paper-input>
|
<paper-input type="text" id="txtFanartApiKey" label="${LabelFanartApiKey}"></paper-input>
|
||||||
|
@ -119,7 +127,8 @@
|
||||||
<div class="fieldDescription"><a href="https://fanart.tv/2015/01/personal-api-keys" target="_blank">${ButtonLearnMore}</a></div>
|
<div class="fieldDescription"><a href="https://fanart.tv/2015/01/personal-api-keys" target="_blank">${ButtonLearnMore}</a></div>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<div id="metadataImagesConfigurationPage" data-role="page" class="page type-interior metadataConfigurationPage withTabs" data-require="jqmlistview,emby-collapsible,scripts/metadataimagespage,paper-checkbox,paper-input,paper-fab,paper-icon-item,paper-item-body,emby-button">
|
<div id="metadataImagesConfigurationPage" data-role="page" class="page type-interior metadataConfigurationPage withTabs" data-require="jqmlistview,emby-collapse,scripts/metadataimagespage,paper-checkbox,paper-input,paper-fab,paper-icon-item,paper-item-body,emby-button">
|
||||||
|
|
||||||
<div data-role="content">
|
<div data-role="content">
|
||||||
|
|
||||||
|
@ -21,8 +21,8 @@
|
||||||
<div class="imageFetchers" style="margin-bottom: 2em;">
|
<div class="imageFetchers" style="margin-bottom: 2em;">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<emby-collapsible title="${HeaderImageSettings}">
|
<div is="emby-collapse" title="${HeaderImageSettings}">
|
||||||
<br />
|
<div class="collapseContent">
|
||||||
<div class="backdropFields" style="margin-bottom: 2em; display: none;">
|
<div class="backdropFields" style="margin-bottom: 2em; display: none;">
|
||||||
<div>
|
<div>
|
||||||
<paper-input type="number" id="txtMaxBackdrops" pattern="[0-9]*" required="required" min="0" label="${LabelMaxBackdropsPerItem}"></paper-input>
|
<paper-input type="number" id="txtMaxBackdrops" pattern="[0-9]*" required="required" min="0" label="${LabelMaxBackdropsPerItem}"></paper-input>
|
||||||
|
@ -57,7 +57,8 @@
|
||||||
<paper-checkbox class="imageType hide" data-imagetype="Menu">${OptionDownloadMenuImage}</paper-checkbox>
|
<paper-checkbox class="imageType hide" data-imagetype="Menu">${OptionDownloadMenuImage}</paper-checkbox>
|
||||||
<paper-checkbox class="imageType hide" data-imagetype="Thumb">${OptionDownloadThumbImage}</paper-checkbox>
|
<paper-checkbox class="imageType hide" data-imagetype="Thumb">${OptionDownloadThumbImage}</paper-checkbox>
|
||||||
</div>
|
</div>
|
||||||
</emby-collapsible>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
<br />
|
<br />
|
||||||
|
|
|
@ -2423,7 +2423,7 @@ var AppInfo = {};
|
||||||
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: '/dashboardgeneral.html',
|
path: '/dashboardgeneral.html',
|
||||||
dependencies: ['emby-collapsible', 'paper-textarea', 'paper-input', 'paper-checkbox', 'jqmlistview'],
|
dependencies: ['emby-collapse', 'paper-textarea', 'paper-input', 'paper-checkbox', 'jqmlistview'],
|
||||||
controller: 'scripts/dashboardgeneral',
|
controller: 'scripts/dashboardgeneral',
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: 'admin'
|
roles: 'admin'
|
||||||
|
@ -2612,7 +2612,7 @@ var AppInfo = {};
|
||||||
|
|
||||||
defineRoute({
|
defineRoute({
|
||||||
path: '/librarysettings.html',
|
path: '/librarysettings.html',
|
||||||
dependencies: ['emby-collapsible', 'paper-input', 'paper-checkbox', 'emby-button', 'jqmlistview'],
|
dependencies: ['emby-collapse', 'paper-input', 'paper-checkbox', 'emby-button', 'jqmlistview'],
|
||||||
autoFocus: false,
|
autoFocus: false,
|
||||||
roles: 'admin',
|
roles: 'admin',
|
||||||
controller: 'scripts/librarysettings'
|
controller: 'scripts/librarysettings'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue