@extends('layouts.app-sidebar') @section('content')

Admin Dashboard

System overview and management

System Online
@if(session('success'))
{{ session('success') }}
@endif @if(session('error'))
{{ session('error') }}
@endif
Tenants
{{ $stats['total_tenants'] ?? 0 }}

Total channels

Active
{{ $stats['active_tenants'] ?? 0 }}

Running bots

Commands
{{ $stats['total_commands'] ?? 0 }}

Custom commands

Messages
{{ number_format($stats['total_messages'] ?? 0) }}

Total processed

Bot Service Control

DayBot Windows Service

Service Status
@csrf
@csrf
@csrf

YouTube Bot Account

Bot's YouTube authentication

@include('dashboard.partials.bot-account')

Manage Users

User accounts & access

Support Tickets

User support requests

Notifications

Broadcast messages

API Settings

AI & service configs

All Channels

{{ $tenants->total() }} registered channels

@forelse($tenants as $tenant)
@if($tenant->channel_avatar_url) Avatar @else
{{ strtoupper(substr($tenant->channel_title, 0, 1)) }}
@endif

{{ $tenant->channel_title }}

{{ $tenant->user->name }}

@if($tenant->status === 'running' && $tenant->live_chat_id) Live @elseif($tenant->status === 'running') Waiting @elseif($tenant->status === 'error') Error @else Stopped @endif

{{ $tenant->created_at->format('M d, Y') }}

@empty

No channels found

@endforelse
@if($tenants->hasPages())
{{ $tenants->links() }}
@endif
@endsection