-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathResourceManifest.cs
More file actions
17 lines (14 loc) · 937 Bytes
/
ResourceManifest.cs
File metadata and controls
17 lines (14 loc) · 937 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using Orchard.UI.Resources;
namespace PJS.ReTouch {
public class ResourceManifest : IResourceManifestProvider {
public void BuildManifests(ResourceManifestBuilder builder) {
var manifest = builder.Add();
manifest.DefineScript("ThemeScript").SetUrl("script.min.js").SetDependencies("jQuery");
manifest.DefineScript("Isotope").SetUrl("jquery.isotope.min.js").SetVersion("1.5.25").SetDependencies("jQuery");
manifest.DefineScript("prettyPhoto").SetUrl("jquery.prettyPhoto.min.js").SetVersion("3.1.5").SetDependencies("jQuery");
manifest.DefineStyle("ThemeStyle").SetUrl("style.min.css");
manifest.DefineStyle("Font-Awesome").SetUrl("font-awesome-4.2.0/css/font-awesome.min.css", "font-awesome-4.2.0/css/font-awesome.css").SetVersion("4.2.0");
manifest.DefineStyle("prettyPhoto").SetUrl("prettyPhoto.css");
}
}
}