@extends('layouts.user') @section('title', 'Analysis History | Smart Dermatology') @push('styles') @endpush @section('content')

Analysis History

Review your previous skin checks and saved AI results.

Total Checks

{{ $analyses->total() }}

Saved analysis records in your account
Latest Result
{{ $analyses->first() ? str_replace('_', ' ', $analyses->first()->disease) : 'No result yet' }}
{{ $analyses->first() ? number_format($analyses->first()->confidence * 100, 2).'%' : 'Upload an image to begin' }}
Next Step

Run a fresh analysis whenever you need a new prediction.

Saved Results

A full timeline of your previous image analyses.

Analyze Another Image
@if ($analyses->count())
@foreach ($analyses as $analysis) @endforeach
Image Filename Disease Confidence Checked At
Analyzed image {{ $analysis->original_filename }} {{ str_replace('_', ' ', $analysis->disease) }} {{ number_format($analysis->confidence * 100, 2) }}% {{ $analysis->created_at?->format('d M Y h:i A') }}
@else

No history yet

Your completed skin analyses will appear here once you upload an image on the checker page.

Start First Analysis
@endif @if ($analyses->hasPages())
{{ $analyses->links() }}
@endif
@endsection