mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
ban/unban buttons added to profile
several css tweaks changed administratorIPs to PrivilegedClients added time step references to profile page
This commit is contained in:
@ -26,12 +26,12 @@
|
||||
if (Model.Level == SharedLibrary.Objects.Player.Permission.User.ToString())
|
||||
{
|
||||
|
||||
<span id="profile_action_ban_btn" class="oi oi-ban text-danger" title="ban" aria-hidden="true"></span>
|
||||
<span id="profile_action_ban_btn" class="profile-action oi oi-ban text-danger" title="Ban Client" data-action="ban" aria-hidden="true"></span>
|
||||
}
|
||||
|
||||
if (Model.Level == SharedLibrary.Objects.Player.Permission.Banned.ToString())
|
||||
{
|
||||
<span id="profile_action_unban_btn" class="iconic iconic-carriage-return text-success" title="carriage return" aria-hidden="true"></span>
|
||||
<span id="profile_action_unban_btn" class="profile-action oi oi-action-undo text-success" title="carriage return" data-action="unban" aria-hidden="true"></span>
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -85,6 +85,10 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@section targetid {
|
||||
<input type="hidden" name="targetId" value="@Model.ClientId" />
|
||||
}
|
||||
|
||||
@section scripts {
|
||||
<script>
|
||||
const clientInfo = {};
|
||||
|
Reference in New Issue
Block a user