You've already forked Atomcms-edit
c53a5a8a2c
- Converted all views from Dusk components (x-content.content-card, x-form.*) to inline Hubbly style - All pages use consistent card pattern: rounded-lg, gradient headers, color-mix borders - Added Hubbly-style homepage with 2-column layout, login card, swiper news carousel - Rewrote navigation with Alpine.js dropdowns, CSS variable colors, Hubbly assets - Updated profile page with Hubbly cards, fixed data bugs (friend/guild relationships) - Rewrote register page to match Hubbly layout: banner header, avatar preview with Frank GIF, 2-column form, avatar carousel selector, border-4 inputs - Rewrote login, settings, help center, radio, applications, utility pages - All colors use CSS variables controlled by Filament theme editor - Added Hubbly assets: banner, Frank GIF, navigation icons, online badge - Removed all dependencies on x-content.* and x-form.* components
50 lines
2.2 KiB
PHP
Executable File
50 lines
2.2 KiB
PHP
Executable File
<x-app-layout>
|
|
@push('title', __('Two factor'))
|
|
|
|
<div class="col-span-12 flex flex-col gap-y-3 md:col-span-3">
|
|
<x-user.settings.settings-navigation />
|
|
</div>
|
|
|
|
<div class="col-span-12 flex flex-col gap-y-3 md:col-span-9">
|
|
<div class="rounded-lg overflow-hidden" style="background-color: var(--color-surface); border: 1px solid color-mix(in srgb, var(--color-text-muted) 15%, transparent);">
|
|
<div class="relative w-full h-12" style="background: linear-gradient(140deg, var(--color-primary) 0%, color-mix(in srgb, var(--color-primary) 80%, black) 100%);">
|
|
<div class="flex items-center h-full px-4 gap-3">
|
|
<h2 class="text-white font-bold text-lg">{{ __('Confirm your password') }}</h2>
|
|
</div>
|
|
</div>
|
|
<div class="p-4">
|
|
<p class="text-sm mb-3" style="color: var(--color-text-muted);">{{ __('You must confirm your password to continue') }}</p>
|
|
|
|
<form method="POST" action="/user/confirm-password">
|
|
@csrf
|
|
|
|
<div class="flex flex-col gap-y-2 mb-3">
|
|
<label class="block text-sm font-medium" style="color: var(--color-text);">
|
|
{{ __('Password') }}
|
|
<span class="block text-xs font-normal" style="color: var(--color-text-muted);">{{ __('You must confirm your current password before being able to toggle 2FA.') }}</span>
|
|
</label>
|
|
<input name="password" type="password" placeholder="{{ __('Enter your current password') }}"
|
|
class="w-full rounded-lg px-3 py-2 text-sm border-2 focus:ring-0"
|
|
style="background-color: var(--color-background); color: var(--color-text); border-color: color-mix(in srgb, var(--color-text-muted) 15%, transparent);" />
|
|
</div>
|
|
|
|
@if (setting('google_recaptcha_enabled'))
|
|
<div class="mt-4 g-recaptcha" data-sitekey="{{ config('habbo.site.recaptcha_site_key') }}"></div>
|
|
@endif
|
|
|
|
@if (setting('cloudflare_turnstile_enabled'))
|
|
<x-turnstile />
|
|
@endif
|
|
|
|
<div class="mt-4">
|
|
<button type="submit" class="rounded-lg px-4 py-2 text-sm font-semibold transition-all duration-200 hover:opacity-90"
|
|
style="background-color: var(--color-primary); color: var(--button-text-color);">
|
|
{{ __('Confirm password') }}
|
|
</button>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</x-app-layout>
|