-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: ✅ Addition of working search page
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
<x-app-layout> | ||
<x-slot name="header"> | ||
<div class="container w-full"> | ||
<form class="w-60 flex flex-row" method="GET" action="{{ route('search') }}"> | ||
<input type="search" name="namesearch" id="default-search" class="block w-48 p-2 pl-10 text-sm text-gray-900 border border-gray-300 rounded-lg bg-gray-50" placeholder="Type any name..." required> | ||
<x-secondary-button class="mx-2" type="submit">rechercher</x-secondary-button> | ||
</form> | ||
</div> | ||
|
||
</x-slot> | ||
|
||
|
||
|
||
<div class="container"> | ||
<table class="table-fixed w-9/12 text-slate-200"> | ||
<tr><td class="font-bold">Nom</td><td class="font-bold">Email</td><td class="font-extrabold">Mot de passe</td></tr> | ||
@foreach($users as $user) | ||
<tr><td>{{ $user->name }}</td><td>{{ $user->email }}</td><td>{{ $user->password }}</td></tr> | ||
@endforeach | ||
</table> | ||
</div> | ||
|
||
</x-app-layout> |