utilize _Imports.razor to simplify module declarations
This commit is contained in:
@ -1,10 +1,4 @@
|
||||
@using Microsoft.AspNetCore.Components.Routing
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using Oqtane.Modules
|
||||
@using Oqtane.Services
|
||||
@using Oqtane.Shared
|
||||
@using Oqtane.Security
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@inherits ModuleBase
|
||||
@inject IUserService UserService
|
||||
|
||||
|
@ -1,6 +1,4 @@
|
||||
@using Oqtane.Modules
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@inherits ModuleBase
|
||||
|
||||
@if (text != "")
|
||||
|
@ -1,5 +1,4 @@
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@namespace Oqtane.Modules.Controls
|
||||
|
||||
@if (multiple)
|
||||
{
|
||||
|
@ -1,6 +1,4 @@
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using Oqtane.Modules
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@inherits ModuleBase
|
||||
|
||||
@if (Message != "")
|
||||
|
@ -1,6 +1,4 @@
|
||||
@using Oqtane.Modules
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@inherits ModuleBase
|
||||
@typeparam TableItem
|
||||
|
||||
|
@ -1,10 +1,4 @@
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@using Oqtane.Services
|
||||
@using Oqtane.Modules
|
||||
@using Oqtane.Models
|
||||
@using Oqtane.Security
|
||||
@using Oqtane.Shared
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@inherits ModuleBase
|
||||
@inject IRoleService RoleService
|
||||
@inject IUserService UserService
|
||||
|
@ -1,5 +1,4 @@
|
||||
@using Microsoft.AspNetCore.Components.Web
|
||||
@namespace Oqtane.Modules.Controls
|
||||
@namespace Oqtane.Modules.Controls
|
||||
|
||||
<img src="@src" title="@title" disabled=@Disabled @onclick="SetValue" />
|
||||
|
||||
|
Reference in New Issue
Block a user