@extends('layouts.app') @section('title', 'LDAP Users — ' . config('app.name')) @section('content')

LDAP Users

Host: {{ $meta['server'] }} @if ($meta['domain']) · Domain: {{ $meta['domain'] }} @endif

@include('partials.flash') @if ($error)
{{ $error }}
@endif
@if ($search !== '' || $groupFilter !== '') Clear @endif
{{ $meta['total'] }} users
@php $columns = [ 'username' => 'Username', 'display_name' => 'Display Name', 'email' => 'Email', 'phone' => 'Phone', 'enabled' => 'Status', 'last_logon' => 'Last Logon', 'groups' => 'Groups', ]; @endphp @foreach ($columns as $key => $label) @php $nextDir = ($sort === $key && $dir === 'asc') ? 'desc' : 'asc'; $arrow = $sort === $key ? ($dir === 'asc' ? '↑' : '↓') : ''; @endphp @endforeach @include('partials.list-table-row-hint', ['tag' => 'th']) @forelse ($users as $user) @include('partials.list-table-row-hint', ['tag' => 'td']) @empty @endforelse
{{ $label }} {{ $arrow }} Meta Actions
{{ $user['username'] }} {{ $user['display_name'] }} {{ $user['email'] }} {{ $user['phone'] !== '' ? $user['phone'] : '—' }} {{ $user['enabled'] ? 'Enabled' : 'Disabled' }} {{ $user['last_logon'] ?? '—' }} @if (count($user['groups']) === 0) @else
@foreach ($user['groups'] as $groupName) {{ $groupName }} @endforeach
@endif
@if (($user['other_email'] ?? '') !== '' || ($user['admin_note'] ?? '') !== '')
@if (($user['other_email'] ?? '') !== '') {{ $user['other_email'] }} @endif @if (($user['admin_note'] ?? '') !== '') {{ Str::limit($user['admin_note'], 40) }} @endif
@else @endif
View @if ($user['protected']) Protected @else
Edit
@csrf
Password
@endif
No users found.
@endsection