get headroom from bower
This commit is contained in:
parent
019c82bce4
commit
52a4367f58
|
@ -337,6 +337,8 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "Sortable", "Sortable.min.js"), Path.Combine(path, "bower_components", "Sortable", "Sortable.min.js"));
|
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "Sortable", "Sortable.min.js"), Path.Combine(path, "bower_components", "Sortable", "Sortable.min.js"));
|
||||||
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "fetch", "fetch.js"), Path.Combine(path, "bower_components", "fetch", "fetch.js"));
|
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "fetch", "fetch.js"), Path.Combine(path, "bower_components", "fetch", "fetch.js"));
|
||||||
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "native-promise-only", "lib", "npo.src.js"), Path.Combine(path, "bower_components", "native-promise-only", "lib", "npo.src.js"));
|
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "native-promise-only", "lib", "npo.src.js"), Path.Combine(path, "bower_components", "native-promise-only", "lib", "npo.src.js"));
|
||||||
|
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "headroom.js", "dist", "headroom.min.js"), Path.Combine(path, "bower_components", "headroom.js", "dist", "headroom.min.js"));
|
||||||
|
CopyFile(Path.Combine(creator.DashboardUIPath, "bower_components", "isMobile", "isMobile.min.js"), Path.Combine(path, "bower_components", "isMobile", "isMobile.min.js"));
|
||||||
}
|
}
|
||||||
|
|
||||||
MinifyCssDirectory(Path.Combine(path, "css"));
|
MinifyCssDirectory(Path.Combine(path, "css"));
|
||||||
|
|
|
@ -491,16 +491,7 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
|
|
||||||
var commonFiles = new[]
|
var commonFiles = new[]
|
||||||
{
|
{
|
||||||
"bower_components/requirejs/require.js",
|
"bower_components/requirejs/require.js"
|
||||||
"thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.js",
|
|
||||||
"thirdparty/browser.js",
|
|
||||||
"apiclient/logger.js",
|
|
||||||
"apiclient/md5.js",
|
|
||||||
"apiclient/store.js",
|
|
||||||
"apiclient/device.js",
|
|
||||||
"apiclient/credentials.js",
|
|
||||||
"apiclient/events.js",
|
|
||||||
"apiclient/deferred.js"
|
|
||||||
}.ToList();
|
}.ToList();
|
||||||
|
|
||||||
foreach (var file in commonFiles)
|
foreach (var file in commonFiles)
|
||||||
|
@ -607,12 +598,9 @@ namespace MediaBrowser.WebDashboard.Api
|
||||||
"thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css",
|
"thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.theme.css",
|
||||||
"thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.structure.css",
|
"thirdparty/jquerymobile-1.4.5/jquery.mobile.custom.structure.css",
|
||||||
"css/site.css",
|
"css/site.css",
|
||||||
"css/chromecast.css",
|
|
||||||
"css/librarymenu.css",
|
"css/librarymenu.css",
|
||||||
"css/librarybrowser.css",
|
"css/librarybrowser.css",
|
||||||
"css/card.css",
|
"css/card.css",
|
||||||
"css/notifications.css",
|
|
||||||
"css/userimage.css",
|
|
||||||
"thirdparty/paper-button-style.css"
|
"thirdparty/paper-button-style.css"
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -122,9 +122,15 @@
|
||||||
<Content Include="dashboard-ui\bower_components\hammerjs\hammer.min.js">
|
<Content Include="dashboard-ui\bower_components\hammerjs\hammer.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\bower_components\headroom.js\dist\headroom.min.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\bower_components\howler.js\howler.min.js">
|
<Content Include="dashboard-ui\bower_components\howler.js\howler.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\bower_components\isMobile\isMobile.min.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\bower_components\jquery\dist\jquery.min.js">
|
<Content Include="dashboard-ui\bower_components\jquery\dist\jquery.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -179,12 +185,18 @@
|
||||||
<Content Include="dashboard-ui\bower_components\webcomponentsjs\webcomponents.min.js">
|
<Content Include="dashboard-ui\bower_components\webcomponentsjs\webcomponents.min.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\components\buttonenabled.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\components\collectioneditor\collectioneditor.js">
|
<Content Include="dashboard-ui\components\collectioneditor\collectioneditor.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\components\directorybrowser\directorybrowser.js">
|
<Content Include="dashboard-ui\components\directorybrowser\directorybrowser.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
<Content Include="dashboard-ui\components\humanedate.js">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
<Content Include="dashboard-ui\components\imagestore.js">
|
<Content Include="dashboard-ui\components\imagestore.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -282,9 +294,6 @@
|
||||||
<Content Include="dashboard-ui\css\images\clients\chromecast.png">
|
<Content Include="dashboard-ui\css\images\clients\chromecast.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\css\images\clients\firefox.png">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\css\images\empty.png">
|
<Content Include="dashboard-ui\css\images\empty.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -955,18 +964,12 @@
|
||||||
<Content Include="dashboard-ui\css\images\clients\chrome.png">
|
<Content Include="dashboard-ui\css\images\clients\chrome.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\css\images\clients\ie.png">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\css\images\clients\mbc.png">
|
<Content Include="dashboard-ui\css\images\clients\mbc.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\css\images\clients\roku.jpg">
|
<Content Include="dashboard-ui\css\images\clients\roku.jpg">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\css\images\clients\safari.png">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\css\images\fresh.png">
|
<Content Include="dashboard-ui\css\images\fresh.png">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -1249,24 +1252,9 @@
|
||||||
<Content Include="dashboard-ui\apiclient\store.js">
|
<Content Include="dashboard-ui\apiclient\store.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\thirdparty\browser.js">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\cast_sender.js">
|
<Content Include="dashboard-ui\thirdparty\cast_sender.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
<Content Include="dashboard-ui\thirdparty\fontawesome\css\font-awesome.css">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\fontawesome\css\font-awesome.min.css">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\fontawesome\fonts\fontawesome-webfont.svg">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\headroom.js">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</Content>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\jquery.unveil-custom.js">
|
<Content Include="dashboard-ui\thirdparty\jquery.unveil-custom.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
@ -2715,24 +2703,6 @@
|
||||||
<None Include="dashboard-ui\strings\javascript\zh-HK.json">
|
<None Include="dashboard-ui\strings\javascript\zh-HK.json">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</None>
|
</None>
|
||||||
<None Include="dashboard-ui\thirdparty\fontawesome\css\font-awesome.css.map">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="dashboard-ui\thirdparty\fontawesome\fonts\fontawesome-webfont.eot">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="dashboard-ui\thirdparty\fontawesome\fonts\fontawesome-webfont.ttf">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="dashboard-ui\thirdparty\fontawesome\fonts\fontawesome-webfont.woff">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="dashboard-ui\thirdparty\fontawesome\fonts\fontawesome-webfont.woff2">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<None Include="dashboard-ui\thirdparty\fontawesome\fonts\FontAwesome.otf">
|
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
||||||
</None>
|
|
||||||
<Content Include="dashboard-ui\thirdparty\jquerymobile-1.4.5\jqm.table.js">
|
<Content Include="dashboard-ui\thirdparty\jquerymobile-1.4.5\jqm.table.js">
|
||||||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
</Content>
|
</Content>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user