main: changed wording on blades

This commit is contained in:
Gary 2024-07-25 13:07:01 -07:00
parent 71a7246940
commit 0efc847be8
7 changed files with 69 additions and 87 deletions

View File

@ -2,7 +2,7 @@
<div class="flex items-center justify-center h-screen"> <div class="flex items-center justify-center h-screen">
<div> <div>
<div class="flex flex-col items-center pb-8"> <div class="flex flex-col items-center pb-8">
<div class="text-5xl font-bold tracking-tight text-center dark:text-white">Coolify</div> <div class="text-5xl font-bold tracking-tight text-center dark:text-white">Last Hour</div>
{{-- <x-version /> --}} {{-- <x-version /> --}}
</div> </div>
<div class="w-96"> <div class="w-96">
@ -12,16 +12,16 @@
<x-forms.button type="submit">{{ __('auth.confirm_password') }}</x-forms.button> <x-forms.button type="submit">{{ __('auth.confirm_password') }}</x-forms.button>
</form> </form>
@if ($errors->any()) @if ($errors->any())
<div class="text-xs text-center text-error"> <div class="text-xs text-center text-error">
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<p>{{ $error }}</p> <p>{{ $error }}</p>
@endforeach @endforeach
</div> </div>
@endif @endif
@if (session('status')) @if (session('status'))
<div class="mb-4 font-medium text-green-600"> <div class="mb-4 font-medium text-green-600">
{{ session('status') }} {{ session('status') }}
</div> </div>
@endif @endif
</div> </div>
</div> </div>

View File

@ -2,12 +2,12 @@
<section class="bg-gray-50 dark:bg-base"> <section class="bg-gray-50 dark:bg-base">
<div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0"> <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
<a class="flex items-center mb-1 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white"> <a class="flex items-center mb-1 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
Coolify Last Hour
</a> <div class="flex items-center gap-2"> </a>
<div class="flex items-center gap-2">
{{ __('auth.forgot_password') }} {{ __('auth.forgot_password') }}
</div> </div>
<div <div class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
<div class="p-6 space-y-4 md:space-y-6 sm:p-8"> <div class="p-6 space-y-4 md:space-y-6 sm:p-8">
@if (is_transactional_emails_active()) @if (is_transactional_emails_active())
<form action="/forgot-password" method="POST" class="flex flex-col gap-2"> <form action="/forgot-password" method="POST" class="flex flex-col gap-2">
@ -15,25 +15,24 @@ class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus /> <x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button> <x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
</form> </form>
@else @else
<div>Transactional emails are not active on this instance.</div> <div>Transactional emails are not active on this instance.</div>
<div>See how to set it in our <a class="dark:text-white" target="_blank" <div>See how to set it in our <a class="dark:text-white" target="_blank" href="{{ config('constants.docs.base_url') }}">docs</a>, or how to
href="{{ config('constants.docs.base_url') }}">docs</a>, or how to
manually reset password. manually reset password.
</div> </div>
@endif @endif
@if ($errors->any()) @if ($errors->any())
<div class="text-xs text-center text-error"> <div class="text-xs text-center text-error">
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<p>{{ $error }}</p> <p>{{ $error }}</p>
@endforeach @endforeach
</div> </div>
@endif @endif
@if (session('status')) @if (session('status'))
<div class="mb-4 text-xs font-medium text-green-600"> <div class="mb-4 text-xs font-medium text-green-600">
{{ session('status') }} {{ session('status') }}
</div> </div>
@endif @endif
</div> </div>
</div> </div>
</div> </div>

View File

@ -12,7 +12,7 @@ function getOldOrLocal($key, $localValue)
<section class="bg-gray-50 dark:bg-base"> <section class="bg-gray-50 dark:bg-base">
<div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0"> <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
<a class="flex items-center mb-6 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white"> <a class="flex items-center mb-6 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
Coolify Last Hour
</a> </a>
<div class="w-full bg-white rounded-lg shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base"> <div class="w-full bg-white rounded-lg shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base">
<div class="p-6 space-y-4 md:space-y-6 sm:p-8"> <div class="p-6 space-y-4 md:space-y-6 sm:p-8">
@ -21,15 +21,11 @@ function getOldOrLocal($key, $localValue)
</h1> </h1>
<form action="/register" method="POST" class="flex flex-col gap-2"> <form action="/register" method="POST" class="flex flex-col gap-2">
@csrf @csrf
<x-forms.input id="name" required type="text" name="name" value="{{ $name }}" <x-forms.input id="name" required type="text" name="name" value="{{ $name }}" label="{{ __('input.name') }}" />
label="{{ __('input.name') }}" /> <x-forms.input id="email" required type="email" name="email" value="{{ $email }}" label="{{ __('input.email') }}" />
<x-forms.input id="email" required type="email" name="email" value="{{ $email }}"
label="{{ __('input.email') }}" />
<div class="flex gap-2"> <div class="flex gap-2">
<x-forms.input id="password" required type="password" name="password" <x-forms.input id="password" required type="password" name="password" label="{{ __('input.password') }}" />
label="{{ __('input.password') }}" /> <x-forms.input id="password_confirmation" required type="password" name="password_confirmation" label="{{ __('input.password.again') }}" />
<x-forms.input id="password_confirmation" required type="password"
name="password_confirmation" label="{{ __('input.password.again') }}" />
</div> </div>
<x-forms.button class="mb-4" type="submit">Register</x-forms.button> <x-forms.button class="mb-4" type="submit">Register</x-forms.button>
<a href="/login" class="button bg-coollabs-gradient"> <a href="/login" class="button bg-coollabs-gradient">
@ -37,11 +33,11 @@ function getOldOrLocal($key, $localValue)
</a> </a>
</form> </form>
@if ($errors->any()) @if ($errors->any())
<div class="text-xs text-center text-error"> <div class="text-xs text-center text-error">
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<p>{{ $error }}</p> <p>{{ $error }}</p>
@endforeach @endforeach
</div> </div>
@endif @endif
</div> </div>

View File

@ -2,7 +2,7 @@
<section class="bg-gray-50 dark:bg-base"> <section class="bg-gray-50 dark:bg-base">
<div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0"> <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
<a class="flex items-center text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white"> <a class="flex items-center text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
Coolify Last Hour
</a> </a>
<div class="flex items-center justify-center pb-6 text-center"> <div class="flex items-center justify-center pb-6 text-center">
{{ __('auth.reset_password') }} {{ __('auth.reset_password') }}
@ -12,27 +12,24 @@
<form action="/reset-password" method="POST" class="flex flex-col gap-2"> <form action="/reset-password" method="POST" class="flex flex-col gap-2">
@csrf @csrf
<input hidden id="token" name="token" value="{{ request()->route('token') }}"> <input hidden id="token" name="token" value="{{ request()->route('token') }}">
<input hidden value="{{ request()->query('email') }}" type="email" name="email" <input hidden value="{{ request()->query('email') }}" type="email" name="email" label="{{ __('input.email') }}" />
label="{{ __('input.email') }}" />
<div class="flex flex-col gap-2"> <div class="flex flex-col gap-2">
<x-forms.input required type="password" id="password" name="password" <x-forms.input required type="password" id="password" name="password" label="{{ __('input.password') }}" autofocus />
label="{{ __('input.password') }}" autofocus /> <x-forms.input required type="password" id="password_confirmation" name="password_confirmation" label="{{ __('input.password.again') }}" />
<x-forms.input required type="password" id="password_confirmation"
name="password_confirmation" label="{{ __('input.password.again') }}" />
</div> </div>
<x-forms.button type="submit">{{ __('auth.reset_password') }}</x-forms.button> <x-forms.button type="submit">{{ __('auth.reset_password') }}</x-forms.button>
</form> </form>
@if ($errors->any()) @if ($errors->any())
<div class="text-xs text-center text-error"> <div class="text-xs text-center text-error">
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<p>{{ $error }}</p> <p>{{ $error }}</p>
@endforeach @endforeach
</div> </div>
@endif @endif
@if (session('status')) @if (session('status'))
<div class="mb-4 font-medium text-green-600"> <div class="mb-4 font-medium text-green-600">
{{ session('status') }} {{ session('status') }}
</div> </div>
@endif @endif
</div> </div>
</div> </div>

View File

@ -2,7 +2,7 @@
<section class="bg-gray-50 dark:bg-base" x-data="{ showRecovery: false }"> <section class="bg-gray-50 dark:bg-base" x-data="{ showRecovery: false }">
<div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0"> <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
<a class="flex items-center mb-6 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white"> <a class="flex items-center mb-6 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
Coolify Last Hour
</a> </a>
<div class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base "> <div class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
<div class="p-6 space-y-4 md:space-y-6 sm:p-8"> <div class="p-6 space-y-4 md:space-y-6 sm:p-8">
@ -10,9 +10,7 @@
@csrf @csrf
<div> <div>
<x-forms.input type="number" name="code" autocomplete="one-time-code" label="{{ __('input.code') }}" autofocus /> <x-forms.input type="number" name="code" autocomplete="one-time-code" label="{{ __('input.code') }}" autofocus />
<div x-show="!showRecovery" <div x-show="!showRecovery" class="pt-2 text-xs cursor-pointer hover:underline hover:dark:text-white" x-on:click="showRecovery = !showRecovery">Enter
class="pt-2 text-xs cursor-pointer hover:underline hover:dark:text-white"
x-on:click="showRecovery = !showRecovery">Enter
Recovery Code Recovery Code
</div> </div>
</div> </div>
@ -22,16 +20,16 @@ class="pt-2 text-xs cursor-pointer hover:underline hover:dark:text-white"
<x-forms.button type="submit">{{ __('auth.login') }}</x-forms.button> <x-forms.button type="submit">{{ __('auth.login') }}</x-forms.button>
</form> </form>
@if ($errors->any()) @if ($errors->any())
<div class="text-xs text-center text-error"> <div class="text-xs text-center text-error">
@foreach ($errors->all() as $error) @foreach ($errors->all() as $error)
<p>{{ $error }}</p> <p>{{ $error }}</p>
@endforeach @endforeach
</div> </div>
@endif @endif
@if (session('status')) @if (session('status'))
<div class="mb-4 font-medium text-green-600"> <div class="mb-4 font-medium text-green-600">
{{ session('status') }} {{ session('status') }}
</div> </div>
@endif @endif
</div> </div>
</div> </div>

View File

@ -1,16 +1,14 @@
<section class="bg-gray-50 dark:bg-base"> <section class="bg-gray-50 dark:bg-base">
<div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0"> <div class="flex flex-col items-center justify-center px-6 py-8 mx-auto md:h-screen lg:py-0">
<a class="flex items-center mb-6 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white"> <a class="flex items-center mb-6 text-5xl font-extrabold tracking-tight text-gray-900 dark:text-white">
Coolify Last Hour
</a> </a>
<div class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base "> <div class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
<div class="p-6 space-y-4 md:space-y-6 sm:p-8"> <div class="p-6 space-y-4 md:space-y-6 sm:p-8">
<form class="flex flex-col gap-2" wire:submit='submit'> <form class="flex flex-col gap-2" wire:submit='submit'>
<x-forms.input id="email" type="email" placeholder="Email" readonly label="Email" /> <x-forms.input id="email" type="email" placeholder="Email" readonly label="Email" />
<x-forms.input id="password" type="password" placeholder="New Password" label="New Password" <x-forms.input id="password" type="password" placeholder="New Password" label="New Password" required />
required /> <x-forms.input id="password_confirmation" type="password" placeholder="Confirm New Password" label="Confirm New Password" required />
<x-forms.input id="password_confirmation" type="password" placeholder="Confirm New Password"
label="Confirm New Password" required />
<x-forms.button type="submit">Reset Password</x-forms.button> <x-forms.button type="submit">Reset Password</x-forms.button>
</form> </form>
</div> </div>

View File

@ -2,19 +2,15 @@
<div class="w-96 min-w-fit"> <div class="w-96 min-w-fit">
<div class="flex flex-col items-center pb-8"> <div class="flex flex-col items-center pb-8">
<a href="{{ route('dashboard') }}"> <a href="{{ route('dashboard') }}">
<div class="text-5xl font-bold tracking-tight text-center dark:text-white">Coolify</div> <div class="text-5xl font-bold tracking-tight text-center dark:text-white">Last Hour</div>
</a> </a>
</div> </div>
<div class="flex items-center justify-center pb-4 text-center"> <div class="flex items-center justify-center pb-4 text-center">
<h2>Self-hosting in the cloud <h2>Self-hosting in the cloud
<svg class="inline-block w-8 h-8 dark:text-warning width="512" height="512" viewBox="0 0 20 20" <svg class="inline-block w-8 h-8 dark:text-warning width=" 512" height="512" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
xmlns="http://www.w3.org/2000/svg">
<g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd"> <g fill="currentColor" fill-rule="evenodd" clip-rule="evenodd">
<path <path d="M13 4h-1a4.002 4.002 0 0 0-3.874 3H8a4 4 0 1 0 0 8h8a4 4 0 0 0 .899-7.899A4.002 4.002 0 0 0 13 4Z" opacity=".2" />
d="M13 4h-1a4.002 4.002 0 0 0-3.874 3H8a4 4 0 1 0 0 8h8a4 4 0 0 0 .899-7.899A4.002 4.002 0 0 0 13 4Z" <path d="M11 3h-1a4.002 4.002 0 0 0-3.874 3H6a4 4 0 1 0 0 8h8a4 4 0 0 0 .899-7.899A4.002 4.002 0 0 0 11 3ZM6.901 7l.193-.75A3.002 3.002 0 0 1 10 4h1c1.405 0 2.614.975 2.924 2.325l.14.61l.61.141A3.001 3.001 0 0 1 14 13H6a3 3 0 1 1 0-6h.901Z" />
opacity=".2" />
<path
d="M11 3h-1a4.002 4.002 0 0 0-3.874 3H6a4 4 0 1 0 0 8h8a4 4 0 0 0 .899-7.899A4.002 4.002 0 0 0 11 3ZM6.901 7l.193-.75A3.002 3.002 0 0 1 10 4h1c1.405 0 2.614.975 2.924 2.325l.14.61l.61.141A3.001 3.001 0 0 1 14 13H6a3 3 0 1 1 0-6h.901Z" />
</g> </g>
</svg> </svg>
</h2> </h2>
@ -26,12 +22,10 @@
<div>People waiting in the line: <span class="font-bold dark:text-warning">{{ $waitingInLine }}</div> <div>People waiting in the line: <span class="font-bold dark:text-warning">{{ $waitingInLine }}</div>
<div>Already using Coolify Cloud: <span class="font-bold dark:text-warning">{{ $users }}</div> <div>Already using Coolify Cloud: <span class="font-bold dark:text-warning">{{ $users }}</div>
<div class="pt-8"> <div class="pt-8">
This is a paid & hosted version of Coolify.<br> See the pricing <a href="https://coolify.io/pricing" This is a paid & hosted version of Coolify.<br> See the pricing <a href="https://coolify.io/pricing" class="dark:text-warning">here</a>.
class="dark:text-warning">here</a>.
</div> </div>
<div class="pt-4"> <div class="pt-4">
If you are looking for the self-hosted version go <a href="https://coolify.io" If you are looking for the self-hosted version go <a href="https://coolify.io" class="dark:text-warning">here</a>.
class="dark:text-warning">here</a>.
</div> </div>
</div> </div>
</div> </div>