Additional tools for Admin portal, and huge NameSpace Revamp
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
@page "/admin/items/edit"
|
||||
@model Items.EditModel
|
||||
@using Server.Data.Enums
|
||||
@using DataServer.Data.Enums
|
||||
@{
|
||||
ViewData["Title"] = Model.IsNew ? "Create Item" : $"Edit: {Model.Item.Name}";
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Server.Data;
|
||||
using Server.Data.Entities;
|
||||
using DataServer.Data;
|
||||
using DataServer.Data.Entities;
|
||||
using DataServer.Data.Enums;
|
||||
|
||||
namespace VoidScavengers.Services.Admin.Pages.Items;
|
||||
namespace Server.Services.Admin.Pages.Items;
|
||||
|
||||
public class EditModel : AdminPageModel
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
@page "/admin/items"
|
||||
@model Items.IndexModel
|
||||
@using Server.Data.Enums
|
||||
@using DataServer.Data.Enums
|
||||
@{
|
||||
ViewData["Title"] = "Items";
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Server.Data;
|
||||
using Server.Data.Entities;
|
||||
using Server.Data.Enums;
|
||||
using DataServer.Data;
|
||||
using DataServer.Data.Entities;
|
||||
using DataServer.Data.Enums;
|
||||
|
||||
namespace VoidScavengers.Services.Admin.Pages.Items;
|
||||
namespace Server.Services.Admin.Pages.Items;
|
||||
|
||||
public class IndexModel : AdminPageModel
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user