@extends(config('laravelusers.laravelUsersBladeExtended')) @section('template_title') {!! trans('laravelusers::laravelusers.showing-all-users') !!} @endsection @section('template_linked_css') @if(config('laravelusers.enabledDatatablesJs')) @endif @if(config('laravelusers.fontAwesomeEnabled')) @endif @include('laravelusers::partials.styles') @include('laravelusers::partials.bs-visibility-css') @endsection @section('content')
@if(config('laravelusers.enablePackageBootstapAlerts'))
@include('laravelusers::partials.form-status')
@endif
@if(config('laravelusers.enableSearchUsers')) @include('laravelusers::partials.search-users-form') @endif
@if(config('laravelusers.rolesEnabled')) @endif @foreach($users as $user) @if(config('laravelusers.rolesEnabled')) @endif @endforeach @if(config('laravelusers.enableSearchUsers')) @endif
{!! trans_choice('laravelusers::laravelusers.users-table.caption', 1, ['userscount' => $users->count()]) !!}
{!! trans('laravelusers::laravelusers.users-table.id') !!} {!! trans('laravelusers::laravelusers.users-table.name') !!} {!! trans('laravelusers::laravelusers.users-table.actions') !!}
{{$user->id}} {{$user->name}} {!! Form::open(array('url' => 'users/' . $user->id, 'class' => '', 'data-toggle' => 'tooltip', 'title' => trans('laravelusers::laravelusers.tooltips.delete'))) !!} {!! Form::hidden('_method', 'DELETE') !!} {!! Form::button(trans('laravelusers::laravelusers.buttons.delete'), array('class' => 'btn btn-danger btn-sm','type' => 'button', 'style' =>'width: 100%;' ,'data-toggle' => 'modal', 'data-target' => '#confirmDelete', 'data-title' => trans('laravelusers::modals.delete_user_title'), 'data-message' => trans('laravelusers::modals.delete_user_message', ['user' => $user->name]))) !!} {!! Form::close() !!} {!! trans('laravelusers::laravelusers.buttons.show') !!} {!! trans('laravelusers::laravelusers.buttons.edit') !!}
@if($pagintaionEnabled) {{ $users->links() }} @endif
@include('laravelusers::modals.modal-delete') @endsection @section('template_scripts') @if ((count($users) > config('laravelusers.datatablesJsStartCount')) && config('laravelusers.enabledDatatablesJs')) @include('laravelusers::scripts.datatables') @endif @include('laravelusers::scripts.delete-modal-script') @include('laravelusers::scripts.save-modal-script') @if(config('laravelusers.tooltipsEnabled')) @include('laravelusers::scripts.tooltips') @endif @if(config('laravelusers.enableSearchUsers')) @include('laravelusers::scripts.search-users') @endif @endsection