Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix search #35

Merged
merged 2 commits into from
Feb 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/home/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
@csrf

<div class="flex items-center px-2 py-2 bg-gray-100 rounded-lg border-gray-300 border">
<input x-model="name" type="text" value="old('term'), $term" name="term" class="rounded-l-lg w-full sm:w-96 py-2 px-4 border border-gray-300 bg-white dark:bg-gray-800 dark:border-gray-700 text-gray-900 dark:text-gray-100 focus:outline-none focus:border-gray-400" placeholder="Rechercher un prénom" />
<input x-model="name" type="text" name="term" class="rounded-l-lg w-full sm:w-96 py-2 px-4 border border-gray-300 bg-white dark:bg-gray-800 dark:border-gray-700 text-gray-900 dark:text-gray-100 focus:outline-none focus:border-gray-400" placeholder="Rechercher un prénom" />
<button type="submit" x-bind:disabled="name.length < 3" class="border-t border-b border-r border-gray-300 bg-gray-100 dark:bg-gray-700 rounded-r-lg px-4 py-2 text-gray-900 dark:text-gray-100 font-bold">Rechercher</button>
</div>
</form>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/names/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@

<!-- personnality -->
<div class="mb-8">
<h2 class="mb-2 flex items-center" id="personalite">
<h2 class="mb-2 flex items-center" id="personnalite">
<span class="bg-amber-300 p-1 mr-2 rounded-full">
<x-heroicon-o-chevron-right class="w-4 h-4 text-white" />
</span>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/search/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
@csrf

<div class="flex items-center px-2 py-2 bg-gray-100 rounded-lg border-gray-300 border">
<input x-model="name" type="text" value="old('term'), $term" name="term" class="rounded-l-lg w-full py-2 px-4 border border-gray-300 bg-white dark:bg-gray-800 dark:border-gray-700 text-gray-900 dark:text-gray-100 focus:outline-none focus:border-gray-400" placeholder="Merci d'entrer au moins 3 caractères." />
<input x-model="name" type="text" name="term" class="rounded-l-lg w-full py-2 px-4 border border-gray-300 bg-white dark:bg-gray-800 dark:border-gray-700 text-gray-900 dark:text-gray-100 focus:outline-none focus:border-gray-400" placeholder="Merci d'entrer au moins 3 caractères." />
<button type="submit" x-bind:disabled="name.length < 3" class="disabled:bg-red-100 disabled:text-gray-600 border-t border-b border-r border-gray-300 bg-gray-100 dark:bg-gray-700 rounded-r-lg px-4 py-2 text-gray-900 dark:text-gray-100 font-bold">Rechercher</button>
</div>
</form>
Expand Down
46 changes: 0 additions & 46 deletions resources/views/vendor/pagination/bootstrap-4.blade.php

This file was deleted.

88 changes: 0 additions & 88 deletions resources/views/vendor/pagination/bootstrap-5.blade.php

This file was deleted.

46 changes: 0 additions & 46 deletions resources/views/vendor/pagination/default.blade.php

This file was deleted.

36 changes: 0 additions & 36 deletions resources/views/vendor/pagination/semantic-ui.blade.php

This file was deleted.

27 changes: 0 additions & 27 deletions resources/views/vendor/pagination/simple-bootstrap-4.blade.php

This file was deleted.

29 changes: 0 additions & 29 deletions resources/views/vendor/pagination/simple-bootstrap-5.blade.php

This file was deleted.

19 changes: 0 additions & 19 deletions resources/views/vendor/pagination/simple-default.blade.php

This file was deleted.

4 changes: 3 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@ import defaultTheme from 'tailwindcss/defaultTheme';
/** @type {import('tailwindcss').Config} */
export default {
content: [
'./resources/**/*.blade.php',
'./resources/**/*.js',
'./resources/**/*.vue',
'./vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
'./storage/framework/views/*.php',
'./resources/views/**/*.blade.php',
'./vendor/wireui/wireui/resources/**/*.blade.php',
'./vendor/wireui/wireui/ts/**/*.ts',
'./vendor/wireui/wireui/src/View/**/*.php'
Expand Down
Loading