mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-04-19 19:14:51 +00:00
23 lines
No EOL
761 B
Text
23 lines
No EOL
761 B
Text
@page "/authentication/autoApprovals"
|
|
@using LBPUnion.ProjectLighthouse.PlayerData.Profiles
|
|
@using LBPUnion.ProjectLighthouse.Types
|
|
@model LBPUnion.ProjectLighthouse.Servers.Website.Pages.ExternalAuth.ManageUserApprovedIpAddressesPage
|
|
|
|
@{
|
|
Layout = "Layouts/BaseLayout";
|
|
Model.Title = "Automatically approved IP addresses";
|
|
}
|
|
|
|
|
|
@foreach (UserApprovedIpAddress approvedIpAddress in Model.ApprovedIpAddresses)
|
|
{
|
|
<div class="ui blue segment">
|
|
<p>@approvedIpAddress.IpAddress</p>
|
|
<a href="/authentication/revokeAutoApproval/@approvedIpAddress.UserApprovedIpAddressId">
|
|
<button class="ui red button">
|
|
<i class="trash icon"></i>
|
|
<span>Revoke</span>
|
|
</button>
|
|
</a>
|
|
</div>
|
|
} |