2016-01-05 17:14:10 +08:00
|
|
|
|
using System.Web;
|
2015-11-13 21:33:53 +08:00
|
|
|
|
using System.Web.Optimization;
|
|
|
|
|
|
|
|
|
|
namespace OpenAuth.Mvc
|
|
|
|
|
{
|
|
|
|
|
public class BundleConfig
|
|
|
|
|
{
|
|
|
|
|
// 有关绑定的详细信息,请访问 http://go.microsoft.com/fwlink/?LinkId=301862
|
|
|
|
|
public static void RegisterBundles(BundleCollection bundles)
|
|
|
|
|
{
|
2017-01-12 19:16:37 +08:00
|
|
|
|
//jqgrid表格组件
|
|
|
|
|
bundles.Add(new StyleBundle("~/Content/scripts/plugins/jqgrid/css").Include(
|
|
|
|
|
"~/Content/scripts/plugins/jqgrid/jqgrid.css"));
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/plugins/jqgrid/js").Include(
|
|
|
|
|
"~/Content/scripts/plugins/jqgrid/grid.locale-cn.js",
|
|
|
|
|
"~/Content/scripts/plugins/jqgrid/jqgrid.min.js"));
|
|
|
|
|
//树形组件
|
|
|
|
|
bundles.Add(new StyleBundle("~/Content/scripts/plugins/tree/css").Include(
|
|
|
|
|
"~/Content/scripts/plugins/tree/tree.css"));
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/plugins/tree/js").Include(
|
|
|
|
|
"~/Content/scripts/plugins/tree/tree.js"));
|
|
|
|
|
//表单验证
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/plugins/validator/js").Include(
|
|
|
|
|
"~/Content/scripts/plugins/validator/validator.js"));
|
|
|
|
|
//日期控件
|
|
|
|
|
bundles.Add(new StyleBundle("~/Content/scripts/plugins/datetime/css").Include(
|
|
|
|
|
"~/Content/scripts/plugins/datetime/pikaday.css"));
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/plugins/datepicker/js").Include(
|
|
|
|
|
"~/Content/scripts/plugins/datetime/pikaday.js"));
|
|
|
|
|
//导向组件
|
|
|
|
|
bundles.Add(new StyleBundle("~/Content/scripts/plugins/wizard/css").Include(
|
|
|
|
|
"~/Content/scripts/plugins/wizard/wizard.css"));
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/plugins/wizard/js").Include(
|
|
|
|
|
"~/Content/scripts/plugins/wizard/wizard.js"));
|
|
|
|
|
//learun
|
|
|
|
|
bundles.Add(new StyleBundle("~/Content/styles/learun-ui.css").Include(
|
|
|
|
|
"~/Content/styles/learun-ui.css"));
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/utils/js").Include(
|
|
|
|
|
"~/Content/scripts/utils/learun-ui.js",
|
|
|
|
|
"~/Content/scripts/utils/learun-form.js"));
|
|
|
|
|
//learun Order
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/plugins/printTable/js").Include(
|
|
|
|
|
"~/Content/scripts/plugins/printTable/jquery.printTable.js"));
|
|
|
|
|
|
|
|
|
|
//工作流
|
|
|
|
|
bundles.Add(new StyleBundle("~/Content/styles/learun-flowall.css").Include(
|
|
|
|
|
"~/Content/styles/learun-ckbox-radio.css",
|
|
|
|
|
"~/Content/styles/learun-applayout.css",
|
|
|
|
|
"~/Content/styles/learun-flow.css"));
|
|
|
|
|
bundles.Add(new ScriptBundle("~/Content/scripts/flow/js").Include(
|
|
|
|
|
"~/Content/scripts/utils/learun-applayout.js",
|
|
|
|
|
"~/Content/scripts/plugins/flow-ui/flow.js",
|
|
|
|
|
"~/Content/scripts/utils/learun-flowlayout.js"));
|
2015-11-13 21:33:53 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|