mirror of
https://github.com/jellyfin/jellyfin-plugin-reports.git
synced 2024-11-23 05:39:45 +00:00
Merge pull request #8 from dkanada/master
Remove deprecated linkbutton element from source
This commit is contained in:
commit
6353e39b46
@ -2,8 +2,8 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
<AssemblyVersion>2.0.0</AssemblyVersion>
|
||||
<FileVersion>2.0.0</FileVersion>
|
||||
<AssemblyVersion>3.0.0</AssemblyVersion>
|
||||
<FileVersion>3.0.0</FileVersion>
|
||||
<RootNamespace>Jellyfin.Plugin.Reports</RootNamespace>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -355,8 +355,8 @@
|
||||
<div data-role="panel" id="viewPanel" class="viewPanel" data-position="right" data-display="overlay" data-position-fixed="true">
|
||||
<form>
|
||||
<div class="viewPanelTabs">
|
||||
<a is="emby-linkbutton" href="#" id="tabView" data-role="button" class="viewTabButton ui-btn-active" data-tab="tabView">View</a>
|
||||
<a is="emby-linkbutton" href="#" id="tabFilter" data-role="button" class="viewTabButton" data-tab="tabFilter">Filter</a>
|
||||
<a is="emby-button" href="#" id="tabView" data-role="button" class="viewTabButton ui-btn-active" data-tab="tabView">View</a>
|
||||
<a is="emby-button" href="#" id="tabFilter" data-role="button" class="viewTabButton" data-tab="tabFilter">Filter</a>
|
||||
</div>
|
||||
|
||||
|
||||
@ -577,4 +577,4 @@
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -1,4 +1,4 @@
|
||||
define(['jQuery', 'libraryBrowser', 'loading', 'appRouter', 'fnchecked', 'emby-linkbutton', 'paper-icon-button-light', 'detailtablecss'], function ($, libraryBrowser, loading, appRouter) {
|
||||
define(['jQuery', 'libraryBrowser', 'loading', 'appRouter', 'fnchecked', 'emby-button', 'paper-icon-button-light', 'detailtablecss'], function ($, libraryBrowser, loading, appRouter) {
|
||||
'use strict';
|
||||
|
||||
if (!jQuery.mobile || !$.mobile.widgets) {
|
||||
@ -1171,7 +1171,7 @@
|
||||
|
||||
if (header.ShowHeaderLabel) {
|
||||
if (header.SortField) {
|
||||
cellHtml += '<a class="lnkColumnSort button-link" is="emby-linkbutton" href="#" data-sortfield="' + header.SortField + '" style="text-decoration:underline;">';
|
||||
cellHtml += '<a class="lnkColumnSort button-link" is="emby-button" href="#" data-sortfield="' + header.SortField + '" style="text-decoration:underline;">';
|
||||
}
|
||||
|
||||
cellHtml += (header.Name || ' ');
|
||||
@ -1259,13 +1259,13 @@
|
||||
html += '<a target="_blank" class="button-link" href="index.html#!/' + appRouter.getRouteUrl({ Id: id, ServerId: serverId }) + '">' + rItem.Name + '</a>';
|
||||
break;
|
||||
case "Edit":
|
||||
html += '<a is="emby-linkbutton" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '">' + rItem.Name + '</a>';
|
||||
html += '<a is="emby-button" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '">' + rItem.Name + '</a>';
|
||||
break;
|
||||
case "List":
|
||||
html += '<a is="emby-linkbutton" class="button-link" href="itemlist.html?serverId=' + rItem.ServerId + '&id=' + rRow.Id + '">' + rItem.Name + '</a>';
|
||||
html += '<a is="emby-button" class="button-link" href="itemlist.html?serverId=' + rItem.ServerId + '&id=' + rRow.Id + '">' + rItem.Name + '</a>';
|
||||
break;
|
||||
case "ItemByNameDetails":
|
||||
html += '<a is="emby-linkbutton" class="button-link" href="' + appRouter.getRouteUrl({ Id: id, ServerId: serverId }) + '">' + rItem.Name + '</a>';
|
||||
html += '<a is="emby-button" class="button-link" href="' + appRouter.getRouteUrl({ Id: id, ServerId: serverId }) + '">' + rItem.Name + '</a>';
|
||||
break;
|
||||
case "EmbeddedImage":
|
||||
if (rRow.HasEmbeddedImage) {
|
||||
@ -1294,20 +1294,20 @@
|
||||
break;
|
||||
case "TagsPrimaryImage":
|
||||
if (!rRow.HasImageTagsPrimary) {
|
||||
html += '<a is="emby-linkbutton" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '"><i class="md-icon" title="Missing primary image." style="color:red;">photo</i></a>';
|
||||
html += '<a is="emby-button" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '"><i class="md-icon" title="Missing primary image." style="color:red;">photo</i></a>';
|
||||
}
|
||||
break;
|
||||
case "TagsBackdropImage":
|
||||
if (!rRow.HasImageTagsBackdrop) {
|
||||
if (rRow.RowType !== "Episode" && rRow.RowType !== "Season" && rRow.MediaType !== "Audio" && rRow.RowType !== "TvChannel" && rRow.RowType !== "MusicAlbum") {
|
||||
html += '<a is="emby-linkbutton" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '"><i class="md-icon" title="Missing backdrop image." style="color:orange;">photo</i></a>';
|
||||
html += '<a is="emby-button" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '"><i class="md-icon" title="Missing backdrop image." style="color:orange;">photo</i></a>';
|
||||
}
|
||||
}
|
||||
break;
|
||||
case "TagsLogoImage":
|
||||
if (!rRow.HasImageTagsLogo) {
|
||||
if (rRow.RowType === "Movie" || rRow.RowType === "Trailer" || rRow.RowType === "Series" || rRow.RowType === "MusicArtist" || rRow.RowType === "BoxSet") {
|
||||
html += '<a is="emby-linkbutton" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '"><i class="md-icon" title="Missing logo image.">photo</i></a>';
|
||||
html += '<a is="emby-button" class="button-link" href="edititemmetadata.html?id=' + rRow.Id + '"><i class="md-icon" title="Missing logo image.">photo</i></a>';
|
||||
}
|
||||
}
|
||||
break;
|
||||
@ -2236,4 +2236,4 @@
|
||||
updateFilterControls(this);
|
||||
});
|
||||
};
|
||||
});
|
||||
});
|
||||
|
@ -1,7 +1,7 @@
|
||||
---
|
||||
name: "jellyfin-plugin-reports"
|
||||
guid: "d4312cd9-5c90-4f38-82e8-51da566790e8"
|
||||
version: "2" # Please increment with each pull request
|
||||
version: "3" # Please increment with each pull request
|
||||
jellyfin_version: "10.3.0" # The earliest binary-compatible version
|
||||
owner: "jellyfin"
|
||||
nicename: "Reports"
|
||||
|
Loading…
Reference in New Issue
Block a user