@extends('admin.layout') @section('title', 'Users') @section('content')
Manage registered accounts and assign roles.
| # | User | Provider | Role | Joined | Actions | |
|---|---|---|---|---|---|---|
| {{ $user->id }} |
@if($user->avatar)
{{ strtoupper(substr($user->name,0,1)) }}
@endif
{{ $user->name }}
@if($user->id === auth()->id())
(you)
@endif
|
{{ $user->email }} | @if($user->provider === 'google') Google @else Email @endif | {{ ucfirst($user->role ?? 'user') }} | {{ $user->created_at->format('M d, Y') }} |
{{-- Edit --}}
{{-- Archive / Restore --}}
@if($user->id !== auth()->id())
{{-- Delete --}}
@endif
|
| No users found. | ||||||