2020-05-03 03:10:33 +00:00
|
|
|
@extends('adminlte::page')
|
|
|
|
|
2020-05-03 03:31:02 +00:00
|
|
|
@section('title', 'Raspberry Network | Staff Members')
|
2020-05-03 03:10:33 +00:00
|
|
|
|
|
|
|
@section('content_header')
|
|
|
|
|
|
|
|
<h4>Administration / Staff Members</h4>
|
|
|
|
|
|
|
|
@stop
|
|
|
|
|
|
|
|
@section('content')
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
<div class="small-box bg-info">
|
|
|
|
<div class="inner">
|
2020-06-26 23:32:33 +00:00
|
|
|
<h3>{{$users->count()}}</h3>
|
2020-05-03 03:10:33 +00:00
|
|
|
|
|
|
|
<p>Active Staff Members</p>
|
|
|
|
</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">
|
|
|
|
|
|
|
|
<div class="card-title"><h4 class="text-bold">Member Listing</h4></div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
<table class="table table-borderless table-active">
|
|
|
|
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th>#</th>
|
|
|
|
<th>Full Name</th>
|
2020-06-26 23:32:33 +00:00
|
|
|
<th>UUID</th>
|
2020-05-03 03:10:33 +00:00
|
|
|
<th>Rank</th>
|
2020-06-27 18:15:33 +00:00
|
|
|
<th>Email</th>
|
2020-05-03 03:10:33 +00:00
|
|
|
<th>Status</th>
|
|
|
|
<th>Join Date</th>
|
|
|
|
<th>Actions</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
|
|
|
|
<tbody>
|
|
|
|
|
2020-06-26 23:32:33 +00:00
|
|
|
@foreach($users as $user)
|
|
|
|
|
|
|
|
<tr>
|
2020-06-27 18:15:33 +00:00
|
|
|
<td>{{ $user->id }}</td>
|
2020-06-26 23:32:33 +00:00
|
|
|
<td>{{$user->name}}</td>
|
|
|
|
<td>{{UUID::toUsername($user->uuid)}}</td>
|
|
|
|
<td>
|
|
|
|
@foreach($user->roles as $role)
|
|
|
|
<span class="badge badge-info badge-sm">{{$role->name}}</span>
|
|
|
|
@endforeach
|
|
|
|
</td>
|
2020-06-27 18:15:33 +00:00
|
|
|
<td>{{ $user->email }}</td>
|
2020-06-26 23:32:33 +00:00
|
|
|
<td><span class="badge badge-success">Active</span></td>
|
|
|
|
<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 18:15:33 +00:00
|
|
|
|
2020-05-03 03:10:33 +00:00
|
|
|
</tbody>
|
|
|
|
|
|
|
|
</table>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer">
|
|
|
|
|
2020-05-03 03:31:02 +00:00
|
|
|
<button type="button" class="btn btn-outline-primary" onclick="window.location.href='{{route("registeredPlayerList")}}'">See Registered Players (Applicant Pool)</button>
|
2020-05-03 03:10:33 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
@stop
|