@extends('accounts.nav') @section('content') @parent @include('accounts.nav_advanced') {!! Former::open('tokens/delete')->addClass('user-form') !!}
{!! Former::close() !!} @if (Utils::isPro()) {!! Button::success(trans('texts.add_token'))->asLinkTo('/tokens/create')->withAttributes(['class' => 'pull-right'])->appendIcon(Icon::create('plus-sign')) !!} @endif {!! Datatable::table() ->addColumn( trans('texts.name'), trans('texts.token'), trans('texts.action')) ->setUrl(url('api/tokens/')) ->setOptions('sPaginationType', 'bootstrap') ->setOptions('bFilter', false) ->setOptions('bAutoWidth', false) ->setOptions('aoColumns', [[ "sWidth"=> "40%" ], [ "sWidth"=> "40%" ], ["sWidth"=> "20%"]]) ->setOptions('aoColumnDefs', [['bSortable'=>false, 'aTargets'=>[2]]]) ->render('datatable') !!} @stop