mirror of
https://github.com/dyzulk/santulitam.git
synced 2026-01-27 05:51:53 +07:00
First Commit
This commit is contained in:
21
resources/views/vendor/filament-breezy/livewire/sanctum-tokens.blade.php
vendored
Normal file
21
resources/views/vendor/filament-breezy/livewire/sanctum-tokens.blade.php
vendored
Normal 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>
|
||||
Reference in New Issue
Block a user