@extends('header') @section('content') @parent @include('accounts.nav', ['selected' => ACCOUNT_USER_MANAGEMENT, 'advanced' => true])
@if (Utils::isPro() && ! Utils::isTrial()) {!! Button::primary(trans('texts.add_user'))->asLinkTo(URL::to('/users/create'))->appendIcon(Icon::create('plus-sign')) !!} @endif
@include('partials.bulk_form', ['entityType' => ENTITY_USER]) {!! Datatable::table() ->addColumn( trans('texts.name'), trans('texts.email'), trans('texts.user_state'), trans('texts.action')) ->setUrl(url('api/users/')) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->setOptions('bAutoWidth', false) ->setOptions('aoColumns', [[ "sWidth"=> "20%" ], [ "sWidth"=> "45%" ], ["sWidth"=> "20%"], ["sWidth"=> "15%" ]]) ->setOptions('aoColumnDefs', [['bSortable'=>false, 'aTargets'=>[3]]]) ->render('datatable') !!} @stop