2020-05-03 04:10:33 +01:00
|
|
|
@extends('adminlte::page')
|
|
|
|
|
2022-03-19 05:56:20 +00:00
|
|
|
@section('title', config('app.name') . ' | ' . __('Staff members'))
|
2020-05-03 04:10:33 +01:00
|
|
|
|
|
|
|
@section('content_header')
|
|
|
|
|
2022-03-19 05:56:20 +00:00
|
|
|
<h4>{{__('Administration')}} / {{__('Staff members')}}</h4>
|
2020-05-03 04:10:33 +01:00
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
<div class="small-box bg-info">
|
|
|
|
<div class="inner">
|
2020-06-27 00:32:33 +01:00
|
|
|
<h3>{{$users->count()}}</h3>
|
2020-05-03 04:10:33 +01:00
|
|
|
|
2022-03-19 05:56:20 +00:00
|
|
|
<p>{{__('Active Staff Members')}}</p>
|
2020-05-03 04:10:33 +01:00
|
|
|
</div>
|
|
|
|
<div class="icon">
|
|
|
|
<i class="fa fa-user-tie"></i>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<div class="card bg-gray-dark">
|
|
|
|
|
|
|
|
<div class="card-header bg-indigo">
|
|
|
|
|
2022-03-19 05:56:20 +00:00
|
|
|
<div class="card-title"><h4 class="text-bold">{{__('Member listing')}}</h4></div>
|
2020-05-03 04:10:33 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
<table class="table table-borderless table-active">
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
2022-03-19 05:56:20 +00:00
|
|
|
<th>{{__('Full name')}}</th>
|
|
|
|
<th>{{__('Rank')}}</th>
|
|
|
|
<th>{{__('Email')}}</th>
|
|
|
|
<th>{{__('Status')}}</th>
|
|
|
|
<th>{{__('Join date')}}</th>
|
|
|
|
<th>{{__('Actions')}}</th>
|
2020-05-03 04:10:33 +01:00
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
2020-06-27 00:32:33 +01:00
|
|
|
@foreach($users as $user)
|
|
|
|
|
|
|
|
<tr>
|
2020-06-27 19:15:33 +01:00
|
|
|
<td>{{ $user->id }}</td>
|
2020-06-27 00:32:33 +01:00
|
|
|
<td>{{$user->name}}</td>
|
|
|
|
<td>
|
|
|
|
@foreach($user->roles as $role)
|
|
|
|
<span class="badge badge-info badge-sm">{{$role->name}}</span>
|
|
|
|
@endforeach
|
|
|
|
</td>
|
2020-06-27 19:15:33 +01:00
|
|
|
<td>{{ $user->email }}</td>
|
2021-10-25 02:28:42 +01:00
|
|
|
<td>
|
|
|
|
<x-account-status user-id="{{ $user->id }}"></x-account-status>
|
|
|
|
</td>
|
2020-06-27 00:32:33 +01:00
|
|
|
<td>{{$user->created_at}}</td>
|
|
|
|
<td>
|
|
|
|
<button type="button" class="btn btn-sm btn-success mr-2" onclick="window.location.href='{{route('showSingleProfile', ['user' => $user->id])}}'"><i class="fa fa-eye"></i></button>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
@endforeach
|
2020-06-27 19:15:33 +01:00
|
|
|
|
2020-05-03 04:10:33 +01:00
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer">
|
|
|
|
|
2022-03-19 05:56:20 +00:00
|
|
|
<button type="button" class="btn btn-outline-primary" onclick="window.location.href='{{route("registeredPlayerList")}}'">{{__('View Registered Users (Applicant Pool)')}}</button>
|
2020-05-03 04:10:33 +01:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|
2020-07-16 06:46:20 +01:00
|
|
|
|
|
|
|
@section('footer')
|
|
|
|
@include('breadcrumbs.dashboard.footer')
|
|
|
|
@stop
|