mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-28 11:42:28 +00:00
* Initial work for user settings page * Finish user setting and slot setting pages * Don't show slot upload date on home page and fix team pick redirection * Fix upload image button alignment on mobile * Fix image upload on iPhone * Remove unused css and add selected button color * Fix login email check and bump ChromeDriver to 105 * Remove duplicated code and allow users to leave fields empty * Add unpublish button on level settings and move settings button position * Don't show edit button on mini card * Self review bug fixes and users can no longer use an in-use email
44 lines
1.2 KiB
Text
44 lines
1.2 KiB
Text
@page "/moderation/bannedUsers/{pageNumber:int}"
|
|
@using LBPUnion.ProjectLighthouse.Extensions
|
|
@using LBPUnion.ProjectLighthouse.Localization.StringLists
|
|
@using LBPUnion.ProjectLighthouse.PlayerData.Profiles
|
|
@model LBPUnion.ProjectLighthouse.Servers.Website.Pages.Moderation.BannedUsersPage
|
|
|
|
@{
|
|
Layout = "Layouts/BaseLayout";
|
|
Model.Title = Model.Translate(ModPanelStrings.BannedUsers);
|
|
bool isMobile = Model.Request.IsMobile();
|
|
}
|
|
|
|
<p>There are @Model.UserCount banned users.</p>
|
|
|
|
@foreach (User user in Model.Users)
|
|
{
|
|
<div class="ui segment">
|
|
@await Html.PartialAsync("Partials/UserCardPartial", user, new ViewDataDictionary(ViewData)
|
|
{
|
|
{
|
|
"ShowLink", true
|
|
},
|
|
{
|
|
"IsMobile", isMobile
|
|
},
|
|
{
|
|
"Language", Model.GetLanguage()
|
|
},
|
|
{
|
|
"TimeZone", Model.GetTimeZone()
|
|
},
|
|
})
|
|
</div>
|
|
}
|
|
|
|
@if (Model.PageNumber != 0)
|
|
{
|
|
<a href="/moderation/bannedUsers/@(Model.PageNumber - 1)">Previous Page</a>
|
|
}
|
|
@(Model.PageNumber + 1) / @(Model.PageAmount)
|
|
@if (Model.PageNumber < Model.PageAmount - 1)
|
|
{
|
|
<a href="/moderation/bannedUsers/@(Model.PageNumber + 1)">Next Page</a>
|
|
}
|