fix: remove autofocuses
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<div class="w-96">
|
<div class="w-96">
|
||||||
<form action="/user/confirm-password" method="POST" class="flex flex-col gap-2">
|
<form action="/user/confirm-password" method="POST" class="flex flex-col gap-2">
|
||||||
@csrf
|
@csrf
|
||||||
<x-forms.input required type="password" name="password" label="{{ __('input.password') }}" autofocus />
|
<x-forms.input required type="password" name="password" label="{{ __('input.password') }}" />
|
||||||
<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())
|
||||||
|
@@ -12,7 +12,7 @@
|
|||||||
@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">
|
||||||
@csrf
|
@csrf
|
||||||
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
|
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" />
|
||||||
<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
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
@csrf
|
@csrf
|
||||||
@env('local')
|
@env('local')
|
||||||
<x-forms.input value="test@example.com" type="email" autocomplete="email" name="email"
|
<x-forms.input value="test@example.com" type="email" autocomplete="email" name="email"
|
||||||
required label="{{ __('input.email') }}" autofocus />
|
required label="{{ __('input.email') }}" />
|
||||||
|
|
||||||
<x-forms.input value="password" type="password" autocomplete="current-password" name="password"
|
<x-forms.input value="password" type="password" autocomplete="current-password" name="password"
|
||||||
required label="{{ __('input.password') }}" />
|
required label="{{ __('input.password') }}" />
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
</a>
|
</a>
|
||||||
@else
|
@else
|
||||||
<x-forms.input type="email" name="email" autocomplete="email" required
|
<x-forms.input type="email" name="email" autocomplete="email" required
|
||||||
label="{{ __('input.email') }}" autofocus />
|
label="{{ __('input.email') }}" />
|
||||||
<x-forms.input type="password" name="password" autocomplete="current-password" required
|
<x-forms.input type="password" name="password" autocomplete="current-password" required
|
||||||
label="{{ __('input.password') }}" />
|
label="{{ __('input.password') }}" />
|
||||||
<a href="/forgot-password" class="text-xs">
|
<a href="/forgot-password" class="text-xs">
|
||||||
|
@@ -16,7 +16,7 @@
|
|||||||
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') }}" />
|
||||||
<x-forms.input required type="password" id="password_confirmation"
|
<x-forms.input required type="password" id="password_confirmation"
|
||||||
name="password_confirmation" label="{{ __('input.password.again') }}" />
|
name="password_confirmation" label="{{ __('input.password.again') }}" />
|
||||||
</div>
|
</div>
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
<form action="/two-factor-challenge" method="POST" class="flex flex-col gap-2">
|
<form action="/two-factor-challenge" method="POST" class="flex flex-col gap-2">
|
||||||
@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') }}" />
|
||||||
<div x-show="!showRecovery"
|
<div x-show="!showRecovery"
|
||||||
class="pt-2 text-xs cursor-pointer hover:underline hover:dark:text-white"
|
class="pt-2 text-xs cursor-pointer hover:underline hover:dark:text-white"
|
||||||
x-on:click="showRecovery = !showRecovery">Enter
|
x-on:click="showRecovery = !showRecovery">Enter
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
||||||
<x-forms.input autofocus placeholder="Your Cool Project" id="name" label="Name" required />
|
<x-forms.input placeholder="Your Cool Project" id="name" label="Name" required />
|
||||||
<x-forms.input placeholder="This is my cool project everyone knows about" id="description" label="Description" />
|
<x-forms.input placeholder="This is my cool project everyone knows about" id="description" label="Description" />
|
||||||
<div class="subtitle">New project will have a default production environment.</div>
|
<div class="subtitle">New project will have a default production environment.</div>
|
||||||
<x-forms.button type="submit" @click="slideOverOpen=false">
|
<x-forms.button type="submit" @click="slideOverOpen=false">
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
||||||
<x-forms.input autofocus placeholder="production" id="name" label="Name" required />
|
<x-forms.input placeholder="production" id="name" label="Name" required />
|
||||||
<x-forms.button type="submit" @click="slideOverOpen=false">
|
<x-forms.button type="submit" @click="slideOverOpen=false">
|
||||||
Save
|
Save
|
||||||
</x-forms.button>
|
</x-forms.button>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
||||||
<x-forms.input autofocus placeholder="0 0 * * * or daily" id="frequency"
|
<x-forms.input placeholder="0 0 * * * or daily" id="frequency"
|
||||||
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." label="Frequency"
|
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." label="Frequency"
|
||||||
required />
|
required />
|
||||||
<x-forms.checkbox id="save_s3" label="Save to S3" />
|
<x-forms.checkbox id="save_s3" label="Save to S3" />
|
||||||
|
@@ -102,7 +102,7 @@
|
|||||||
<h3>Initialization scripts</h3>
|
<h3>Initialization scripts</h3>
|
||||||
<x-modal-input buttonTitle="+ Add" title="New Init Script">
|
<x-modal-input buttonTitle="+ Add" title="New Init Script">
|
||||||
<form class="flex flex-col w-full gap-2 rounded" wire:submit='save_new_init_script'>
|
<form class="flex flex-col w-full gap-2 rounded" wire:submit='save_new_init_script'>
|
||||||
<x-forms.input autofocus placeholder="create_test_db.sql" id="new_filename" label="Filename"
|
<x-forms.input placeholder="create_test_db.sql" id="new_filename" label="Filename"
|
||||||
required />
|
required />
|
||||||
<x-forms.textarea rows="20" placeholder="CREATE DATABASE test;" id="new_content"
|
<x-forms.textarea rows="20" placeholder="CREATE DATABASE test;" id="new_content"
|
||||||
label="Content" required />
|
label="Content" required />
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
||||||
<x-forms.input autofocus placeholder="NODE_ENV" id="key" label="Name" required />
|
<x-forms.input placeholder="NODE_ENV" id="key" label="Name" required />
|
||||||
<x-forms.textarea x-show="$wire.is_multiline === true" x-cloak id="value" label="Value" required />
|
<x-forms.textarea x-show="$wire.is_multiline === true" x-cloak id="value" label="Value" required />
|
||||||
<x-forms.input x-show="$wire.is_multiline === false" x-cloak placeholder="production" id="value"
|
<x-forms.input x-show="$wire.is_multiline === false" x-cloak placeholder="production" id="value"
|
||||||
x-bind:label="$wire.is_multiline === false && 'Value'" required />
|
x-bind:label="$wire.is_multiline === false && 'Value'" required />
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
|
||||||
<x-forms.input autofocus placeholder="Run cron" id="name" label="Name" />
|
<x-forms.input placeholder="Run cron" id="name" label="Name" />
|
||||||
<x-forms.input placeholder="php artisan schedule:run" id="command" label="Command" />
|
<x-forms.input placeholder="php artisan schedule:run" id="command" label="Command" />
|
||||||
<x-forms.input placeholder="0 0 * * * or daily"
|
<x-forms.input placeholder="0 0 * * * or daily"
|
||||||
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." id="frequency"
|
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." id="frequency"
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
@else
|
@else
|
||||||
<form class="flex flex-col w-full gap-2" wire:submit='submit'>
|
<form class="flex flex-col w-full gap-2" wire:submit='submit'>
|
||||||
<div class="flex w-full gap-2 flex-wrap sm:flex-nowrap">
|
<div class="flex w-full gap-2 flex-wrap sm:flex-nowrap">
|
||||||
<x-forms.input autofocus id="name" label="Name" required />
|
<x-forms.input id="name" label="Name" required />
|
||||||
<x-forms.input id="description" label="Description" />
|
<x-forms.input id="description" label="Description" />
|
||||||
</div>
|
</div>
|
||||||
<div class="flex gap-2 flex-wrap sm:flex-nowrap">
|
<div class="flex gap-2 flex-wrap sm:flex-nowrap">
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<form wire:submit.prevent="addDynamicConfiguration" class="flex flex-col w-full gap-4">
|
<form wire:submit.prevent="addDynamicConfiguration" class="flex flex-col w-full gap-4">
|
||||||
<x-forms.input autofocus id="fileName" label="Filename" required />
|
<x-forms.input id="fileName" label="Filename" required />
|
||||||
<x-forms.textarea allowTab useMonacoEditor id="value" label="Configuration" required rows="20" />
|
<x-forms.textarea allowTab useMonacoEditor id="value" label="Configuration" required rows="20" />
|
||||||
<x-forms.button type="submit" @click="slideOverOpen=false">Save</x-forms.button>
|
<x-forms.button type="submit" @click="slideOverOpen=false">Save</x-forms.button>
|
||||||
</form>
|
</form>
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
<form class="flex flex-col w-full gap-2" wire:submit='submit'>
|
<form class="flex flex-col w-full gap-2" wire:submit='submit'>
|
||||||
<x-forms.input autofocus id="name" label="Name" required />
|
<x-forms.input id="name" label="Name" required />
|
||||||
<x-forms.input id="description" label="Description" />
|
<x-forms.input id="description" label="Description" />
|
||||||
<x-forms.button type="submit">
|
<x-forms.button type="submit">
|
||||||
Continue
|
Continue
|
||||||
|
Reference in New Issue
Block a user