edit design in template vehicles-list
This commit is contained in:
		
							parent
							
								
									c450eecc37
								
							
						
					
					
						commit
						bb70ed9136
					
				| 
						 | 
				
			
			@ -9,7 +9,7 @@
 | 
			
		|||
                            <tr>
 | 
			
		||||
                                <th scope="col"
 | 
			
		||||
                                    class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
 | 
			
		||||
                                    Statut
 | 
			
		||||
                                    Statut Réservation
 | 
			
		||||
                                </th>
 | 
			
		||||
                                <th scope="col"
 | 
			
		||||
                                    class="py-3.5 pl-4 pr-3 text-left text-sm font-semibold text-gray-900 sm:pl-6">
 | 
			
		||||
| 
						 | 
				
			
			@ -32,7 +32,8 @@
 | 
			
		|||
                        <tbody class="divide-y divide-gray-200 bg-white">
 | 
			
		||||
                            {{range .ViewState.vehicles}}
 | 
			
		||||
                            <tr>
 | 
			
		||||
                                <td class="flex flex-col whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6 text-center">
 | 
			
		||||
                                <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6 text-center">
 | 
			
		||||
                                    <div class="flex flex-col px-6">
 | 
			
		||||
                                    {{if not .Bookings}}
 | 
			
		||||
                                    <span class="mt-1 p-1 bg-gray-500 text-white text-xs font-bold rounded-xl" >
 | 
			
		||||
                                        Disponible
 | 
			
		||||
| 
						 | 
				
			
			@ -60,6 +61,7 @@
 | 
			
		|||
                                            {{end}}
 | 
			
		||||
                                    {{end}}
 | 
			
		||||
                                    {{end}}
 | 
			
		||||
                                    </div>
 | 
			
		||||
                                </td>
 | 
			
		||||
                                <td class="whitespace-nowrap py-4 pl-4 pr-3 text-sm sm:pl-6">
 | 
			
		||||
                                    <div class="text-gray-900" >{{.Data.licence_plate}}</div>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue