@extends('layouts.app') @section('title', 'Siteler') @section('content')

Siteler

Tüm sitelerin listesi

@if(auth()->user()->isAdmin()) @endif
@if(isset($savedFilters) && $savedFilters->count() > 0)
Kayıtlı Filtreler:
@endif
@if(auth()->user()->isAdmin()) @endif
@if(auth()->user()->isAdmin())
0 site seçildi
@endif
@if(auth()->user()->isAdmin()) @endif @if(auth()->user()->isAdmin()) @endif @forelse($sites as $site) @if(auth()->user()->isAdmin()) @endif @if(auth()->user()->isAdmin()) @endif @empty @endforelse
Site Adı URLAtanan GeliştiriciDurum Sağlık Skoru SSL/HTTPSGSP ConnectorSayfa Sayısı İşlemler
{{ $site->name }} @if($site->categories->count() > 0 || $site->tags->count() > 0)
@foreach($site->categories as $category)
{{ $category->name }}
@endforeach @foreach($site->tags as $tag) {{ $tag->name }} @endforeach
@endif
{{ $site->url }} {{ $site->assignedUser ? $site->assignedUser->name : 'Atanmamış' }} @php // Developer hesabı için özel durum kontrolü if (auth()->user()->isDeveloper() && !auth()->user()->isAdmin()) { // WordPress kuruldu mu ve application password var mı? $wpInstalled = !empty($site->setup_completed_at); $hasAppPassword = !empty($site->wp_application_password); $displayStatus = ($wpInstalled && $hasAppPassword) ? 'active' : $site->status; } else { $displayStatus = $site->status; } @endphp {{ $displayStatus === 'active' ? 'active' : $site->status }} @php $healthScore = $site->health_score; $overallScore = $healthScore['overall_score'] ?? null; $healthColor = $healthScore['health_color'] ?? 'gray'; $badgeColors = [ 'green' => 'bg-green-100 dark:bg-green-900/30 text-green-800 dark:text-green-300', 'lime' => 'bg-lime-100 dark:bg-lime-900/30 text-lime-800 dark:text-lime-300', 'yellow' => 'bg-yellow-100 dark:bg-yellow-900/30 text-yellow-800 dark:text-yellow-300', 'orange' => 'bg-orange-100 dark:bg-orange-900/30 text-orange-800 dark:text-orange-300', 'red' => 'bg-red-100 dark:bg-red-900/30 text-red-800 dark:text-red-300', 'gray' => 'bg-gray-100 dark:bg-gray-700 text-gray-800 dark:text-gray-300', ]; @endphp @if($overallScore !== null) @php $circumference = 2 * M_PI * 16; $offset = $circumference * (1 - $overallScore / 100); $colorMap = [ 'green' => '#10b981', 'lime' => '#84cc16', 'yellow' => '#eab308', 'orange' => '#f97316', 'red' => '#ef4444', 'gray' => '#6b7280', ]; $textColorMap = [ 'green' => 'text-green-600 dark:text-green-400', 'lime' => 'text-lime-600 dark:text-lime-400', 'yellow' => 'text-yellow-600 dark:text-yellow-400', 'orange' => 'text-orange-600 dark:text-orange-400', 'red' => 'text-red-600 dark:text-red-400', 'gray' => 'text-gray-600 dark:text-gray-400', ]; $strokeColor = $colorMap[$healthColor] ?? $colorMap['gray']; $textColorClass = $textColorMap[$healthColor] ?? $textColorMap['gray']; @endphp
{{ number_format($overallScore, 0) }}
@else - @endif
@if($site->last_analyzed_at) {{ $site->is_ssl_active ? 'Aktif' : 'Pasif' }} @else Analiz Edilmedi @endif @if($site->gsp_connector_version) {{ $site->gsp_connector_version }} @else Veri yok @endif @if($site->last_analyzed_at) {{ $site->page_count ?? 0 }} @else - @endif @php $wpAdminUrl = rtrim($site->url, '/') . '/wp-admin'; @endphp
Görüntüle @can('update', $site) Düzenle @endcan @if(!empty($site->setup_completed_at)) WP-Admin @endif @can('delete', $site) @endcan
Henüz site bulunmamaktadır.
@push('scripts') @endpush @endsection