@extends('admin.layouts.app') @section('title', '관리자 계정 관리') @section('content_class', 'a-content--full') @section('content')
관리자 계정 관리
계정/2FA/최근로그인/역할 정보를 관리합니다.
관리자 등록
@forelse($page as $u) @php $uid = (int)$u->id; $roles = $roleMap[$uid] ?? []; $pc = $permCnt[$uid] ?? 0; @endphp @php $st = (string)($u->status ?? ''); $stLabel = $st === 'active' ? '활성' : ($st === 'blocked' ? '비활성' : ($st ?: '-')); @endphp @php $isLocked = !empty($u->locked_until); @endphp @empty @endforelse
ID 닉네임 성명 이메일 상태 잠금 2FA 모드 TOTP 역할 최근 로그인 관리
{{ $uid }} {{ $u->nickname ?? '-' }} {{ $u->name ?? '-' }} {{ $u->email ?? '-' }} {{ $stLabel }} @if($isLocked) 계정잠금 @else 계정정상 @endif {{ $u->two_factor_mode ?? 'sms' }} {{ (int)($u->totp_enabled ?? 0) === 1 ? 'On' : 'Off' }} @forelse($roles as $r) {{ $r['name'] ?? $r['code'] }} @empty - @endforelse {{ $u->last_login_at ?? '-' }} 보기
데이터가 없습니다.
{{ $page->links() }}
@endsection