@extends('layout.app') @section('content')

System Update

Pulls the latest code from GitHub (master), runs migrations & seeders, fixes file permissions, and rebuilds the cache. Visible to the primary admin only.

@csrf
@if (session('system_update_output'))
{{ session('system_update_output') }}
@endif

Update Click History

Every time the Update System Now button is clicked, the user, their device, IP address, LAN IP and (when on the same network) MAC address are recorded here.

@foreach ($logs as $log) @endforeach
# User Device IP Address Local IP MAC Address Device ID Status Clicked At
{{ $log->id }} {{ $log->user_name ?? ('User #' . $log->user_id) }} {{ $log->device_label ?? '-' }} {{ $log->ip_address ?? '-' }} {{ $log->local_ip ?? '-' }} {{ $log->mac_address ?? '-' }} {{ $log->device_id ? \Illuminate\Support\Str::limit($log->device_id, 12) : '-' }} @if ($log->status === 'success') Success @elseif ($log->status === 'error') Failed @else Pending @endif {{ $log->created_at ? $log->created_at->format('d M Y, h:i A') : '-' }}
@endsection @section('ajax') @endsection