Files
Orchard/src/Orchard.Web/Modules/Orchard.Themes/ResourceManifest.cs
2010-11-03 23:03:34 -07:00

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");
}
}
}