205 lines
8.1 KiB
C#
205 lines
8.1 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Web;
|
|
using System.Web.Optimization;
|
|
|
|
namespace GODATA.App_Start
|
|
{
|
|
public class BundleConfig
|
|
{
|
|
public static void RegisterBundles(BundleCollection bundles)
|
|
{
|
|
//bundles.UseCdn = true;
|
|
bundles.Add(new ScriptBundle("~/bundles/jsLayout")
|
|
//.IncludeDirectory("~/Scripts/Shared", "*.js")
|
|
.Include("~/Scripts/kendo/2013.3.1324/jquery.js",
|
|
"~/Scripts/jquery-migrate-1.0.0.js",
|
|
"~/Scripts/kendo/2013.3.1324/kendo.all.js",
|
|
//"~/Scripts/Shared/HighwayPath.js",
|
|
"~/Scripts/Shared/masterMenu.js",
|
|
"~/Scripts/Shared/MESSAGE.js",
|
|
"~/Scripts/Shared/WCFRESTURL.js",
|
|
"~/Scripts/Shared/vehicleProductVariantList.js",
|
|
"~/Scripts/Shared/managerLevelListForEscalation.js",
|
|
"~/Scripts/kendo/2013.3.1324/kendo.aspnetmvc.js",
|
|
"~/Scripts/kendo/kendo.modernizr.custom.js",
|
|
"~/Scripts/jquery.alerts.js",
|
|
"~/Scripts/Shared/common.js"
|
|
));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsMenubar")
|
|
.Include("~/Scripts/master_menu.js",
|
|
"~/Scripts/Notifications/notifications.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsDashboard")
|
|
.Include("~/Scripts/jquery.easing.1.3.js",
|
|
"~/Scripts/jquery.cycle.all.js",
|
|
"~/Scripts/gradientTransition.js",
|
|
"~/Scripts/Home/Dashboard.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsManageFleet")
|
|
.Include("~/Scripts/Inventory/ManageFleet.js")
|
|
.Include("~/Scripts/Inventory/ManageFleet_Detail.js")
|
|
.Include("~/Scripts/Shared/jquery.mask.js"));
|
|
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsManageOwner")
|
|
.Include("~/Scripts/jquery.validate.js")
|
|
.Include("~/Scripts/jquery.unobtrusive-ajax.js")
|
|
.Include("~/Scripts/Inventory/ManageOwner.js")
|
|
.Include("~/Scripts/Shared/jquery.mask.js"));
|
|
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsManageReason")
|
|
.Include("~/Scripts/jquery.validate.js")
|
|
.Include("~/Scripts/jquery.unobtrusive-ajax.js")
|
|
.Include("~/Scripts/jquery.ui.draggable.js")
|
|
.Include("~/Scripts/jquery.alerts.js")
|
|
.Include("~/Scripts/Inventory/manageReason.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsManageVechile")
|
|
.Include("~/Scripts/jquery.validate.js")
|
|
.Include("~/Scripts/jquery.unobtrusive-ajax.js")
|
|
.Include("~/Scripts/jquery.ui.draggable.js")
|
|
.Include("~/Scripts/jquery.alerts.js")
|
|
.Include("~/Scripts/Inventory/manageVechile.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsTicketAdminstration")
|
|
.Include("~/Scripts/jquery.validate.js",
|
|
"~/Scripts/jquery.unobtrusive-ajax.js",
|
|
"~/Scripts/jquery.alerts.js",
|
|
"~/Scripts/DropDownData/dropDownData.js",
|
|
"~/Scripts/Ticket/TicketAdministration.js",
|
|
"~/Scripts/Ticket/TicketAdministrationReassign.js",
|
|
"~/Scripts/Ticket/TicketFeedback.js",
|
|
"~/Scripts/Shared/jquery.mask.js"
|
|
));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsTicketAdminstrationDealer")
|
|
.Include("~/Scripts/jquery.validate.js",
|
|
"~/Scripts/jquery.unobtrusive-ajax.js",
|
|
"~/Scripts/jquery.alerts.js",
|
|
"~/Scripts/DropDownData/dropDownData.js",
|
|
"~/Scripts/TicketAdministration_Dealer/ticketAdministrationDealer.js",
|
|
"~/Scripts/TicketAdministration_Dealer/DealerTicketAdministration.js",
|
|
"~/Scripts/TicketAdministration_Dealer/TicketAdministrationDealerReassign.js"
|
|
|
|
));
|
|
bundles.Add(new ScriptBundle("~/bundles/jsanalysisReport")
|
|
.Include("~/Scripts/map_api/markerclusterer.js",
|
|
"~/Scripts/map_api/oms.js",
|
|
"~/Scripts/jquery.alerts.js",
|
|
"~/Scripts/TicketAdministration_Dealer/ticketAdministrationDealer.js"
|
|
));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/TicketAdministartion_FullDetails")
|
|
.Include("~/Scripts/Ticket/TicketAdministartion_FullDetails.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/TicketAdministartionDealer_FullDetails")
|
|
.Include("~/Scripts/TicketAdministration_Dealer/TicketAdministartionDealer_FullDetails.js"));
|
|
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jspositioningTool")
|
|
.Include("~/Scripts/Geo/positioningTool.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jspositioning")
|
|
.Include("~/Scripts/Geo/positioning.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsGeoAnalysisReport")
|
|
.Include("~/Scripts/map_api/markerclusterer.js",
|
|
"~/Scripts/map_api/oms.js",
|
|
"~/Scripts/Report/AnlysisReport.js",
|
|
"~/Scripts/Inventory/ManageFleet_Detail.js"
|
|
));
|
|
|
|
bundles.Add(new ScriptBundle("~/closeticket/jsTicketCloseReport")
|
|
.Include("~/Scripts/Report/reportTicketClose.js"));
|
|
|
|
|
|
bundles.Add(new ScriptBundle("~/closeticket/jsTicketOpenReport")
|
|
.Include("~/Scripts/Report/reportTicketOpen.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsTicketReportFullDetail")
|
|
.Include("~/Scripts/Report/reportTicketDetails.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsManageEscalation")
|
|
.Include("~/Scripts/jquery.unobtrusive-ajax.js",
|
|
"~/Scripts/jquery.validate.js",
|
|
"~/Scripts/jquery.ui.draggable.js",
|
|
"~/Scripts/jquery.alerts.js",
|
|
"~/Scripts/Ticket/manageEscalation.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsTagsInput").Include(
|
|
"~/Scripts/jquery.tagsinput.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsManageUserInventory")
|
|
.Include("~/Scripts/jquery.unobtrusive-ajax.js",
|
|
"~/Scripts/jquery.validate.js",
|
|
"~/Scripts/jquery.ui.draggable.js",
|
|
"~/Scripts/jquery.alerts.js",
|
|
"~/Scripts/Inventory/vecvUserInventory.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsManageDealerInventory")
|
|
.Include("~/Scripts/jquery.unobtrusive-ajax.js",
|
|
"~/Scripts/jquery.validate.js",
|
|
"~/Scripts/jquery.ui.draggable.js",
|
|
"~/Scripts/jquery.alerts.js",
|
|
"~/Scripts/Inventory/dealerUserInventory.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsNotifications").Include(
|
|
"~/Scripts/Notifications/notifications.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jscallFeedbackRating")
|
|
.Include("~/Scripts/Report/callFeedbackRating.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsdealerWiseCallDetails")
|
|
.Include("~/Scripts/Report/dealerWiseCallDetails.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jseosCallCount")
|
|
.Include("~/Scripts/Report/eosCallCount.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jshdBusLmdContribution")
|
|
.Include("~/Scripts/Report/hdBusLmdContribution.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jstimeslotClosure")
|
|
.Include("~/Scripts/Report/timeslotClosure.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jstollFreeAndOpportunityLoss")
|
|
.Include("~/Scripts/Report/tollFreeAndOpportunityLoss.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsreasonForClosure")
|
|
.Include("~/Scripts/Report/reasonForClosure.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsEicherPromise")
|
|
.Include("~/Scripts/Report/eicherPromise.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsCustomerReport")
|
|
.Include("~/Scripts/Report/customerReport.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
|
|
"~/Scripts/jquery.unobtrusive*",
|
|
"~/Scripts/jquery.validate*"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
|
|
"~/Scripts/modernizr-*"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsDealerDashboard")
|
|
.Include("~/Scripts/jquery.easing.1.3.js",
|
|
"~/Scripts/jquery.cycle.all.js",
|
|
"~/Scripts/gradientTransition.js",
|
|
"~/Scripts/Home/DealerWiseDashboard.js"));
|
|
|
|
bundles.Add(new ScriptBundle("~/bundles/jsStateDashboard")
|
|
.Include("~/Scripts/jquery.easing.1.3.js",
|
|
"~/Scripts/jquery.cycle.all.js",
|
|
"~/Scripts/gradientTransition.js",
|
|
"~/Scripts/Home/StateDashboard.js"));
|
|
/* Site SPecific CSS */
|
|
bundles.Add(new StyleBundle("~/bundles/css").Include(
|
|
"~/Content/site.css"));
|
|
|
|
BundleTable.EnableOptimizations = false;
|
|
}
|
|
}
|
|
} |