Loading resources/views/components/footer.blade.php +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ </div> </footer> <script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.1/flowbite.min.js"></script> <script src="https://kit.fontawesome.com/8708952b61.js" crossorigin="anonymous"></script> resources/views/components/header.blade.php +2 −0 Original line number Diff line number Diff line <link rel="stylesheet" href="{{ asset('/css/app.css') }}"> <nav class="border-gray-200 bg-[#002550]"> <div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4"> <a href="{{ route('homepage') }}" class="flex items-center space-x-3 rtl:space-x-reverse"> Loading resources/views/dives.blade.php +25 −21 Original line number Diff line number Diff line <x-layout> <link rel="stylesheet" href="/css/drop-down.css"> <link rel="stylesheet" href="{{ asset('/css/app.css') }}"> <x-page-title>Liste des plongées</x-page-title> <div class="shadow-md max-w-full rounded-lg overflow-hidden border-2"> <table class="text-sm text-left text-gray-500 w-full"> <thead class="text-xs text-gray-700 uppercase bg-gray-50"> <div> <div id="Historique"> <p style="font-size: 35px">Liste des plongées</p> <hr style="height: 3px;background-color: black;margin-bottom: 70px;margin-top: 5px; width : 30%"> <table style="text-align: left"> <thead class="text-xs text-gray-700 bg-gray-50" style="border-bottom: 1px solid black; font-size: 15px;"> <tr> <th scope="col" class="px-6 py-3">Date</th> <th scope="col" class="px-6 py-3">Plage horaire</th> <th scope="col" class="px-6 py-3">Profondeur</th> <th scope="col" class="px-6 py-3">Lieu</th> <th scope="col" class="px-6 py-3">Actions</th> <th scope="col" class="px-12 py-3">Date</th> <th scope="col" class="px-12 py-3">Plage horaire</th> <th scope="col" class="px-12 py-3">Profondeur</th> <th scope="col" class="px-12 py-3">Lieu</th> <th scope="col" class="px-12 py-3">Actions</th> </tr> </thead> <tbody> @foreach ($dives as $dive) <tr class="odd:bg-white even:bg-gray-50 border-b"> <td class="px-6 py-4">{{ $dive->DS_DATE }}</td> <td class="px-6 py-4">{{ $dive->CAR_SCHEDULE }}</td> <td class="px-6 py-4">{{ $dive->DL_DEPTH }}m</td> <td class="px-6 py-4">{{ $dive->DL_NAME }}</td> <td class="px-8 py-4"> <tr class="odd:bg-white even:bg-gray-50"> <td class="px-12 py-4">{{ $dive->DS_DATE }}</td> <td class="px-12 py-4">{{ $dive->CAR_SCHEDULE }}</td> <td class="px-12 py-4">{{ $dive->DL_DEPTH }}m</td> <td class="px-12 py-4">{{ $dive->DL_NAME }}</td> <td class="px-12 py-4"> <a href='/dives/{{ $dive->DS_CODE }}'> @if ($userPre->PRE_MAX_DEPTH > $dive->DS_MAX_DEPTH) <x-button color="bg-green-700" colorHover="hover:bg-green-800"> <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"/> <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> @endif Loading Loading @@ -79,17 +81,19 @@ <div id="toast-default" class="flex items-center w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800" role="alert" style="background-color: var(--badDarker);color: white;"> <div class="ms-3 text-sm font-normal"><i class="fa-solid fa-triangle-exclamation" style="margin-right: 10px"></i> Attention, une erreur !</div> <div class="ms-3 text-sm font-normal"><i class="fa-solid fa-triangle-exclamation" style="margin-right: 10px"></i> Attention, une erreur !</div> <button type="button" style="background-color: var(--badDarker);color: white;" class="ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700" data-dismiss-target="#toast-default" aria-label="Close"> <span class="sr-only">Close</span> <svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"> <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" /> <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" /> </svg> </button> </div> </div> <script type="text/javascript" src="/js/drop-down.js"></script> </x-layout> resources/views/update_dive.blade.php +0 −1 Original line number Diff line number Diff line Loading @@ -186,6 +186,5 @@ class="clickableDelete clickable block w-full max-w-xs mx-auto bg-red-400 hover: </form> </div> <script src="https://kit.fontawesome.com/8708952b61.js" crossorigin="anonymous"></script> <script src="{{ asset('/js/create_div.js') }}"></script> </x-layout> Loading
resources/views/components/footer.blade.php +1 −0 Original line number Diff line number Diff line Loading @@ -14,3 +14,4 @@ </div> </footer> <script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.2.1/flowbite.min.js"></script> <script src="https://kit.fontawesome.com/8708952b61.js" crossorigin="anonymous"></script>
resources/views/components/header.blade.php +2 −0 Original line number Diff line number Diff line <link rel="stylesheet" href="{{ asset('/css/app.css') }}"> <nav class="border-gray-200 bg-[#002550]"> <div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4"> <a href="{{ route('homepage') }}" class="flex items-center space-x-3 rtl:space-x-reverse"> Loading
resources/views/dives.blade.php +25 −21 Original line number Diff line number Diff line <x-layout> <link rel="stylesheet" href="/css/drop-down.css"> <link rel="stylesheet" href="{{ asset('/css/app.css') }}"> <x-page-title>Liste des plongées</x-page-title> <div class="shadow-md max-w-full rounded-lg overflow-hidden border-2"> <table class="text-sm text-left text-gray-500 w-full"> <thead class="text-xs text-gray-700 uppercase bg-gray-50"> <div> <div id="Historique"> <p style="font-size: 35px">Liste des plongées</p> <hr style="height: 3px;background-color: black;margin-bottom: 70px;margin-top: 5px; width : 30%"> <table style="text-align: left"> <thead class="text-xs text-gray-700 bg-gray-50" style="border-bottom: 1px solid black; font-size: 15px;"> <tr> <th scope="col" class="px-6 py-3">Date</th> <th scope="col" class="px-6 py-3">Plage horaire</th> <th scope="col" class="px-6 py-3">Profondeur</th> <th scope="col" class="px-6 py-3">Lieu</th> <th scope="col" class="px-6 py-3">Actions</th> <th scope="col" class="px-12 py-3">Date</th> <th scope="col" class="px-12 py-3">Plage horaire</th> <th scope="col" class="px-12 py-3">Profondeur</th> <th scope="col" class="px-12 py-3">Lieu</th> <th scope="col" class="px-12 py-3">Actions</th> </tr> </thead> <tbody> @foreach ($dives as $dive) <tr class="odd:bg-white even:bg-gray-50 border-b"> <td class="px-6 py-4">{{ $dive->DS_DATE }}</td> <td class="px-6 py-4">{{ $dive->CAR_SCHEDULE }}</td> <td class="px-6 py-4">{{ $dive->DL_DEPTH }}m</td> <td class="px-6 py-4">{{ $dive->DL_NAME }}</td> <td class="px-8 py-4"> <tr class="odd:bg-white even:bg-gray-50"> <td class="px-12 py-4">{{ $dive->DS_DATE }}</td> <td class="px-12 py-4">{{ $dive->CAR_SCHEDULE }}</td> <td class="px-12 py-4">{{ $dive->DL_DEPTH }}m</td> <td class="px-12 py-4">{{ $dive->DL_NAME }}</td> <td class="px-12 py-4"> <a href='/dives/{{ $dive->DS_CODE }}'> @if ($userPre->PRE_MAX_DEPTH > $dive->DS_MAX_DEPTH) <x-button color="bg-green-700" colorHover="hover:bg-green-800"> <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"/> <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> @endif Loading Loading @@ -79,17 +81,19 @@ <div id="toast-default" class="flex items-center w-full max-w-xs p-4 text-gray-500 bg-white rounded-lg shadow dark:text-gray-400 dark:bg-gray-800" role="alert" style="background-color: var(--badDarker);color: white;"> <div class="ms-3 text-sm font-normal"><i class="fa-solid fa-triangle-exclamation" style="margin-right: 10px"></i> Attention, une erreur !</div> <div class="ms-3 text-sm font-normal"><i class="fa-solid fa-triangle-exclamation" style="margin-right: 10px"></i> Attention, une erreur !</div> <button type="button" style="background-color: var(--badDarker);color: white;" class="ms-auto -mx-1.5 -my-1.5 bg-white text-gray-400 hover:text-gray-900 rounded-lg focus:ring-2 focus:ring-gray-300 p-1.5 hover:bg-gray-100 inline-flex items-center justify-center h-8 w-8 dark:text-gray-500 dark:hover:text-white dark:bg-gray-800 dark:hover:bg-gray-700" data-dismiss-target="#toast-default" aria-label="Close"> <span class="sr-only">Close</span> <svg class="w-3 h-3" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14"> <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" /> <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" /> </svg> </button> </div> </div> <script type="text/javascript" src="/js/drop-down.js"></script> </x-layout>
resources/views/update_dive.blade.php +0 −1 Original line number Diff line number Diff line Loading @@ -186,6 +186,5 @@ class="clickableDelete clickable block w-full max-w-xs mx-auto bg-red-400 hover: </form> </div> <script src="https://kit.fontawesome.com/8708952b61.js" crossorigin="anonymous"></script> <script src="{{ asset('/js/create_div.js') }}"></script> </x-layout>