mirror of
https://github.com/pacnpal/thrillwiki_laravel.git
synced 2025-12-20 09:11:10 -05:00
feat: Implement rides management with CRUD functionality
- Added rides index view with search and filter options. - Created rides show view to display ride details. - Implemented API routes for rides. - Developed authentication routes for user registration, login, and email verification. - Created tests for authentication, email verification, password reset, and user profile management. - Added feature tests for rides and operators, including creation, updating, deletion, and searching. - Implemented soft deletes and caching for rides and operators. - Enhanced manufacturer and operator model tests for various functionalities.
This commit is contained in:
@@ -72,21 +72,21 @@
|
||||
@focus="open = true"
|
||||
@keydown="onKeyDown($event)"
|
||||
placeholder="Search..."
|
||||
class="w-full px-4 py-2 border rounded-lg shadow-sm focus:ring-2 focus:ring-blue-500 focus:border-transparent dark:bg-gray-800 dark:border-gray-700 dark:text-white"
|
||||
class="w-full px-4 py-2 border rounded-lg shadow-sm focus:ring-2 focus:ring-blue-500 focus:border-transparent"
|
||||
>
|
||||
|
||||
<div
|
||||
x-show="open"
|
||||
x-ref="results"
|
||||
class="absolute z-50 w-full mt-1 bg-white rounded-md shadow-lg dark:bg-gray-800"
|
||||
class="absolute z-50 w-full mt-1 bg-white rounded-md shadow-lg"
|
||||
x-cloak
|
||||
>
|
||||
@if(count($suggestions) > 0)
|
||||
@foreach($suggestions as $suggestion)
|
||||
<a
|
||||
href="{{ $suggestion['url'] }}"
|
||||
class="block px-4 py-2 text-sm hover:bg-gray-100 dark:hover:bg-gray-700 dark:text-gray-200"
|
||||
:class="{ 'bg-gray-100 dark:bg-gray-700': selectedIndex === {{ $loop->index }} }"
|
||||
class="block px-4 py-2 text-sm hover:bg-gray-100"
|
||||
:class="{ 'bg-gray-100': selectedIndex === {{ $loop->index }} }"
|
||||
data-url="{{ $suggestion['url'] }}"
|
||||
wire:key="{{ $suggestion['id'] }}"
|
||||
>
|
||||
@@ -95,7 +95,7 @@
|
||||
@endforeach
|
||||
@else
|
||||
@if(strlen($query) >= 2)
|
||||
<div class="px-4 py-2 text-sm text-gray-500 dark:text-gray-400">
|
||||
<div class="px-4 py-2 text-sm text-gray-500">
|
||||
No results found
|
||||
</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user