Skip to content

Commit

Permalink
update help buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
LukePulverenti committed May 15, 2018
1 parent db0d41d commit d5f4d57
Show file tree
Hide file tree
Showing 60 changed files with 142 additions and 130 deletions.
6 changes: 2 additions & 4 deletions MediaBrowser.WebDashboard/Api/DashboardService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,13 +119,12 @@ public class DashboardService : IService, IRequiresRequest
private readonly ILocalizationManager _localization;
private readonly IJsonSerializer _jsonSerializer;
private readonly IAssemblyInfo _assemblyInfo;
private readonly IMemoryStreamFactory _memoryStreamFactory;
private IResourceFileManager _resourceFileManager;

/// <summary>
/// Initializes a new instance of the <see cref="DashboardService" /> class.
/// </summary>
public DashboardService(IServerApplicationHost appHost, IResourceFileManager resourceFileManager, IServerConfigurationManager serverConfigurationManager, IFileSystem fileSystem, ILocalizationManager localization, IJsonSerializer jsonSerializer, IAssemblyInfo assemblyInfo, ILogger logger, IHttpResultFactory resultFactory, IMemoryStreamFactory memoryStreamFactory)
public DashboardService(IServerApplicationHost appHost, IResourceFileManager resourceFileManager, IServerConfigurationManager serverConfigurationManager, IFileSystem fileSystem, ILocalizationManager localization, IJsonSerializer jsonSerializer, IAssemblyInfo assemblyInfo, ILogger logger, IHttpResultFactory resultFactory)
{
_appHost = appHost;
_serverConfigurationManager = serverConfigurationManager;
Expand All @@ -135,7 +134,6 @@ public DashboardService(IServerApplicationHost appHost, IResourceFileManager res
_assemblyInfo = assemblyInfo;
_logger = logger;
_resultFactory = resultFactory;
_memoryStreamFactory = memoryStreamFactory;
_resourceFileManager = resourceFileManager;
}

Expand Down Expand Up @@ -371,7 +369,7 @@ private Task<Stream> GetResourceStream(string basePath, string virtualPath, stri

private PackageCreator GetPackageCreator(string basePath)
{
return new PackageCreator(basePath, _fileSystem, _logger, _serverConfigurationManager, _memoryStreamFactory, _resourceFileManager);
return new PackageCreator(basePath, _fileSystem, _logger, _serverConfigurationManager, _resourceFileManager);
}

public async Task<object> Get(GetDashboardPackage request)
Expand Down
4 changes: 1 addition & 3 deletions MediaBrowser.WebDashboard/Api/PackageCreator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,14 @@ public class PackageCreator
private readonly IFileSystem _fileSystem;
private readonly ILogger _logger;
private readonly IServerConfigurationManager _config;
private readonly IMemoryStreamFactory _memoryStreamFactory;
private readonly string _basePath;
private IResourceFileManager _resourceFileManager;

public PackageCreator(string basePath, IFileSystem fileSystem, ILogger logger, IServerConfigurationManager config, IMemoryStreamFactory memoryStreamFactory, IResourceFileManager resourceFileManager)
public PackageCreator(string basePath, IFileSystem fileSystem, ILogger logger, IServerConfigurationManager config, IResourceFileManager resourceFileManager)
{
_fileSystem = fileSystem;
_logger = logger;
_config = config;
_memoryStreamFactory = memoryStreamFactory;
_basePath = basePath;
_resourceFileManager = resourceFileManager;
}
Expand Down
2 changes: 1 addition & 1 deletion MediaBrowser.WebDashboard/dashboard-ui/addplugin.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="readOnlyContent">

<div class="verticalSection">
<div class="sectionTitleContainer formSectionTitleContainer flex align-items-center">
<div class="sectionTitleContainer flex align-items-center">
<h1 class="sectionTitle pluginName"></h1>
<a is="emby-linkbutton" class="raised button-alt headerHelpButton" target="_blank" href="https://github.com/MediaBrowser/Wiki/wiki/Plugins">${Help}</a>
</div>
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="verticalSection">
<div class="sectionTitleContainer formSectionTitleContainer flex align-items-center">
<div class="sectionTitleContainer flex align-items-center">
<h1 class="sectionTitle">Schedules Direct</h1>
<a is="emby-linkbutton" class="raised button-alt headerHelpButton" target="_blank" href="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV">${Help}</a>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="verticalSection">
<div class="sectionTitleContainer formSectionTitleContainer flex align-items-center">
<div class="sectionTitleContainer flex align-items-center">
<h1 class="sectionTitle">Xml TV</h1>
<a is="emby-linkbutton" class="raised button-alt headerHelpButton" target="_blank" href="https://github.com/MediaBrowser/Wiki/wiki/Live%20TV">${Help}</a>
</div>
Expand Down
Loading

0 comments on commit d5f4d57

Please sign in to comment.