<commit_before>@extends('front.layouts.master')

@section('title', 'Player Ban List')
@section('description', 'Players listed on this page are currently banned on one or more servers on our game network')

@section('contents')
    <div class="banlist">
        <h1>Ban List</h1>
        <table class="table table--divided">
            <thead>
            <tr>
                <th colspan="5">
                    <form action="{{ route('front.banlist') }}" method="get">
                        <input type="text" class="input-text" name="query" value="{{ $query }}" placeholder="Search banned player or reason">
                    </form>
                </th>
            </tr>
            <tr>
                <th>
                    Banned Player
                </th>
                <th>
                    Reason
                </th>
                <th>
                    Banned By
                </th>
                <th>
                    Banned At
                </th>
                <th>
                    Expires
                </th>
            </tr>
            </thead>
            <tbody>
            @forelse($bans as $ban)
                <tr>
                    <td>
                        <img src="https://minotar.net/avatar//{{ $ban->bannedPlayer->uuid }}/16" class="banlist__head" alt="">
                        {{ $ban->banned_alias_at_time }}
                    </td>
                    <td>
                        @if ($ban->reason != null)
                        {{ $ban->reason }}
                        @else
                        -
                        @endif
                    </td>
                    <td>
                        @if($ban->staff_player_id != null && count($ban->staffPlayer->aliases) > 0)
                        <img src="https://minotar.net/avatar/{{ $ban->staffPlayer->uuid }}/16" class="banlist__head" alt="">
                        {{ $ban->staffPlayer->getBanReadableName() }}
                        @else
                        -
                        @endif
                    </td>
                    <td>
                        {{ $ban->created_at->diffForHumans() }}
                    </td>
                    <td>
                        @if ($ban->expires_at != null)
                        {{ $ban->expires_at->diffForHumans() }}
                        @else
                        -
                        @endif<commit_msg>Change date display on ban list (#187)<commit_after>@extends('front.layouts.master')

@section('title', 'Player Ban List')
@section('description', 'Players listed on this page are currently banned on one or more servers on our game network')

@section('contents')
    <div class="banlist">
        <h1>Ban List</h1>
        <table class="table table--divided">
            <thead>
            <tr>
                <th colspan="5">
                    <form action="{{ route('front.banlist') }}" method="get">
                        <input type="text" class="input-text" name="query" value="{{ $query }}" placeholder="Search banned player or reason">
                    </form>
                </th>
            </tr>
            <tr>
                <th>
                    Banned Player
                </th>
                <th>
                    Reason
                </th>
                <th>
                    Banned By
                </th>
                <th>
                    Banned At
                </th>
                <th>
                    Expires
                </th>
            </tr>
            </thead>
            <tbody>
            @forelse($bans as $ban)
                <tr>
                    <td>
                        <img src="https://minotar.net/avatar//{{ $ban->bannedPlayer->uuid }}/16" class="banlist__head" alt="">
                        {{ $ban->banned_alias_at_time }}
                    </td>
                    <td>
                        @if ($ban->reason != null)
                        {{ $ban->reason }}
                        @else
                        -
                        @endif
                    </td>
                    <td>
                        @if($ban->staff_player_id != null && count($ban->staffPlayer->aliases) > 0)
                        <img src="https://minotar.net/avatar/{{ $ban->staffPlayer->uuid }}/16" class="banlist__head" alt="">
                        {{ $ban->staffPlayer->getBanReadableName() }}
                        @else
                        -
                        @endif
                    </td>
                    <td>
                        {{ $ban->created_at->format('j M Y H:i') }}
                    </td>
                    <td>
                        @if ($ban->expires_at != null)
                        {{ $ban->created_at->format('j M Y H:i') }}
                        @else
                        -
                        @endif
{'fraction_non_alphanumeric': 0.13027522935779817, 'fraction_numerical': 0.003873598369011213, 'mean_word_length': 0.8492272898605352, 'pattern_counts': {'":': 0, '<': 79, '<?xml version=': 0, '>': 115, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2006691', 'n_tokens_mistral': 1281, 'n_tokens_neox': 1154, 'n_words': 253}