Update doubler block

This commit is contained in:
Matt Young 2024-06-21 16:42:41 -05:00
parent 4163863983
commit cc101a29bf
2 changed files with 9 additions and 1 deletions

View File

@ -5,12 +5,17 @@
@foreach($doublerEntryInfo as $info)
@php($isopen = $info['status'] == 'undecided')
<li class="pb-2 pt-0 px-0 my-2 rounded-xl border border-gray-200 " x-data="{ open: {{ $isopen ? 'true':'false' }} }">
<div class="flex items-start gap-x-3 bg-gray-100 px-3 py-2" x-on:click=" open = ! open ">
<div class="flex items-start gap-x-3 bg-gray-100 px-3 py-2" >
<p class="text-sm font-semibold leading-6 text-gray-900">
<a href="/tabulation/auditions/{{ $info['auditionID'] }}">
{{ $info['auditionName'] }} - {{ $info['status'] }}
</a>
</p>
<div class="w-full flex justify-end" >
<div x-on:click=" open = ! open ">
<x-icons.hamburger-menu />
</div>
</div>
</div>
<div class="grid grid-cols-2" x-show="open">

View File

@ -0,0 +1,3 @@
<svg class="w-6 h-6 text-gray-800 dark:text-white" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" viewBox="0 0 24 24">
<path stroke="currentColor" stroke-linecap="round" stroke-width="2" d="M5 7h14M5 12h14M5 17h14"/>
</svg>

After

Width:  |  Height:  |  Size: 270 B