diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-10-18 21:19:48 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2017-10-18 21:19:48 -0400 |
| commit | 12adc7ae4cd823bac46e0d7b76ddc06d9b60bc14 (patch) | |
| tree | 3cd03b3dd935e5607400607dc0c631938e349cfc /MediaBrowser.WebDashboard | |
| parent | bca5f49ac975c781e690e8ec52b726659480c82a (diff) | |
add additional info to timer infos
Diffstat (limited to 'MediaBrowser.WebDashboard')
| -rw-r--r-- | MediaBrowser.WebDashboard/Api/PackageCreator.cs | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/MediaBrowser.WebDashboard/Api/PackageCreator.cs b/MediaBrowser.WebDashboard/Api/PackageCreator.cs index bb4a98fa86..f55d95a2e7 100644 --- a/MediaBrowser.WebDashboard/Api/PackageCreator.cs +++ b/MediaBrowser.WebDashboard/Api/PackageCreator.cs @@ -152,7 +152,7 @@ namespace MediaBrowser.WebDashboard.Api } } - html = html.Replace("<head>", "<head>" + GetMetaTags(mode) + GetCommonCss(mode, appVersion)); + html = html.Replace("<head>", "<head>" + GetMetaTags(mode)); // Disable embedded scripts from plugins. We'll run them later once resources have loaded if (html.IndexOf("<script", StringComparison.OrdinalIgnoreCase) != -1) @@ -230,26 +230,6 @@ namespace MediaBrowser.WebDashboard.Api } /// <summary> - /// Gets the common CSS. - /// </summary> - /// <param name="mode">The mode.</param> - /// <param name="version">The version.</param> - /// <returns>System.String.</returns> - private string GetCommonCss(string mode, string version) - { - var versionString = string.IsNullOrWhiteSpace(mode) ? "?v=" + version : string.Empty; - - var files = new[] - { - "css/site.css" + versionString - }; - - var tags = files.Select(s => string.Format("<link rel=\"stylesheet\" href=\"{0}\" async />", s)).ToArray(); - - return string.Join(string.Empty, tags); - } - - /// <summary> /// Gets the common javascript. /// </summary> /// <param name="mode">The mode.</param> |
