@extends('client.layouts.app') @section('title', __('client.hosting.'.$runtime.'.title')) @section('content') @php $meta = [ 'laravel' => ['ic' => 'ri-fire-line', 'c1' => '#ef4444', 'c2' => '#b91c1c'], 'nodejs' => ['ic' => 'ri-nodejs-line', 'c1' => '#22c55e', 'c2' => '#15803d'], 'python' => ['ic' => 'ri-terminal-box-line', 'c1' => '#3b82f6', 'c2' => '#1d4ed8'], ][$runtime] ?? ['ic' => 'ri-apps-2-line', 'c1' => '#0ea5e9', 'c2' => '#0284c7']; @endphp {{ __('client.services.back_to_services') }}

{{ __('client.hosting.'.$runtime.'.title') }}

{{ __('client.hosting.'.$runtime.'.subtitle') }}
@if(count($apps))
{{ count($apps) }}
@endif
@if(count($apps)) @foreach($apps as $app) @endforeach
{{ __('common.table.name') }} {{ __('client.hosting.runtime.domain') }} {{ __('client.hosting.runtime.version') }} {{ __('common.table.status') }}
{{ $app['name'] ?: '—' }} @if($app['domain']){{ $app['domain'] }}@else—@endif @if($app['version']){{ $runtime === 'python' && $app['framework'] ? $app['version'].' · '.$app['framework'] : $app['version'] }}@else—@endif @php $on = in_array($app['status'], ['running', 'active', 'deployed', 'online'], true); @endphp {{ $app['status'] ? ucfirst($app['status']) : '—' }} @if($app['url']){{ __('client.hosting.runtime.open') }} @endif
@else

{{ __('client.hosting.runtime.empty_title') }}

{{ __('client.hosting.runtime.empty_hint') }}
@endif
@endsection