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

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

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

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

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

            bundles.Add(new Bundle("~/Scripts/kendo/2018.1.117/kendoscripts").Include(
               "~/Scripts/jszip.min.js",
               "~/Scripts/kendo/2018.1.117/kendo.all.min.js",
               "~/Scripts/kendo/2018.1.117/kendo.aspnetmvc.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.de-DE.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.fr-FR.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.es-ES.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.hu-HU.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.nl-NL.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.pl-PL.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.ru-RU.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.sv-SE.min.js",
               "~/Scripts/kendo/2018.1.117/cultures/kendo.culture.en-US.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.de-DE.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.fr-FR.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.es-ES.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.hu-HU.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.nl-NL.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.pl-PL.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.ru-RU.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.sv-SE.min.js",
               "~/Scripts/kendo/2018.1.117/messages/kendo.messages.en-US.min.js"
               ));

            bundles.Add(new ScriptBundle("~/Scripts/peoplepbundle").Include(
                "~/Scripts/People/PeopleScripts.js"));

            bundles.Add(new StyleBundle("~/Content/bootstrapbundle").Include(
                      "~/Content/bootstrap.css"));

            bundles.Add(new StyleBundle("~/Content/BilfingerCD/BilfingerCD.css").Include(
                      "~/Content/BilfingerCD/BilfingerCD.css"));

            bundles.Add(new StyleBundle("~/Content/sitebundle").Include(
                      "~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/kendo/2018.1.117/kendostyles").Include(
                    "~/Content/kendo/2018.1.117/kendo.common-bootstrap.min.css",
                    "~/Content/kendo/2018.1.117/kendo.bootstrap.min.css"));

            bundles.Add(new StyleBundle("~/Content/DialogPopup").Include(
                "~/Content/DialogPopup800.css"));

            bundles.IgnoreList.Clear();
        }
    }
}
