add alert/notification functionality (for server connection events and messages)

This commit is contained in:
RaidMax
2022-06-11 11:34:00 -05:00
parent ffb0e5cac1
commit a44b4e9475
16 changed files with 579 additions and 21 deletions

View File

@ -279,6 +279,18 @@
EntityId = Model.ClientId
});
}
if (ViewBag.Authorized)
{
menuItems.Items.Add(new SideContextMenuItem
{
Title = "Message",
IsButton = true,
Reference = "OfflineMessage",
Icon = "oi oi-envelope-closed",
EntityId = Model.ClientId
});
}
menuItems.Items.Add(new SideContextMenuItem
{
@ -336,6 +348,7 @@
EntityId = Model.ClientId
});
}
}
<partial name="_SideContextMenu" for="@menuItems"></partial>