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

namespace DEMO_FULL_CA_DOTNET_WEB
{
    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"
                        "~/Asset/js/jquery.min.js"
                        ));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/jquerydownload").Include(
                        "~/Asset/js/jquery.fileDownload.js"));

            // Use the development version of Modernizr to develop with and learn from. Then, when you're
            // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                        "~/Scripts/modernizr-*"));

            bundles.Add(new ScriptBundle("~/bundles/bootstrap").Include(
                      "~/Asset/bootstrap/js/bootstrap.js",
                      "~/Asset/datepicker/js/bootstrap-datepicker.js"
                      //"~/Scripts/bootstrap.js",
                      //"~/Scripts/respond.js"
                      ));

            bundles.Add(new ScriptBundle("~/bundles/ajax").Include(
                      "~/Asset/js/scriptaculous/prototype.js",
                      "~/Asset/js/scriptaculous/scriptaculous.js",
                      "~/Asset/js/ajax/ajaxtags.js",
                      "~/Asset/js/ajax/ajaxtags_controls.js",
                      "~/Asset/js/ajax/ajaxtags_parser.js",
                      "~/Asset/js/ajax/Ajax.js"));

            bundles.Add(new ScriptBundle("~/bundles/uploadfile").Include(
                      "~/Asset/upload-file/jquery.uploadfile.min.js",
                      "~/Asset/upload-file/jquery.form.js"));

            bundles.Add(new ScriptBundle("~/Content/uploadfile").Include(
                      "~/Asset/upload-file/uploadfile.css"));

            bundles.Add(new ScriptBundle("~/bundles/plugin").Include(
                      "~/Asset/js/base64.js",
                      "~/Asset/js/ViettelCAPlugin.js",
                      "~/Asset/js/ViettelCAPluginSocket.js"));

            bundles.Add(new ScriptBundle("~/bundles/message").Include(
                      "~/Asset/js/message.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                      "~/Asset/bootstrap/css/bootstrap.css",
                      "~/Asset/bootstrap/css/bootstrap-theme.css",
                      "~/Asset/css/vpn-home-style.css",
                      "~/Asset/datepicker/css/datepicker.css"
                      ));
        }
    }
}
