first commit

This commit is contained in:
Muhammad Herdy Iskandar
2024-07-26 10:33:44 +00:00
commit 7117a42b13
399 changed files with 19527 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<x-filament-breezy::grid-section md=2 :title="__('filament-breezy::default.profile.sanctum.title')" :description="__('filament-breezy::default.profile.sanctum.description')">
@if($plainTextToken)
<div class="space-y-2 bg-warning-500">
<p class="text-sm">{{ __('filament-breezy::default.profile.sanctum.create.message') }}</p>
<input type="text" disabled @class(['w-full py-1 px-3 rounded-lg bg-gray-100 border-gray-200 dark:bg-gray-700 dark:border-gray-500']) name="plain_text_token" value="{{$plainTextToken}}" />
<div class="flex items-center justify-between">
<div class="inline-block text-xs">
<x-filament-breezy::clipboard-link :data="$plainTextToken" />
</div>
<x-filament::button icon="heroicon-s-clipboard-document-check" size="sm" type="button" wire:click="$set('plainTextToken',null)">{{ __('filament-breezy::default.profile.sanctum.copied.label') }}
</x-filament::button>
</div>
</div>
@endif
<div style="display: {{ $plainTextToken ? 'none' : '' }}">
{{ $this->table }}
</div>
</x-filament-breezy::grid-section>