diff --git a/Services/Admin/Pages/Assets/Index.cshtml b/Services/Admin/Pages/Assets/Index.cshtml index 045a646..f2abd00 100644 --- a/Services/Admin/Pages/Assets/Index.cshtml +++ b/Services/Admin/Pages/Assets/Index.cshtml @@ -169,6 +169,27 @@ MINIO_USE_SSL=true + + + @if (Model.BrowseTotalPages > 1) + { +
+ Showing @((Model.BrowsePage - 1) * Model.BrowsePageSize + 1)-@Math.Min(Model.BrowsePage * Model.BrowsePageSize, Model.AllFiles.Count) of @Model.AllFiles.Count files +
+ +Negative = weakness (takes more damage), Positive = resistance, 1.0 = immune
++ @if (currentValue < 0) + { + +@((-currentValue * 100).ToString("0"))% damage taken + } + else if (currentValue > 0 && currentValue < 1) + { + -@((currentValue * 100).ToString("0"))% damage taken + } + else if (currentValue >= 1) + { + Immune + } + else + { + Normal damage + } +
+Account ID: @Model.Account.Id • Created: @Model.Account.CreatedAt.ToString("yyyy-MM-dd HH:mm")
+ } +Username cannot be changed
+Gold: @character.Gold.ToString("N0")
+Created: @character.CreatedAt.ToString("yyyy-MM-dd")
+Manage player accounts (@Model.PlayerCount total)
+ +Manage player accounts
+Player management coming soon...
+ + +@Model.TotalCount
+Total Accounts
+@Model.ActiveCount
+Active
+@Model.BannedCount
+Banned
+@Model.AdminCount
+Admins
+| ID | +Username | +Role | +Status | +Created | +Actions | +|
|---|---|---|---|---|---|---|
| @account.Id | ++ @account.Username + | +@(account.Email ?? "-") | ++ @{ + var roleColor = account.Role switch + { + AccountRole.SuperAdmin => "bg-red-600", + AccountRole.Admin => "bg-orange-600", + AccountRole.Moderator => "bg-yellow-600", + AccountRole.Vip => "bg-purple-600", + _ => "bg-gray-600" + }; + } + @account.Role + | +
+ @if (isBanned)
+ {
+
+ @if (account.BannedUntil.HasValue && account.BannedUntil > DateTime.UtcNow)
+ {
+ |
+ @account.CreatedAt.ToString("yyyy-MM-dd") | ++ Edit + | +
| No accounts found. | +||||||
+ Showing @((Model.CurrentPage - 1) * Model.PageSize + 1)-@Math.Min(Model.CurrentPage * Model.PageSize, Model.TotalCount) of @Model.TotalCount +
+ +