@extends('layouts.admin') @section('title', __('operations.api_title')) @section('content') @if(session('api_token'))

{{ __('operations.token_created') }}

{{ session('api_token') }}
@endif

{{ __('operations.clients') }}

{{ __('operations.api_hint') }}

@csrf
@foreach($clients as $client)
{{ $client->name }} · {{ $client->revoked_at ? __('operations.revoked') : __('operations.enabled') }}@unless($client->revoked_at)
@csrf
@endunless
@endforeach

{{ __('operations.users') }}

@foreach($users as $user)
@csrf @method('put'){{ $user->name }} · {{ $user->email }}
@endforeach
{{ __('operations.new_user') }}
@csrf @foreach(['name','email','password','password_confirmation'] as $key)@endforeach

{{ __('operations.audit') }}

@foreach($logs as $log)@endforeach
{{ __('operations.date') }}{{ __('operations.users') }}{{ __('operations.operation') }}
{{ $log->created_at }}#{{ $log->user_id }}{{ $log->method }} {{ $log->route_name }} · {{ $log->http_status }}
@endsection