Group platform admin tools into hub pages
- add grouped platform admin hub pages, view models, and shared card UI\n- simplify the super admin nav and dashboard quick links around the new hubs\n- fix the AiQuoteService EstimatedMinutes assignment so the infrastructure project builds cleanly
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
namespace PowderCoating.Web.ViewModels.PlatformAdmin;
|
||||
|
||||
public class PlatformAdminHubViewModel
|
||||
{
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public string PageIcon { get; set; } = string.Empty;
|
||||
public string Intro { get; set; } = string.Empty;
|
||||
public string? WarningTitle { get; set; }
|
||||
public string? WarningMessage { get; set; }
|
||||
public IReadOnlyList<PlatformAdminLinkCardViewModel> Cards { get; set; } = Array.Empty<PlatformAdminLinkCardViewModel>();
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace PowderCoating.Web.ViewModels.PlatformAdmin;
|
||||
|
||||
public class PlatformAdminLinkCardViewModel
|
||||
{
|
||||
public string Title { get; set; } = string.Empty;
|
||||
public string Description { get; set; } = string.Empty;
|
||||
public string Controller { get; set; } = string.Empty;
|
||||
public string Action { get; set; } = string.Empty;
|
||||
public string Icon { get; set; } = string.Empty;
|
||||
public string BadgeText { get; set; } = string.Empty;
|
||||
public string BadgeStyle { get; set; } = string.Empty;
|
||||
public Dictionary<string, string>? RouteValues { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user