mirror of https://github.com/abpframework/abp.git
8 changed files with 67 additions and 3 deletions
@ -0,0 +1,8 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
|
|||
namespace Volo.Abp.AspNetCore.Mvc.UI.Dashboards |
|||
{ |
|||
public class AbpBasicDashboardStyleContributor : BundleContributor |
|||
{ |
|||
} |
|||
} |
|||
@ -0,0 +1,20 @@ |
|||
using DashboardDemo.Pages.widgets; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Dashboards; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace DashboardDemo.Pages |
|||
{ |
|||
[DependsOn( |
|||
typeof(AbpBasicDashboardStyleContributor), |
|||
typeof(MyWidgetStyleBundleContributor), |
|||
typeof(DemoStatisticsStyleContributor) |
|||
)] |
|||
public class MyDashboardStyleBundleContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
|
|||
} |
|||
} |
|||
} |
|||
@ -0,0 +1,8 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
|
|||
namespace DashboardDemo.Pages.widgets |
|||
{ |
|||
public class DemoStatisticsStyleContributor : BundleContributor |
|||
{ |
|||
} |
|||
} |
|||
@ -0,0 +1,3 @@ |
|||
body { |
|||
margin: 0; |
|||
} |
|||
@ -0,0 +1,17 @@ |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Bundling; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Packages.Bootstrap; |
|||
using Volo.Abp.AspNetCore.Mvc.UI.Packages.HighlightJs; |
|||
using Volo.Abp.Modularity; |
|||
|
|||
namespace DashboardDemo.Pages.widgets |
|||
{ |
|||
[DependsOn(typeof(BootstrapStyleContributor))] |
|||
[DependsOn(typeof(HighlightJsStyleContributor))] |
|||
public class MyWidgetStyleBundleContributor : BundleContributor |
|||
{ |
|||
public override void ConfigureBundle(BundleConfigurationContext context) |
|||
{ |
|||
context.Files.Add("/Pages/widgets/MyDashboard.css"); |
|||
} |
|||
} |
|||
} |
|||
Loading…
Reference in new issue