mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
16 lines
651 B
C#
16 lines
651 B
C#
using System;
|
|
using Orchard.UI.Resources;
|
|
|
|
namespace Orchard.Themes {
|
|
public class ResourceManifest : IResourceManifestProvider {
|
|
public void BuildManifests(ResourceManifestBuilder builder) {
|
|
var manifest = builder.Add();
|
|
manifest.DefineStyle("ThemesAdmin").SetUrl("admin.css");
|
|
|
|
// todo: include and define the min.js version too
|
|
// todo: move EasySlider to common location, although it does not appear to be used anywhere right now
|
|
manifest.DefineScript("EasySlider").SetUrl("~/themes/contoso/scripts/easySlider.js").SetDependencies("jQuery");
|
|
}
|
|
}
|
|
}
|