using System.Web;
using System.Web.Optimization;

namespace CD67.ModeleMVC.MVC
{
    public class BundleConfig
    {
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*",
                        "~/Scripts/jquery.unobtrusive-ajax.js"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Scripts/bootstrap.min.js"));

            bundles.Add(new ScriptBundle("~/bundles/cd67").Include(
                      "~/Scripts/cd67-*"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Content/bootstrap.min.css",
                      "~/Content/cd67-model.css",
                      "~/Content/cd67-custom.css",
                      "~/Content/font-awesome.css",
                      "~/Content/jquery.validate.css"));

            // Jquery-ui
            bundles.Add(new ScriptBundle("~/bundles/jquery-ui").Include(
                      "~/Scripts/jquery-ui-i18n.js",
                      "~/Scripts/jquery-ui-{version}.js",
                      "~/Scripts/modernizr-{version}.js"));
            bundles.Add(new StyleBundle("~/Content/jquery-ui-css").Include(
                      "~/Content/themes/base/*.css"));
        }
    }
}