You've already forked Atomcms-edit
Initial commit
This commit is contained in:
Executable
+70
@@ -0,0 +1,70 @@
|
||||
<x-installation-layout>
|
||||
<x-content.installation-content-section icon="hotel-icon" classes="border">
|
||||
<x-slot:title>
|
||||
{{ __('Welcome to Atom CMS') }}
|
||||
</x-slot:title>
|
||||
|
||||
<x-slot:under-title>
|
||||
{{ __('We are delighted of having you trying Atom CMS') }}
|
||||
</x-slot:under-title>
|
||||
|
||||
<div class="space-y-3">
|
||||
<p>
|
||||
{{ __('Hello there! We are truly grateful that you have chosen Atom CMS for your hotel.') }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ __('Atom CMS is built with the community in mind, meaning we highly value community input, rather than only bringing our own ideas & vision to the CMS we try our very best to implement suggestions made by our beloved community. We want everyone to be able to contribute or customise Atom CMS to their needs without having a bachelor in programming.') }}
|
||||
</p>
|
||||
|
||||
<p>{{ __('Atom CMS sole purpose is to empower hotel owners like you. We want you to be able to run your hotel with ease. Our user-friendly interface, robust features, and helpful community are here to ensure that your experience with Atom CMS is nothing short of exceptional!') }}</p>
|
||||
|
||||
<p>
|
||||
{{ __('As you dive into Atom CMS, we encourage you to explore the extensive range of features we have curated to help you bring your vision to life. From customizable templates to seamless integrations with clients like Nitro, we will have you set up in no time.') }}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{!! __('To get started, we recommend checking out our <a href=":documentation_link" target="_blank" class="font-semibold underline">comprehensive documentation</a>, which will guide you through the initial setup and help you make the most of your Atom CMS experience.', ['documentation_link' => 'https://github.com/atom-retros/atomcms/wiki']) !!}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{!! __('And remember, please <a href=":discord_link" target="_blank" class="font-semibold underline">join our Discord</a>. If you have any questions or need assistance, please do not hesitate to reach out. We are here to help you every step of the way.', ['discord_link' => 'https://discord.gg/pP6HyZedAj']) !!}
|
||||
</p>
|
||||
|
||||
<p>
|
||||
{{ __('Once again, thank you for choosing Atom CMS, and we cannot wait to see the incredible project you will create.') }}
|
||||
</p>
|
||||
|
||||
<p class="font-semibold italic">
|
||||
{{ __('With everything being said we just want to wish you a warm welcome to the Atom CMS family!') }}
|
||||
</p>
|
||||
<hr>
|
||||
|
||||
<div>
|
||||
{{ __('To avoid any third-party party abuse, please provide the installation code, which can be found in your database inside the "website_installation" table under the column "installation_key".') }}
|
||||
</div>
|
||||
|
||||
<form action="{{ route('installation.start-installation') }}" method="POST">
|
||||
@csrf
|
||||
|
||||
<label class="block font-semibold text-gray-700" for="installation_key">
|
||||
{{ __('Installation key') }}
|
||||
</label>
|
||||
|
||||
<input
|
||||
class="focus:ring-0 border-4 border-gray-200 rounded focus:border-[#eeb425] w-full @error('installation_key')border-red-600 ring-red-500 @enderror"
|
||||
id="installation_key" type="text" name="installation_key" placeholder="{{ __('Enter your installation key') }}" autofocus required autocomplete="false">
|
||||
|
||||
@error('installation_key')
|
||||
<p class="mt-1 text-xs italic text-red-500">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
|
||||
<x-form.secondary-button classes="mt-3">
|
||||
{{ __('Start the setup') }}
|
||||
</x-form.secondary-button>
|
||||
</form>
|
||||
</div>
|
||||
</x-content.installation-content-section>
|
||||
</x-installation-layout>
|
||||
+49
@@ -0,0 +1,49 @@
|
||||
<x-installation-layout>
|
||||
<x-content.installation-content-section icon="hotel-icon" classes="border">
|
||||
<x-slot:title>
|
||||
{{ __('Welcome to Atom CMS') }}
|
||||
</x-slot:title>
|
||||
|
||||
<x-slot:under-title>
|
||||
{{ __('We are delighted of having you trying Atom CMS') }}
|
||||
</x-slot:under-title>
|
||||
|
||||
<form action="{{ route('installation.save-step') }}" method="POST" class="space-y-3">
|
||||
@csrf
|
||||
|
||||
@foreach($settings as $setting)
|
||||
<div>
|
||||
<label class="block font-semibold text-gray-700" for="{{ $setting->key }}">
|
||||
{{ Str::replace('_', ' ', Str::ucfirst($setting->key)) }}
|
||||
</label>
|
||||
|
||||
<input
|
||||
class="focus:ring-0 border-4 border-gray-200 rounded focus:border-[#eeb425] w-full @error($setting->key)border-red-600 ring-red-500 @enderror"
|
||||
id="{{ $setting->key }}" type="text" name="{{ $setting->key }}" value="{{ $setting->value }}" placeholder="{{ $setting->key }}" required>
|
||||
|
||||
@error($setting->key)
|
||||
<p class="mt-1 text-xs italic text-red-500">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
|
||||
<small>{{ $setting->comment }}</small>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<x-form.secondary-button>
|
||||
{{ __('Continue to step 2') }}
|
||||
</x-form.secondary-button>
|
||||
</form>
|
||||
|
||||
<div class="flex gap-x-4">
|
||||
<form action="{{ route('installation.restart') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.danger-button>
|
||||
{{ __('Restart installation') }}
|
||||
</x-form.danger-button>
|
||||
</form>
|
||||
</div>
|
||||
</x-content.installation-content-section>
|
||||
</x-installation-layout>
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
<x-installation-layout>
|
||||
<x-content.installation-content-section icon="hotel-icon" classes="border">
|
||||
<x-slot:title>
|
||||
{{ __('Welcome to Atom CMS') }}
|
||||
</x-slot:title>
|
||||
|
||||
<x-slot:under-title>
|
||||
{{ __('We are delighted of having you trying Atom CMS') }}
|
||||
</x-slot:under-title>
|
||||
|
||||
<form action="{{ route('installation.save-step') }}" method="POST" class="space-y-3">
|
||||
@csrf
|
||||
|
||||
@foreach($settings as $setting)
|
||||
<div>
|
||||
<label class="block font-semibold text-gray-700" for="{{ $setting->key }}">
|
||||
{{ Str::replace('_', ' ', Str::ucfirst($setting->key)) }}
|
||||
</label>
|
||||
|
||||
<input
|
||||
class="focus:ring-0 border-4 border-gray-200 rounded focus:border-[#eeb425] w-full @error($setting->key)border-red-600 ring-red-500 @enderror"
|
||||
id="{{ $setting->key }}" type="text" name="{{ $setting->key }}" value="{{ $setting->value }}" placeholder="{{ $setting->key }}" required>
|
||||
|
||||
@error($setting->key)
|
||||
<p class="mt-1 text-xs italic text-red-500">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
|
||||
<small>{{ $setting->comment }}</small>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<x-form.secondary-button>
|
||||
{{ __('Continue to step 3') }}
|
||||
</x-form.secondary-button>
|
||||
</form>
|
||||
|
||||
<div class="flex gap-x-4">
|
||||
<form action="{{ route('installation.previous-step') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.primary-button>
|
||||
{{ __('Previous step') }}
|
||||
</x-form.primary-button>
|
||||
</form>
|
||||
|
||||
<form action="{{ route('installation.restart') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.danger-button>
|
||||
{{ __('Restart installation') }}
|
||||
</x-form.danger-button>
|
||||
</form>
|
||||
</div>
|
||||
</x-content.installation-content-section>
|
||||
</x-installation-layout>
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
<x-installation-layout>
|
||||
<x-content.installation-content-section icon="hotel-icon" classes="border">
|
||||
<x-slot:title>
|
||||
{{ __('Welcome to Atom CMS') }}
|
||||
</x-slot:title>
|
||||
|
||||
<x-slot:under-title>
|
||||
{{ __('We are delighted of having you trying Atom CMS') }}
|
||||
</x-slot:under-title>
|
||||
|
||||
<form action="{{ route('installation.save-step') }}" method="POST" class="space-y-3">
|
||||
@csrf
|
||||
|
||||
@foreach($settings as $setting)
|
||||
<div>
|
||||
<label class="block font-semibold text-gray-700" for="{{ $setting->key }}">
|
||||
{{ Str::replace('_', ' ', Str::ucfirst($setting->key)) }}
|
||||
</label>
|
||||
|
||||
<input
|
||||
class="focus:ring-0 border-4 border-gray-200 rounded focus:border-[#eeb425] w-full @error($setting->key)border-red-600 ring-red-500 @enderror"
|
||||
id="{{ $setting->key }}" type="text" name="{{ $setting->key }}" value="{{ $setting->value }}" placeholder="{{ $setting->key }}" required>
|
||||
|
||||
@error($setting->key)
|
||||
<p class="mt-1 text-xs italic text-red-500">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
|
||||
<small>{{ $setting->comment }}</small>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<x-form.secondary-button>
|
||||
{{ __('Continue to step 4') }}
|
||||
</x-form.secondary-button>
|
||||
</form>
|
||||
|
||||
<div class="flex gap-x-4">
|
||||
<form action="{{ route('installation.previous-step') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.primary-button>
|
||||
{{ __('Previous step') }}
|
||||
</x-form.primary-button>
|
||||
</form>
|
||||
|
||||
<form action="{{ route('installation.restart') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.danger-button>
|
||||
{{ __('Restart installation') }}
|
||||
</x-form.danger-button>
|
||||
</form>
|
||||
</div>
|
||||
</x-content.installation-content-section>
|
||||
</x-installation-layout>
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
<x-installation-layout>
|
||||
<x-content.installation-content-section icon="hotel-icon" classes="border">
|
||||
<x-slot:title>
|
||||
{{ __('Welcome to Atom CMS') }}
|
||||
</x-slot:title>
|
||||
|
||||
<x-slot:under-title>
|
||||
{{ __('We are delighted of having you trying Atom CMS') }}
|
||||
</x-slot:under-title>
|
||||
|
||||
<form action="{{ route('installation.save-step') }}" method="POST" class="space-y-3">
|
||||
@csrf
|
||||
|
||||
@foreach($settings as $setting)
|
||||
<div>
|
||||
<label class="block font-semibold text-gray-700" for="{{ $setting->key }}">
|
||||
{{ Str::replace('_', ' ', Str::ucfirst($setting->key)) }}
|
||||
</label>
|
||||
|
||||
<input
|
||||
class="focus:ring-0 border-4 border-gray-200 rounded focus:border-[#eeb425] w-full @error($setting->key)border-red-600 ring-red-500 @enderror"
|
||||
id="{{ $setting->key }}" type="text" name="{{ $setting->key }}" value="{{ $setting->value }}" placeholder="{{ $setting->key }}">
|
||||
|
||||
@error($setting->key)
|
||||
<p class="mt-1 text-xs italic text-red-500">
|
||||
{{ $message }}
|
||||
</p>
|
||||
@enderror
|
||||
|
||||
<small>{{ $setting->comment }}</small>
|
||||
</div>
|
||||
@endforeach
|
||||
|
||||
<x-form.secondary-button>
|
||||
{{ __('Complete setup') }}
|
||||
</x-form.secondary-button>
|
||||
</form>
|
||||
|
||||
<div class="flex gap-x-4">
|
||||
<form action="{{ route('installation.previous-step') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.primary-button>
|
||||
{{ __('Previous step') }}
|
||||
</x-form.primary-button>
|
||||
</form>
|
||||
|
||||
<form action="{{ route('installation.restart') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.danger-button>
|
||||
{{ __('Restart installation') }}
|
||||
</x-form.danger-button>
|
||||
</form>
|
||||
</div>
|
||||
</x-content.installation-content-section>
|
||||
</x-installation-layout>
|
||||
+86
@@ -0,0 +1,86 @@
|
||||
<x-installation-layout>
|
||||
<x-content.installation-content-section icon="hotel-icon" classes="border">
|
||||
<x-slot:title>
|
||||
{{ __('Choose Your Style') }}
|
||||
</x-slot:title>
|
||||
|
||||
<x-slot:under-title>
|
||||
{{ __('Pick a preset style for your hotel') }}
|
||||
</x-slot:under-title>
|
||||
|
||||
<form action="{{ route('installation.complete') }}" method="POST" class="space-y-6">
|
||||
@csrf
|
||||
|
||||
<div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-4">
|
||||
@php
|
||||
$presets = [
|
||||
['id' => 'default', 'name' => 'Default', 'color' => '#eeb425', 'desc' => 'Classic gold theme'],
|
||||
['id' => 'atom_original', 'name' => 'Atom Original', 'color' => '#eeb425', 'desc' => 'Light fresh look'],
|
||||
['id' => 'modern', 'name' => 'Modern', 'color' => '#6366f1', 'desc' => 'Sleek purple'],
|
||||
['id' => 'retro', 'name' => 'Retro', 'color' => '#f43f5e', 'desc' => 'Retro gaming vibes'],
|
||||
['id' => 'nature', 'name' => 'Nature', 'color' => '#22c55e', 'desc' => 'Fresh green theme'],
|
||||
['id' => 'ocean', 'name' => 'Ocean', 'color' => '#0ea5e9', 'desc' => 'Deep blue waters'],
|
||||
['id' => 'sunset', 'name' => 'Sunset', 'color' => '#f97316', 'desc' => 'Warm orange glow'],
|
||||
['id' => 'royal', 'name' => 'Royal', 'color' => '#8b5cf6', 'desc' => 'Elegant purple'],
|
||||
['id' => 'minimal', 'name' => 'Minimal', 'color' => '#000000', 'desc' => 'Clean black & white'],
|
||||
['id' => 'cyberpunk', 'name' => 'Cyberpunk', 'color' => '#ff00ff', 'desc' => 'Neon sci-fi'],
|
||||
['id' => 'christmas', 'name' => 'Christmas', 'color' => '#dc2626', 'desc' => 'Festive red/green'],
|
||||
['id' => 'halloween', 'name' => 'Halloween', 'color' => '#f97316', 'desc' => 'Spooky orange/purple'],
|
||||
['id' => 'valentine', 'name' => 'Valentine', 'color' => '#ec4899', 'desc' => 'Romantic pink'],
|
||||
['id' => 'matrix', 'name' => 'Matrix', 'color' => '#00ff00', 'desc' => 'Digital green'],
|
||||
['id' => 'discord', 'name' => 'Discord', 'color' => '#5865f2', 'desc' => 'Discord-inspired'],
|
||||
['id' => 'neon', 'name' => 'Neon', 'color' => '#ff00ff', 'desc' => 'Glowing neon'],
|
||||
['id' => 'coffee', 'name' => 'Coffee', 'color' => '#8b5a2b', 'desc' => 'Warm brown tones'],
|
||||
['id' => 'strawberry', 'name' => 'Strawberry', 'color' => '#ff6b6b', 'desc' => 'Sweet pink'],
|
||||
['id' => 'lavender', 'name' => 'Lavender', 'color' => '#a855f7', 'desc' => 'Calm purple'],
|
||||
['id' => 'midnight', 'name' => 'Midnight', 'color' => '#60a5fa', 'desc' => 'Deep dark blue'],
|
||||
['id' => 'golden', 'name' => 'Golden', 'color' => '#fbbf24', 'desc' => 'Luxury gold'],
|
||||
['id' => 'arctic', 'name' => 'Arctic', 'color' => '#06b6d4', 'desc' => 'Icy cyan'],
|
||||
['id' => 'magma', 'name' => 'Magma', 'color' => '#ef4444', 'desc' => 'Hot red/lava'],
|
||||
['id' => 'forest', 'name' => 'Forest', 'color' => '#16a34a', 'desc' => 'Deep green woods'],
|
||||
];
|
||||
|
||||
$selectedPreset = setting('preset', 'default');
|
||||
@endphp
|
||||
|
||||
@foreach($presets as $preset)
|
||||
<label class="cursor-pointer group">
|
||||
<input type="radio" name="selected_preset" value="{{ $preset['id'] }}" class="peer sr-only" {{ $selectedPreset === $preset['id'] ? 'checked' : '' }}>
|
||||
<div class="p-4 rounded-xl border-2 border-gray-200 peer-checked:border-[{{ $preset['color'] }}] peer-checked:shadow-lg transition-all duration-200 hover:border-gray-300 hover:shadow-md">
|
||||
<div class="flex items-center gap-3 mb-2">
|
||||
<div class="w-8 h-8 rounded-lg" style="background-color: {{ $preset['color'] }}"></div>
|
||||
<span class="font-semibold text-gray-800">{{ $preset['name'] }}</span>
|
||||
</div>
|
||||
<p class="text-xs text-gray-500">{{ $preset['desc'] }}</p>
|
||||
</div>
|
||||
</label>
|
||||
@endforeach
|
||||
</div>
|
||||
|
||||
<input type="hidden" name="theme" value="{{ setting('theme', 'atom') }}">
|
||||
<input type="hidden" name="preset" value="custom">
|
||||
|
||||
<x-form.secondary-button>
|
||||
{{ __('Save Style & Continue') }}
|
||||
</x-form.secondary-button>
|
||||
</form>
|
||||
|
||||
<div class="flex gap-x-4">
|
||||
<form action="{{ route('installation.previous-step') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.primary-button>
|
||||
{{ __('Previous step') }}
|
||||
</x-form.primary-button>
|
||||
</form>
|
||||
|
||||
<form action="{{ route('installation.restart') }}" method="POST" class="w-full mt-3">
|
||||
@csrf
|
||||
|
||||
<x-form.danger-button>
|
||||
{{ __('Restart installation') }}
|
||||
</x-form.danger-button>
|
||||
</form>
|
||||
</div>
|
||||
</x-content.installation-content-section>
|
||||
</x-installation-layout>
|
||||
Reference in New Issue
Block a user