mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-28 06:54:46 +02:00
122 lines
3.4 KiB
PHP
122 lines
3.4 KiB
PHP
<x-filament-panels::page>
|
|
|
|
<x-filament::tabs disabled>
|
|
<x-filament::tabs.item disabled>{{ trans('dashboard/index.overview') }} </x-filament::tabs.item>
|
|
|
|
<x-filament::tabs.item
|
|
icon="tabler-server-2"
|
|
>
|
|
Nodes
|
|
<x-slot name="badge">{{ $nodesCount }}</x-slot>
|
|
</x-filament::tabs.item>
|
|
|
|
<x-filament::tabs.item
|
|
icon="tabler-brand-docker"
|
|
>
|
|
Servers
|
|
<x-slot name="badge">{{ $serversCount }}</x-slot>
|
|
</x-filament::tabs.item>
|
|
|
|
<x-filament::tabs.item
|
|
icon="tabler-eggs"
|
|
>
|
|
Eggs
|
|
<x-slot name="badge">{{ $eggsCount }}</x-slot>
|
|
</x-filament::tabs.item>
|
|
|
|
<x-filament::tabs.item
|
|
icon="tabler-users"
|
|
>
|
|
Users
|
|
<x-slot name="badge">{{ $usersCount }}</x-slot>
|
|
</x-filament::tabs.item>
|
|
</x-filament::tabs>
|
|
|
|
<x-filament-panels::header
|
|
:actions="$this->getCachedHeaderActions()"
|
|
:breadcrumbs="filament()->hasBreadcrumbs() ? $this->getBreadcrumbs() : []"
|
|
:heading=" trans('dashboard/index.heading')"
|
|
:subheading="trans('strings.version', ['version' => config('app.version')])"
|
|
></x-filament-panels::header>
|
|
|
|
<p>{{ trans('dashboard/index.expand_sections') }}</p>
|
|
|
|
@if ($inDevelopment)
|
|
<x-filament::section
|
|
icon="tabler-code"
|
|
icon-color="primary"
|
|
id="intro-developers"
|
|
collapsible
|
|
persist-collapsed
|
|
collapsed
|
|
:header-actions="$devActions"
|
|
>
|
|
<x-slot name="heading">{{ trans('dashboard/index.sections.intro-developers.heading') }}</x-slot>
|
|
|
|
<p>{{ trans('dashboard/index.sections.intro-developers.content') }}</p>
|
|
|
|
<p><br /></p>
|
|
|
|
<p>{{ trans('dashboard/index.sections.intro-developers.extra_note') }}</p>
|
|
|
|
</x-filament::section>
|
|
@endif
|
|
|
|
{{-- No Nodes Created --}}
|
|
@if ($nodesCount <= 0)
|
|
<x-filament::section
|
|
icon="tabler-server-2"
|
|
icon-color="primary"
|
|
id="intro-first-node"
|
|
collapsible
|
|
persist-collapsed
|
|
:header-actions="$nodeActions"
|
|
>
|
|
<x-slot name="heading">{{ trans('dashboard/index.sections.intro-first-node.heading') }}</x-slot>
|
|
|
|
<p>{{ trans('dashboard/index.sections.intro-first-node.content') }}</p>
|
|
|
|
</x-filament::section>
|
|
@endif
|
|
|
|
{{-- No Nodes Active --}}
|
|
|
|
|
|
<x-filament::section
|
|
icon="tabler-heart-filled"
|
|
icon-color="danger"
|
|
id="intro-support"
|
|
collapsible
|
|
persist-collapsed
|
|
:header-actions="$supportActions"
|
|
>
|
|
<x-slot name="heading">{{ trans('dashboard/index.sections.intro-support.heading') }}</x-slot>
|
|
|
|
<p>{{ trans('dashboard/index.sections.intro-support.content') }}</p>
|
|
|
|
<p><br /></p>
|
|
|
|
<p>{{ trans('dashboard/index.sections.intro-support.extra_note') }}</p>
|
|
|
|
</x-filament::section>
|
|
|
|
|
|
|
|
<x-filament::section
|
|
icon="tabler-question-mark"
|
|
icon-color="info"
|
|
id="intro-help"
|
|
collapsible
|
|
persist-collapsed
|
|
:header-actions="$helpActions"
|
|
>
|
|
<x-slot name="heading">{{ trans('dashboard/index.sections.intro-help.heading') }}</x-slot>
|
|
|
|
<p>{{ trans('dashboard/index.sections.intro-help.content') }}</p>
|
|
|
|
</x-filament::section>
|
|
|
|
<div>
|
|
</div>
|
|
</x-filament-panels::page>
|