initial commit
This commit is contained in:
15
resources/views/admin/health.blade.php
Normal file
15
resources/views/admin/health.blade.php
Normal file
@@ -0,0 +1,15 @@
|
||||
@extends('layouts.app')
|
||||
@section('title', 'System-Health')
|
||||
@section('heading', 'System-Health')
|
||||
|
||||
@section('content')
|
||||
<div class="grid gap-4 md:grid-cols-2">
|
||||
@foreach($checks as $name => $check)
|
||||
<div class="hexahost-card p-6">
|
||||
<h3 class="mb-2 font-semibold capitalize">{{ str_replace('_', ' ', $name) }}</h3>
|
||||
<span class="hexahost-badge-{{ $check['status'] === 'ok' ? 'success' : ($check['status'] === 'error' ? 'danger' : 'warning') }} rounded-full px-2 py-0.5 text-xs">{{ strtoupper($check['status']) }}</span>
|
||||
<p class="mt-2 text-sm opacity-80">{{ $check['message'] }}</p>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user