mirror of https://github.com/abpframework/abp.git
2 changed files with 32 additions and 0 deletions
@ -0,0 +1,20 @@ |
|||
using System.Collections.Generic; |
|||
using Microsoft.Extensions.Options; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Packages.JQuery; |
|||
using Volo.Abp.Localization; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.BootstrapDaterangepicker; |
|||
|
|||
[DependsOn(typeof(JQueryScriptContributor))] |
|||
public class BootstrapDaterangepickerScriptContributor : BundleContributor |
|||
{ |
|||
public const string PackageName = "bootstrap-daterangepicker"; |
|||
|
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.AddIfNotContains("/libs/bootstrap-daterangepicker/moment.min.js"); |
|||
context.Files.AddIfNotContains("/libs/bootstrap-daterangepicker/daterangepicker.js"); |
|||
} |
|||
} |
|||
@ -0,0 +1,12 @@ |
|||
using System.Collections.Generic; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Packages.BootstrapDaterangepicker; |
|||
|
|||
public class BootstrapDaterangepickerStyleContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.AddIfNotContains("/libs/bootstrap-daterangepicker/daterangepicker.css"); |
|||
} |
|||
} |
|||
Loading…
Reference in new issue