Commit c1f7a3a0 authored by LucBUTGH's avatar LucBUTGH
Browse files

feat: links to security files

parent 6dd74bb8
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
<a href="{{ $link }}">
    <div class="hover:bg-gray-300 round btn btn-primary flex flex-col justify-center items-center">
        {{$slot}}
    </div>
</a>
+5 −7
Original line number Diff line number Diff line
@@ -25,15 +25,14 @@
                                    </svg>
                            
                                    <!-- Third Icon -->
                                    <x-square-button bg-Color="" textColor =""
                                    <x-redirect-button
                                        link="/dives/{{$session->DS_CODE}}/security-sheet/test">
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
                                            <path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" />
                                        </svg>  
                                    </x-square-button>
                                    </x-redirect-button>
                                </span>
                            </td>
                            
                        @elseif($session->DS_FILE_FILLED == 0)
                        <td class="px-6 py-4 flex items-center justify-between">
                            <span class="flex items-center">
@@ -51,15 +50,14 @@
                                </svg>
                        
                                <!-- Third Icon -->
                                <x-redirect-button
                                        link="/dives/{{$session->DS_CODE}}/security-sheet/test">
                                        <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="w-6 h-6">
                                            <path stroke-linecap="round" stroke-linejoin="round" d="m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z" />
                                        </svg>  
                                </x-redirect-button>
                            </span>
                        </td>
                        
                        
                        
                            
                        @endif
                    </tr>
                @endforeach