mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
AutoOrganize: Migrate paper controls to emby controls
This commit is contained in:
parent
7896d3df4c
commit
50f9d7d4fe
3 changed files with 54 additions and 38 deletions
|
@ -73,9 +73,13 @@
|
|||
|
||||
html += '<div class="listItem">';
|
||||
|
||||
html += '<div class="listItemIconContainer">';
|
||||
html += '<i class="listItemIcon md-icon">folder</i>';
|
||||
html += '</div>';
|
||||
|
||||
html += (info.DisplayName || info.ItemName);
|
||||
html += '<div class="listItemBody">';
|
||||
html += "<h2 class='listItemBodyText'>" + (info.DisplayName || info.ItemName) + "</h2>";
|
||||
html += '</div>';
|
||||
|
||||
html += '</div>';
|
||||
|
||||
|
@ -84,15 +88,16 @@
|
|||
html += info.MatchStrings.map(function (m) {
|
||||
|
||||
var matchStringHtml = '';
|
||||
|
||||
matchStringHtml += '<div class="listItem">';
|
||||
|
||||
matchStringHtml += '<div class="listItemBody">';
|
||||
matchStringHtml += '<div class="listItemBody" style="padding: .1em 1em .4em 5.5em; min-height: 1.5em;">';
|
||||
|
||||
matchStringHtml += "<div class='listItemBodyText secondary'>" + m + "</div>";
|
||||
|
||||
matchStringHtml += '</div>';
|
||||
|
||||
matchStringHtml += '<button type="button" is="paper-icon-button-light" class="btnDeleteMatchEntry" data-index="' + i + '" data-matchindex="' + matchStringIndex + '" title="' + Globalize.translate('ButtonDelete') + '"><i class="md-icon">delete</i></button>';
|
||||
matchStringHtml += '<button type="button" is="emby-button" class="btnDeleteMatchEntry" style="padding: 0;" data-index="' + i + '" data-matchindex="' + matchStringIndex + '" title="' + Globalize.translate('ButtonDelete') + '"><i class="md-icon">delete</i></button>';
|
||||
|
||||
matchStringHtml += '</div>';
|
||||
matchStringIndex++;
|
||||
|
|
|
@ -1913,7 +1913,7 @@ var AppInfo = {};
|
|||
|
||||
defineRoute({
|
||||
path: '/autoorganizesmart.html',
|
||||
dependencies: [],
|
||||
dependencies: ['emby-button'],
|
||||
controller: 'scripts/autoorganizesmart',
|
||||
autoFocus: false,
|
||||
roles: 'admin'
|
||||
|
@ -1921,7 +1921,7 @@ var AppInfo = {};
|
|||
|
||||
defineRoute({
|
||||
path: '/autoorganizetv.html',
|
||||
dependencies: ['jqmtable', 'paper-input', 'paper-checkbox'],
|
||||
dependencies: ['emby-checkbox', 'emby-input', 'emby-button', 'emby-select', 'emby-collapse'],
|
||||
controller: 'scripts/autoorganizetv',
|
||||
autoFocus: false,
|
||||
roles: 'admin'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue