mirror of
https://github.com/dyzulk/santulitam-temp.git
synced 2026-01-26 13:51:55 +07:00
first commit
This commit is contained in:
9
resources/views/vendor/filament-breezy/components/clipboard-link.blade.php
vendored
Normal file
9
resources/views/vendor/filament-breezy/components/clipboard-link.blade.php
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
@props([
|
||||
'data'
|
||||
])
|
||||
<a x-data="{}"
|
||||
x-on:click.prevent="window.navigator.clipboard.writeText(@js($data));$tooltip('{{ __('filament-breezy::default.clipboard.tooltip') }}');"
|
||||
href="#" class="flex items-center">
|
||||
@svg('heroicon-s-clipboard-document', 'w-4 mr-2')
|
||||
<span class="">{{ __('filament-breezy::default.clipboard.link') }}</span>
|
||||
</a>
|
||||
16
resources/views/vendor/filament-breezy/components/grid-section.blade.php
vendored
Normal file
16
resources/views/vendor/filament-breezy/components/grid-section.blade.php
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
@props(['title','description'])
|
||||
<x-filament::grid @class(["pt-6 gap-4 filament-breezy-grid-section"]) {{ $attributes }}>
|
||||
|
||||
<x-filament::grid.column>
|
||||
<h3 @class(['text-lg font-medium filament-breezy-grid-title'])>{{$title}}</h3>
|
||||
|
||||
<p @class(['mt-1 text-sm text-gray-500 filament-breezy-grid-description'])>
|
||||
{{$description}}
|
||||
</p>
|
||||
</x-filament::grid.column>
|
||||
|
||||
<x-filament::grid.column>
|
||||
{{ $slot }}
|
||||
</x-filament::grid.column>
|
||||
|
||||
</x-filament::grid>
|
||||
9
resources/views/vendor/filament-breezy/filament/pages/my-profile.blade.php
vendored
Normal file
9
resources/views/vendor/filament-breezy/filament/pages/my-profile.blade.php
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
<x-filament::page>
|
||||
<div class="space-y-6 divide-y divide-gray-900/10 dark:divide-white/10">
|
||||
@foreach ($this->getRegisteredMyProfileComponents() as $component)
|
||||
@unless(is_null($component))
|
||||
@livewire($component)
|
||||
@endunless
|
||||
@endforeach
|
||||
</div>
|
||||
</x-filament::page>
|
||||
8
resources/views/vendor/filament-breezy/filament/pages/two-factor.blade.php
vendored
Normal file
8
resources/views/vendor/filament-breezy/filament/pages/two-factor.blade.php
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<x-filament-panels::page.simple>
|
||||
<x-filament-panels::form wire:submit="authenticate">
|
||||
{{ $this->form }}
|
||||
|
||||
<x-filament-panels::form.actions :actions="$this->getCachedFormActions()"
|
||||
:full-width="$this->hasFullWidthFormActions()" />
|
||||
</x-filament-panels::form>
|
||||
</x-filament-panels::page.simple>
|
||||
14
resources/views/vendor/filament-breezy/livewire/personal-info.blade.php
vendored
Normal file
14
resources/views/vendor/filament-breezy/livewire/personal-info.blade.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<x-filament-breezy::grid-section md=2 :title="__('filament-breezy::default.profile.personal_info.heading')" :description="__('filament-breezy::default.profile.personal_info.subheading')">
|
||||
<x-filament::card>
|
||||
<form wire:submit.prevent="submit" class="space-y-6">
|
||||
|
||||
{{ $this->form }}
|
||||
|
||||
<div class="text-right">
|
||||
<x-filament::button type="submit" form="submit" class="align-right">
|
||||
{{ __('filament-breezy::default.profile.personal_info.submit.label') }}
|
||||
</x-filament::button>
|
||||
</div>
|
||||
</form>
|
||||
</x-filament::card>
|
||||
</x-filament-breezy::grid-section>
|
||||
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>
|
||||
91
resources/views/vendor/filament-breezy/livewire/two-factor-authentication.blade.php
vendored
Normal file
91
resources/views/vendor/filament-breezy/livewire/two-factor-authentication.blade.php
vendored
Normal file
@@ -0,0 +1,91 @@
|
||||
<x-filament-breezy::grid-section md=2 :title="__('filament-breezy::default.profile.2fa.title')" :description="__('filament-breezy::default.profile.2fa.description')">
|
||||
|
||||
<x-filament::card>
|
||||
|
||||
@if($this->showRequiresTwoFactorAlert())
|
||||
|
||||
<div style="{{ \Illuminate\Support\Arr::toCssStyles([\Filament\Support\get_color_css_variables('danger',shades: [300, 400, 500, 600])]) }}" class="p-4 rounded bg-custom-500">
|
||||
<div class="flex">
|
||||
<div class="flex-shrink-0">
|
||||
@svg('heroicon-s-shield-exclamation', 'w-5 h-5 text-danger-600')
|
||||
</div>
|
||||
<div class="ml-3">
|
||||
<p class="text-sm text-danger-500">
|
||||
{{ __('filament-breezy::default.profile.2fa.must_enable') }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@unless ($user->hasEnabledTwoFactor())
|
||||
<h3 class="flex items-center gap-2 text-lg font-medium">
|
||||
@svg('heroicon-o-exclamation-circle', 'w-6')
|
||||
{{__('filament-breezy::default.profile.2fa.not_enabled.title') }}
|
||||
</h3>
|
||||
<p class="text-sm">{{ __('filament-breezy::default.profile.2fa.not_enabled.description') }}</p>
|
||||
|
||||
<div class="flex justify-between mt-3">
|
||||
{{ $this->enableAction }}
|
||||
</div>
|
||||
|
||||
@else
|
||||
@if ($user->hasConfirmedTwoFactor())
|
||||
<h3 class="flex items-center gap-2 text-lg font-medium">
|
||||
@svg('heroicon-o-shield-check', 'w-6')
|
||||
{{ __('filament-breezy::default.profile.2fa.enabled.title') }}
|
||||
</h3>
|
||||
<p class="text-sm">{{ __('filament-breezy::default.profile.2fa.enabled.description') }}</p>
|
||||
@if($showRecoveryCodes)
|
||||
<div class="px-4 space-y-3">
|
||||
<p class="text-xs">{{ __('filament-breezy::default.profile.2fa.enabled.store_codes') }}</p>
|
||||
<div>
|
||||
@foreach ($this->recoveryCodes->toArray() as $code )
|
||||
<span class="inline-flex items-center p-1 text-xs font-medium text-gray-800 dark:text-gray-400 bg-gray-100 rounded-full dark:bg-gray-900">{{ $code }}</span>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="inline-block text-xs">
|
||||
<x-filament-breezy::clipboard-link :data="$this->recoveryCodes->join(',')" />
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="flex justify-between mt-3">
|
||||
{{ $this->regenerateCodesAction }}
|
||||
{{ $this->disableAction()->color('danger') }}
|
||||
</div>
|
||||
@else
|
||||
<h3 class="flex items-center gap-2 text-lg font-medium">
|
||||
@svg('heroicon-o-question-mark-circle', 'w-6')
|
||||
{{ __('filament-breezy::default.profile.2fa.finish_enabling.title') }}
|
||||
</h3>
|
||||
<p class="text-sm">{{ __('filament-breezy::default.profile.2fa.finish_enabling.description') }}</p>
|
||||
<div class="flex mt-3 space-x-4 divide-x">
|
||||
<div>
|
||||
{!! $this->getTwoFactorQrCode() !!}
|
||||
<p class="pt-2 text-sm">{{ __('filament-breezy::default.profile.2fa.setup_key') }} {{
|
||||
decrypt($this->user->two_factor_secret) }}</p>
|
||||
</div>
|
||||
<div class="px-4 space-y-3">
|
||||
<p class="text-xs">{{ __('filament-breezy::default.profile.2fa.enabled.store_codes') }}</p>
|
||||
<div>
|
||||
@foreach ($this->recoveryCodes->toArray() as $code )
|
||||
<span class="inline-flex items-center p-1 text-xs font-medium text-gray-800 dark:text-gray-400 bg-gray-100 rounded-full dark:bg-gray-900">{{ $code }}</span>
|
||||
@endforeach
|
||||
</div>
|
||||
<div class="inline-block text-xs">
|
||||
<x-filament-breezy::clipboard-link :data="$this->recoveryCodes->join(',')" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex justify-between mt-3">
|
||||
{{ $this->confirmAction }}
|
||||
{{ $this->disableAction }}
|
||||
</div>
|
||||
|
||||
@endif
|
||||
|
||||
@endunless
|
||||
</x-filament::card>
|
||||
<x-filament-actions::modals />
|
||||
</x-filament-breezy::grid-section>
|
||||
14
resources/views/vendor/filament-breezy/livewire/update-password.blade.php
vendored
Normal file
14
resources/views/vendor/filament-breezy/livewire/update-password.blade.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<x-filament-breezy::grid-section md=2 :title="__('filament-breezy::default.profile.password.heading')" :description="__('filament-breezy::default.profile.password.subheading')">
|
||||
<x-filament::card>
|
||||
<form wire:submit.prevent="submit" class="space-y-6">
|
||||
|
||||
{{ $this->form }}
|
||||
|
||||
<div class="text-right">
|
||||
<x-filament::button type="submit" form="submit" class="align-right">
|
||||
{{ __('filament-breezy::default.profile.password.submit.label') }}
|
||||
</x-filament::button>
|
||||
</div>
|
||||
</form>
|
||||
</x-filament::card>
|
||||
</x-filament-breezy::grid-section>
|
||||
133
resources/views/welcome.blade.php
Normal file
133
resources/views/welcome.blade.php
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user