- Installed p7h/nas-file-manager package via private VCS repo - Published config/nas-file-manager.php with super_admin middleware restriction - Added NAS env vars to .env.example - Created admin/nas-storage page with connection info panel and file browser widget - Added NAS Storage link to admin sidebar (super_admin only) - Added SuperAdminController@nasStorage method and admin.nas-storage route - Includes all accumulated branch changes: profile wall, 2FA, audit logs, settings panel, country/phone/timezone components, posts, slideshow, playlist shares, video downloads/shares, comment likes, notifications, social links, and more Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
65 lines
2.4 KiB
PHP
65 lines
2.4 KiB
PHP
@extends('layouts.auth')
|
|
|
|
@section('title', 'Create Account | ' . config('app.name'))
|
|
|
|
@section('content')
|
|
<div class="auth-card">
|
|
<h1 class="auth-title">Create account</h1>
|
|
<p class="auth-subtitle">Join {{ config('app.name') }} today</p>
|
|
|
|
@if($errors->any())
|
|
<div class="auth-error">
|
|
<i class="bi bi-exclamation-circle-fill"></i>
|
|
<span>{{ $errors->first() }}</span>
|
|
</div>
|
|
@endif
|
|
|
|
<form method="POST" action="{{ route('register.store') }}">
|
|
@csrf
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">Name</label>
|
|
<input type="text" name="name" class="form-input" value="{{ old('name') }}" placeholder="Your name" required autofocus>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">Email</label>
|
|
<input type="email" name="email" class="form-input" value="{{ old('email') }}" placeholder="[email protected]" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">Password</label>
|
|
<input type="password" name="password" class="form-input" placeholder="At least 8 characters" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<label class="form-label">Confirm Password</label>
|
|
<input type="password" name="password_confirmation" class="form-input" placeholder="••••••••" required>
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<x-date-picker name="birthday" label="Date of Birth" :value="old('birthday')" required />
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<x-gender-select name="gender" label="Gender" :value="old('gender')" required />
|
|
</div>
|
|
|
|
<div class="form-group">
|
|
<x-country-select name="nationality" label="Nationality" :value="old('nationality')" placeholder="Select nationality" required />
|
|
</div>
|
|
|
|
{{-- Honeypot: hidden from real users, bots fill it in --}}
|
|
<div style="position:absolute;left:-9999px;top:-9999px;height:0;overflow:hidden;" aria-hidden="true">
|
|
<input type="text" name="_hp" value="" autocomplete="off" tabindex="-1">
|
|
</div>
|
|
|
|
<button type="submit" class="btn-primary">Create Account</button>
|
|
</form>
|
|
</div>
|
|
@endsection
|
|
|
|
@section('footer_link')
|
|
Already have an account? <a href="{{ route('login') }}">Sign in</a>
|
|
@endsection
|