clean the files
This commit is contained in:
		
							parent
							
								
									8a20ab2502
								
							
						
					
					
						commit
						2055ef5e7c
					
				| 
						 | 
				
			
			@ -80,15 +80,10 @@
 | 
			
		|||
                        <tr>
 | 
			
		||||
                            <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
 | 
			
		||||
                                <div class="flex items-center">
 | 
			
		||||
                                    <!-- <div class="h-10 w-10 flex-shrink-0">
 | 
			
		||||
                                        <img class="h-10 w-10 rounded-co"
 | 
			
		||||
                                            :src="'/app/beneficiaries/' + beneficiary.id + '/picture'" alt="">
 | 
			
		||||
                                    </div> -->
 | 
			
		||||
                                    <div class="ml-4">
 | 
			
		||||
                                        <div class="font-medium text-gray-900"><span
 | 
			
		||||
                                                x-text="beneficiary.data.first_name"></span> <span
 | 
			
		||||
                                                x-text="beneficiary.data.last_name"></span></div>
 | 
			
		||||
                                        <!-- <div class="text-gray-500" x-text="beneficiary.data.email"></div> -->
 | 
			
		||||
                                    </div>
 | 
			
		||||
                                </div>
 | 
			
		||||
                            </td>
 | 
			
		||||
| 
						 | 
				
			
			@ -202,47 +197,35 @@
 | 
			
		|||
                      <input @focus="beneficiariesListOpen = true" x-model="text" id="combobox" type="text" class="w-full rounded-2xl border border-gray-300 bg-white py-2 pl-3 pr-12 shadow-sm focus:border-co-blue focus:outline-none focus:ring-1 focus:ring-co-blue sm:text-sm" role="combobox" aria-controls="options" aria-expanded="false">
 | 
			
		||||
                      
 | 
			
		||||
                      <button @click="beneficiariesListOpen = ! beneficiariesListOpen" type="button" class="absolute inset-y-0 right-0 flex items-center rounded-r-2xl px-2 focus:outline-none">
 | 
			
		||||
                        <!-- Heroicon name: solid/selector -->
 | 
			
		||||
                     
 | 
			
		||||
                        <svg class="h-5 w-5 text-gray-400" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
 | 
			
		||||
                          <path fill-rule="evenodd" d="M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z" clip-rule="evenodd" />
 | 
			
		||||
                        </svg>
 | 
			
		||||
                      </button>
 | 
			
		||||
                  
 | 
			
		||||
                      <ul x-show="beneficiariesListOpen" class="absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-xl bg-white py-1 text-base shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm" id="options" role="listbox">
 | 
			
		||||
                        <!--
 | 
			
		||||
                          Combobox option, manage highlight styles based on mouseenter/mouseleave and keyboard navigation.
 | 
			
		||||
                  
 | 
			
		||||
                          Active: "text-white bg-indigo-600", Not Active: "text-gray-900"
 | 
			
		||||
                        -->
 | 
			
		||||
                      
 | 
			
		||||
                        <template x-for="beneficiary in beneficiaries">
 | 
			
		||||
                            <li @click="selectbeneficiary(beneficiary)" class="relative cursor-default hover:bg-gray-100 select-none py-2 pl-3 pr-9 text-gray-900" id="option-0" role="option" tabindex="-1">
 | 
			
		||||
                            <!-- Selected: "font-semibold" -->
 | 
			
		||||
                          
 | 
			
		||||
                            <span class="truncate" x-text="beneficiary.data.first_name"></span> <span class="truncate" x-text="beneficiary.data.last_name"></span>
 | 
			
		||||
                    
 | 
			
		||||
                            <!--
 | 
			
		||||
                                Checkmark, only display for selected option.
 | 
			
		||||
                    
 | 
			
		||||
                                Active: "text-white", Not Active: "text-indigo-600"
 | 
			
		||||
                            -->
 | 
			
		||||
                            <span class="absolute inset-y-0 right-0 flex items-center pr-4 text-co-blue">
 | 
			
		||||
                                <!-- Heroicon name: solid/check -->
 | 
			
		||||
                                <!-- <svg class="h-5 w-5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true">
 | 
			
		||||
                                <path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd" />
 | 
			
		||||
                                </svg> -->
 | 
			
		||||
                            
 | 
			
		||||
                            </span>
 | 
			
		||||
                            </li>
 | 
			
		||||
                        </template>
 | 
			
		||||
                  
 | 
			
		||||
                        <!-- More items... -->
 | 
			
		||||
                     
 | 
			
		||||
                      </ul>
 | 
			
		||||
                    </div>
 | 
			
		||||
                  </div>
 | 
			
		||||
                  <!-- <a href="/app/group_module/groups/{{.ViewState.group.ID}}"> -->
 | 
			
		||||
                
 | 
			
		||||
                    <button type="submit"
 | 
			
		||||
                        class="rounded-2xl border border-transparent bg-co-blue px-4 py-2 my-4 mt-8 w-full text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-co-blue focus:ring-offset-2 sm:w-auto">
 | 
			
		||||
                        Ajouter
 | 
			
		||||
                    </button>
 | 
			
		||||
                <!-- </a> -->
 | 
			
		||||
               
 | 
			
		||||
                </form>
 | 
			
		||||
            </div>
 | 
			
		||||
        </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -41,9 +41,6 @@
 | 
			
		|||
                </div>
 | 
			
		||||
                <div class="mt-4 flex-shrink-0 sm:mt-0 sm:ml-5">
 | 
			
		||||
                  <div class="flex overflow-hidden -space-x-1">
 | 
			
		||||
                    <!-- <img class="inline-block h-6 w-6 rounded-full ring-2 ring-white"
 | 
			
		||||
                      src="http://localhost:9000/app/beneficiaries/e7616eac-4a87-4396-a505-23e0421b9c4c/picture"
 | 
			
		||||
                      alt="Dries Vincent"> -->
 | 
			
		||||
                  </div>
 | 
			
		||||
                </div>
 | 
			
		||||
              </div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue