-
Notifications
You must be signed in to change notification settings - Fork 1
/
ResourceManifest.cs
30 lines (24 loc) · 1.39 KB
/
ResourceManifest.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace Rimango.Gallery
{
using Orchard.UI.Resources;
public class ResourceManifest : IResourceManifestProvider
{
public void BuildManifests(ResourceManifestBuilder builder)
{
var manifest = builder.Add();
manifest.DefineStyle("Rimango.Gallery.Overview").SetUrl("Gallery.Overview.min.css", "Gallery.Overview.css");
manifest.DefineStyle("PrettyPhoto").SetUrl("prettyPhoto.css");
manifest.DefineStyle("Rimango.Gallery.Detail").SetUrl("Gallery.Detail.min.css", "Gallery.Detail.css");
manifest.DefineStyle("Rimango.Gallery.FrontPage").SetUrl("Gallery.FrontPage.css", "Gallery.FrontPage.min.css");
manifest.DefineScript("Rimango.Gallery.Detail").SetUrl("Gallery.Detail.js").SetDependencies("jQuery");
manifest.DefineScript("Rimango.Gallery.Overview").SetUrl("Gallery.Overview.js").SetDependencies("jQuery");
manifest.DefineScript("PrettyPhoto").SetUrl("PrettyPhoto/jquery.prettyPhoto.js").SetDependencies("jQuery");
manifest.DefineScript("Masonry").SetUrl("Masonry/masonry.pkgd.min.js").SetDependencies("jQuery").SetDependencies("ImagesLoaded");
manifest.DefineScript("ImagesLoaded").SetUrl("ImagesLoaded/imagesloaded.pkgd.min.js").SetDependencies("jQuery");
}
}
}