@page "/admin/items" @model Items.IndexModel @using DataServer.Data.Enums @{ ViewData["Title"] = "Items"; }
Manage item definitions
| ID | Icon | Name | Type | Rarity | Stack | Enabled | Actions |
|---|---|---|---|---|---|---|---|
| @item.Id |
@if (!string.IsNullOrEmpty(item.SpritePath))
{
|
@item.Name
@if (!string.IsNullOrEmpty(item.Description))
{
@item.Description } |
@item.Type | @item.Rarity | @if (item.Stackable) { @item.MaxStack } else { - } | @if (item.IsEnabled) { } else { } | |
| No items found. Create one? | |||||||