Exemple #1
0
        // For more information on bundling, visit http://go.microsoft.com/fwlink/?LinkId=301862
        public static void RegisterBundles(System.Web.Optimization.BundleCollection bundles)
        {
            bundles.Add(JsBundle());

            // 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("~/modernizr.bundle.js").Include("~/Scripts/modernizr-*"));

            bundles.Add(CssBundle());
        }
 public static void RegisterBundles(System.Web.Optimization.BundleCollection bundles)
 {
     bundles.Add(new StyleBundle("~/admin/styles")
                 .Include("~/content/css/bootstrap.css")
                 .Include("~/content/css/admin.css")
                 );
     bundles.Add(new StyleBundle("~/styles")
                 .Include("~/content/css/bootstrap.css")
                 .Include("~/content/css/site.css")
                 );
 }
Exemple #3
0
        private static void AddScripts(System.Web.Optimization.BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/scripts/layout")
                        .Include(
                            "~/Scripts/jquery-1.9.1.js",
                            "~/Scripts/bootstrap.js"
                            )
                        .IncludeDirectory("~/scripts/common", "*.js")
                        );

            bundles.Add(new ScriptBundle("~/scripts/dashboard/dashboard")
                        .Include("~/scripts/typeahead.bundle.js")
                        .Include("~/scripts/dashboard/000-init.js")
                        .Include("~/scripts/dashboard/100-chart-interval-selector.js")
                        .Include("~/scripts/dashboard/500-add-chartlist.js")
                        .Include("~/scripts/dashboard/500-charts.js")
                        );
        }
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(System.Web.Optimization.BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                            "~/Scripts/jquery-{version}.js",
                            "~/Scripts/angular.js",
                            "~/Scripts/GesprogJs/Modules.js",
                            "~/Scripts/GesprogJs/Controllers.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
                            "~/Scripts/jquery-ui-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                            "~/Scripts/jquery.unobtrusive*",
                            "~/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 http://modernizr.com to pick only the tests you need.
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                            "~/Scripts/modernizr-*"));

            bundles.Add(new StyleBundle("~/Contents/css").Include("~/Contents/Estilos.css",
                                                                  "~/Contents/bootstrap.css",
                                                                  "~/Contents/bootstrap.min.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
                            "~/Content/themes/base/jquery.ui.core.css",
                            "~/Content/themes/base/jquery.ui.resizable.css",
                            "~/Content/themes/base/jquery.ui.selectable.css",
                            "~/Content/themes/base/jquery.ui.accordion.css",
                            "~/Content/themes/base/jquery.ui.autocomplete.css",
                            "~/Content/themes/base/jquery.ui.button.css",
                            "~/Content/themes/base/jquery.ui.dialog.css",
                            "~/Content/themes/base/jquery.ui.slider.css",
                            "~/Content/themes/base/jquery.ui.tabs.css",
                            "~/Content/themes/base/jquery.ui.datepicker.css",
                            "~/Content/themes/base/jquery.ui.progressbar.css",
                            "~/Content/themes/base/jquery.ui.theme.css"));
        }
Exemple #5
0
        private static void AddStyles(System.Web.Optimization.BundleCollection bundles)
        {
            bundles.Add(new StyleBundle("~/content/layout").Include(
                            "~/content/bootstrap.css",
                            "~/content/layout.css"

                            ));

            bundles.Add(new StyleBundle("~/content/setup").Include(
                            "~/content/setup.css"
                            ));

            bundles.Add(new StyleBundle("~/content/login").Include(
                            "~/content/login.css"
                            ));

            bundles.Add(new StyleBundle("~/content/home").Include(
                            "~/content/home.css"
                            ));

            bundles.Add(new StyleBundle("~/content/dashboard/dashboard").Include(
                            "~/content/dashboard/dashboard.css"
                            ));
        }
Exemple #6
0
 internal static void RegisterBundles(System.Web.Optimization.BundleCollection bundles)
 {
     AddScripts(bundles);
     AddStyles(bundles);
 }