This commit is contained in:
Saeed Vaziry
2024-09-27 20:36:03 +02:00
committed by GitHub
parent b62c40c97d
commit f6bc04763b
122 changed files with 6609 additions and 807 deletions

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,3 @@
<div {{ $getExtraAttributeBag() }}>
{!! $content !!}
</div>

View File

@ -0,0 +1,3 @@
<form class="fi-form">
{{ $this->form }}
</form>

View File

@ -0,0 +1,3 @@
<div>
{{ $this->infolist }}
</div>

View File

@ -0,0 +1,7 @@
<div {{ $this->getExtraAttributesBag() }}>
<x-filament-panels::page>
@foreach ($this->getWidgets() as $key => $widget)
@livewire($widget[0], $widget[1] ?? [], key(class_basename($widget[0]) . "-" . $key))
@endforeach
</x-filament-panels::page>
</div>

View File

@ -0,0 +1,17 @@
<div class="inline-flex gap-1">
@php
if (! isset($tags) && isset($getRecord)) {
$tags = $getRecord()->tags;
}
@endphp
@if (count($tags) === 0)
-
@endif
@foreach ($tags as $tag)
<x-filament::badge :color="$tag->color" icon="heroicon-o-tag">
{{ $tag->name }}
</x-filament::badge>
@endforeach
</div>

View File

@ -0,0 +1,9 @@
<div>
<div>
<div
class="border-{{ $getColor() }}-500 bg-{{ $getColor() }}-100 text-{{ $getColor() }}-700 dark:bg-{{ $getColor() }}-500 dark:text-{{ $getColor() }}-500 rounded-lg border border-l-4 px-4 py-3 dark:bg-opacity-10"
>
{{ $getMessage() }}
</div>
</div>
</div>

View File

@ -0,0 +1,19 @@
<x-filament-forms::field-wrapper.label>
{{ $getLabel() }}
</x-filament-forms::field-wrapper.label>
<div x-data="{ state: $wire.$entangle('{{ $getStatePath() }}') }" class="mt-1 grid grid-cols-6 gap-2">
@foreach (config("core.server_providers") as $p)
<div
class="flex w-full cursor-pointer items-center justify-center rounded-md border-2 bg-transparent px-3 pb-2 pt-3"
@click="state = '{{ $p }}'; $wire.set('{{ $getStatePath() }}', state)"
:class="{ 'border-primary-600': state === '{{ $p }}', 'border-primary-200 dark:border-primary-600 dark:border-opacity-20': state !== '{{ $p }}' }"
>
<div class="flex w-full flex-col items-center justify-center text-center">
<img src="{{ asset("static/images/" . $p . ".svg") }}" class="h-7" alt="Server" />
<span class="md:text-normal mt-2 hidden text-sm md:block">
{{ $p }}
</span>
</div>
</div>
@endforeach
</div>