mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
extract scripts
This commit is contained in:
parent
d86c6decec
commit
dbf3ae2262
@ -1454,5 +1454,6 @@
|
|||||||
"OptionEnableExternalVideoPlayers": "Enable external video players",
|
"OptionEnableExternalVideoPlayers": "Enable external video players",
|
||||||
"ButtonUnlockGuide": "Unlock Guide",
|
"ButtonUnlockGuide": "Unlock Guide",
|
||||||
"LabelEnableFullScreen": "Enable fullscreen mode",
|
"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;
|
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);
|
var bytes = Encoding.UTF8.GetBytes(html);
|
||||||
|
|
||||||
@ -393,6 +396,7 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
|
|
||||||
var files = new List<string>
|
var files = new List<string>
|
||||||
{
|
{
|
||||||
|
//"thirdparty/webcomponentsjs/webcomponents-lite.min.js",
|
||||||
"scripts/all.js" + versionString
|
"scripts/all.js" + versionString
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -545,21 +549,16 @@ namespace MediaBrowser.WebDashboard.Api
|
|||||||
"mediaplayer-video.js",
|
"mediaplayer-video.js",
|
||||||
"nowplayingbar.js",
|
"nowplayingbar.js",
|
||||||
"alphapicker.js",
|
"alphapicker.js",
|
||||||
"addpluginpage.js",
|
|
||||||
"dashboardpage.js",
|
|
||||||
"directorybrowser.js",
|
"directorybrowser.js",
|
||||||
"edititemmetadata.js",
|
"edititemmetadata.js",
|
||||||
"indexpage.js",
|
"indexpage.js",
|
||||||
"itemdetailpage.js",
|
"itemdetailpage.js",
|
||||||
"moviecollections.js",
|
"moviecollections.js",
|
||||||
"notifications.js",
|
"notifications.js",
|
||||||
"plugincatalogpage.js",
|
|
||||||
"pluginspage.js",
|
|
||||||
"remotecontrol.js",
|
"remotecontrol.js",
|
||||||
"search.js",
|
"search.js",
|
||||||
"thememediaplayer.js",
|
"thememediaplayer.js",
|
||||||
"useredit.js",
|
"useredit.js"
|
||||||
"userprofilespage.js"
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,6 +138,9 @@
|
|||||||
<Content Include="dashboard-ui\thirdparty\cordova\android\mediasession.js">
|
<Content Include="dashboard-ui\thirdparty\cordova\android\mediasession.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\thirdparty\cordova\android\nativedirectorychooser.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\thirdparty\cordova\back.js">
|
<Content Include="dashboard-ui\thirdparty\cordova\back.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
@ -150,9 +153,48 @@
|
|||||||
<Content Include="dashboard-ui\thirdparty\cordova\wakeonlan.js">
|
<Content Include="dashboard-ui\thirdparty\cordova\wakeonlan.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</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">
|
<Content Include="dashboard-ui\thirdparty\velocity.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</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">
|
<Content Include="dashboard-ui\voice\voice.css">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
@ -2386,6 +2428,24 @@
|
|||||||
<None Include="dashboard-ui\thirdparty\materialicons\MaterialIcons-Regular.woff2">
|
<None Include="dashboard-ui\thirdparty\materialicons\MaterialIcons-Regular.woff2">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</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" />
|
<None Include="packages.config" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
<ItemGroup />
|
<ItemGroup />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user