@extends('layouts.backend') @section('title', 'Usuarios') @section('content') @if($users_total)
Total de usuarios
{{ $users_total }}
Usuarios activos
{{ $users_active }} de {{ $users_total }}
{{ number_format($users_active / $users_total * 100, 1, ',', '.') }}%
@endif
{!! Form::open([ 'method' => 'get' ]) !!}
{!! Form::text('q', request()->q, ['class' => 'form-control', 'placeholder' => 'Buscar usuarios']) !!}
{!! Form::close() !!}
Filtro 2
@forelse($users as $user) @empty @endforelse
Usuario Estado Rol Acciones
@if($user->image)
Image Description
@endif
{{ $user->name }} {{ $user->email }}
{{ $user->trashed() ? 'Inactivo' : 'Activo' }} {{ $user->roles->implode('name', ' - ') }}
No hay resultados
@if($users->hasPages()) @endif
@endsection @push('scripts') @endpush