Loading resources/img/logo_allonge.png 0 → 100644 +34.8 KiB Loading image diff... resources/views/components/button.blade.php +1 −1 Original line number Diff line number Diff line <button class="m-1 bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded inline-flex items-center"> <button class="m-1 @if (isset($color) && $color != "") {{ $color }} @else bg-gray-300 @endif hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded inline-flex items-center"> {{ $slot }} </button> resources/views/components/header.blade.php +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ <!-- Logo --> <div class="shrink-0 flex items-center"> <a href="{{ route('homepage') }}"> <img class="block h-9 w-auto fill-current text-gray-800" src="resources/img/logo.png" alt="Nautilus logo"/> <img class="block h-9 w-auto fill-current text-gray-800" src="resources/img/logo_allonge.png" alt="Nautilus logo"/> </a> </div> Loading resources/views/components/layout.blade.php +2 −2 Original line number Diff line number Diff line Loading @@ -6,9 +6,9 @@ <script src="https://cdn.tailwindcss.com"></script> <style>* {box-sizing: border-box}</style> </head> <body> <body class="min-h-[100vh] flex justify-between flex-col"> <x-header/> <main class="mx-auto max-w-[1028px] p-4"> <main class="mx-auto max-w-[1028px] p-4 min-h-[80vh]"> {{ $slot }} </main> <x-footer/> Loading resources/views/dives.blade.php +18 −3 Original line number Diff line number Diff line <x-layout> <x-page-title>Liste des plongées</x-page-title> <div class="shadow-md max-w-full rounded-lg overflow-hidden border-2"> Loading @@ -23,8 +22,24 @@ @if (Session::has('Success')) <div class="alert alert-info">{{ Session::get('Success') }}</div> @endif <a href='/dives/{{$dive->DS_CODE}}' class="bg-green-400 hover:bg-green-500 focus:bg-green-500 text-black rounded-lg px-10 py-1.5">S'inscrire</a> <a href="/dives/list-divers/{{$dive->DS_CODE}}" class="bg-yellow-400 hover:bg-yellow-500 focus:bg-yellow-500 text-black rounded-lg px-5 py-1.5">Voir les inscrits</a> <a href='/dives/{{$dive->DS_CODE}}'> <x-button color="bg-green-700"> <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 12"> <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5.917 5.724 10.5 15 1.5"/> </svg> </x-button> </a> <a href="/dives/list-divers/{{$dive->DS_CODE}}"> <x-button color=""> <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 18"> <path d="M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z"/> </svg> </x-button> </a> @if ($errors->any()) <div class="alert alert-danger"> <ul> Loading Loading
resources/views/components/button.blade.php +1 −1 Original line number Diff line number Diff line <button class="m-1 bg-gray-300 hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded inline-flex items-center"> <button class="m-1 @if (isset($color) && $color != "") {{ $color }} @else bg-gray-300 @endif hover:bg-gray-400 text-gray-800 font-bold py-2 px-4 rounded inline-flex items-center"> {{ $slot }} </button>
resources/views/components/header.blade.php +1 −1 Original line number Diff line number Diff line Loading @@ -6,7 +6,7 @@ <!-- Logo --> <div class="shrink-0 flex items-center"> <a href="{{ route('homepage') }}"> <img class="block h-9 w-auto fill-current text-gray-800" src="resources/img/logo.png" alt="Nautilus logo"/> <img class="block h-9 w-auto fill-current text-gray-800" src="resources/img/logo_allonge.png" alt="Nautilus logo"/> </a> </div> Loading
resources/views/components/layout.blade.php +2 −2 Original line number Diff line number Diff line Loading @@ -6,9 +6,9 @@ <script src="https://cdn.tailwindcss.com"></script> <style>* {box-sizing: border-box}</style> </head> <body> <body class="min-h-[100vh] flex justify-between flex-col"> <x-header/> <main class="mx-auto max-w-[1028px] p-4"> <main class="mx-auto max-w-[1028px] p-4 min-h-[80vh]"> {{ $slot }} </main> <x-footer/> Loading
resources/views/dives.blade.php +18 −3 Original line number Diff line number Diff line <x-layout> <x-page-title>Liste des plongées</x-page-title> <div class="shadow-md max-w-full rounded-lg overflow-hidden border-2"> Loading @@ -23,8 +22,24 @@ @if (Session::has('Success')) <div class="alert alert-info">{{ Session::get('Success') }}</div> @endif <a href='/dives/{{$dive->DS_CODE}}' class="bg-green-400 hover:bg-green-500 focus:bg-green-500 text-black rounded-lg px-10 py-1.5">S'inscrire</a> <a href="/dives/list-divers/{{$dive->DS_CODE}}" class="bg-yellow-400 hover:bg-yellow-500 focus:bg-yellow-500 text-black rounded-lg px-5 py-1.5">Voir les inscrits</a> <a href='/dives/{{$dive->DS_CODE}}'> <x-button color="bg-green-700"> <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 16 12"> <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5.917 5.724 10.5 15 1.5"/> </svg> </x-button> </a> <a href="/dives/list-divers/{{$dive->DS_CODE}}"> <x-button color=""> <svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 20 18"> <path d="M14 2a3.963 3.963 0 0 0-1.4.267 6.439 6.439 0 0 1-1.331 6.638A4 4 0 1 0 14 2Zm1 9h-1.264A6.957 6.957 0 0 1 15 15v2a2.97 2.97 0 0 1-.184 1H19a1 1 0 0 0 1-1v-1a5.006 5.006 0 0 0-5-5ZM6.5 9a4.5 4.5 0 1 0 0-9 4.5 4.5 0 0 0 0 9ZM8 10H5a5.006 5.006 0 0 0-5 5v2a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-2a5.006 5.006 0 0 0-5-5Z"/> </svg> </x-button> </a> @if ($errors->any()) <div class="alert alert-danger"> <ul> Loading