extract scripts
This commit is contained in:
parent
d86c6decec
commit
dbf3ae2262
|
@ -1454,5 +1454,6 @@
|
|||
"OptionEnableExternalVideoPlayers": "Enable external video players",
|
||||
"ButtonUnlockGuide": "Unlock Guide",
|
||||
"LabelEnableFullScreen": "Enable fullscreen mode",
|
||||
"LabelEnableChromecastAc3Passthrough": "Enable Chromecast AC3 Passthrough"
|
||||
"LabelEnableChromecastAc3Passthrough": "Enable Chromecast AC3 Passthrough",
|
||||
"LabelSyncPath": "Synced content path:"
|
||||
}
|
||||
|
|
|
@ -274,7 +274,10 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
|
||||
var version = GetType().Assembly.GetName().Version;
|
||||
|
||||
html = html.Replace("<head>", "<head>" + GetMetaTags(mode) + GetCommonCss(mode, version) + GetCommonJavascript(mode, version));
|
||||
var imports = "<link rel=\"import\" href=\"thirdparty/polymer/polymer.html\">";
|
||||
imports = "";
|
||||
|
||||
html = html.Replace("<head>", "<head>" + GetMetaTags(mode) + GetCommonCss(mode, version) + GetCommonJavascript(mode, version) + imports);
|
||||
|
||||
var bytes = Encoding.UTF8.GetBytes(html);
|
||||
|
||||
|
@ -393,6 +396,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
|
||||
var files = new List<string>
|
||||
{
|
||||
//"thirdparty/webcomponentsjs/webcomponents-lite.min.js",
|
||||
"scripts/all.js" + versionString
|
||||
};
|
||||
|
||||
|
@ -545,21 +549,16 @@ namespace MediaBrowser.WebDashboard.Api
|
|||
"mediaplayer-video.js",
|
||||
"nowplayingbar.js",
|
||||
"alphapicker.js",
|
||||
"addpluginpage.js",
|
||||
"dashboardpage.js",
|
||||
"directorybrowser.js",
|
||||
"edititemmetadata.js",
|
||||
"indexpage.js",
|
||||
"itemdetailpage.js",
|
||||
"moviecollections.js",
|
||||
"notifications.js",
|
||||
"plugincatalogpage.js",
|
||||
"pluginspage.js",
|
||||
"remotecontrol.js",
|
||||
"search.js",
|
||||
"thememediaplayer.js",
|
||||
"useredit.js",
|
||||
"userprofilespage.js"
|
||||
"useredit.js"
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -138,6 +138,9 @@
|
|||
<Content Include="dashboard-ui\thirdparty\cordova\android\mediasession.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\cordova\android\nativedirectorychooser.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\cordova\back.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -150,9 +153,48 @@
|
|||
<Content Include="dashboard-ui\thirdparty\cordova\wakeonlan.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\polymer\LICENSE.txt">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\polymer\polymer-micro.html">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\polymer\polymer-mini.html">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\polymer\polymer.html">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\velocity.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\CustomElements.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\CustomElements.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\HTMLImports.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\HTMLImports.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\MutationObserver.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\MutationObserver.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\ShadowDOM.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\webcomponents-lite.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\thirdparty\webcomponentsjs\webcomponents.min.js">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
<Content Include="dashboard-ui\voice\voice.css">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</Content>
|
||||
|
@ -2386,6 +2428,24 @@
|
|||
<None Include="dashboard-ui\thirdparty\materialicons\MaterialIcons-Regular.woff2">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="dashboard-ui\thirdparty\polymer\bower.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="dashboard-ui\thirdparty\polymer\build.log">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="dashboard-ui\thirdparty\webcomponentsjs\bower.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="dashboard-ui\thirdparty\webcomponentsjs\build.log">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="dashboard-ui\thirdparty\webcomponentsjs\package.json">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="dashboard-ui\thirdparty\webcomponentsjs\README.md">
|
||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
|
|
Loading…
Reference in New Issue
Block a user