BundleConfig.cs 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. using System.Web;
  2. using System.Web.Optimization;
  3. namespace EmisTerminal
  4. {
  5. public class BundleConfig
  6. {
  7. // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
  8. public static void RegisterBundles(BundleCollection bundles)
  9. {
  10. bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
  11. "~/Scripts/jquery-{version}.js"));
  12. bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
  13. "~/Scripts/jquery-ui-{version}.js"));
  14. bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
  15. "~/Scripts/jquery.unobtrusive*",
  16. "~/Scripts/jquery.validate*"));
  17. // Use the development version of Modernizr to develop with and learn from. Then, when you're
  18. // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
  19. bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
  20. "~/Scripts/modernizr-*"));
  21. bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
  22. bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
  23. "~/Content/themes/base/jquery.ui.core.css",
  24. "~/Content/themes/base/jquery.ui.resizable.css",
  25. "~/Content/themes/base/jquery.ui.selectable.css",
  26. "~/Content/themes/base/jquery.ui.accordion.css",
  27. "~/Content/themes/base/jquery.ui.autocomplete.css",
  28. "~/Content/themes/base/jquery.ui.button.css",
  29. "~/Content/themes/base/jquery.ui.dialog.css",
  30. "~/Content/themes/base/jquery.ui.slider.css",
  31. "~/Content/themes/base/jquery.ui.tabs.css",
  32. "~/Content/themes/base/jquery.ui.datepicker.css",
  33. "~/Content/themes/base/jquery.ui.progressbar.css",
  34. "~/Content/themes/base/jquery.ui.theme.css"));
  35. }
  36. }
  37. }