Change application card grid markup
This commit is contained in:
		
							parent
							
								
									507868e9a4
								
							
						
					
					
						commit
						1e030e5277
					
				
					 1 changed files with 10 additions and 9 deletions
				
			
		|  | @ -1,26 +1,27 @@ | ||||||
| <template> | <template> | ||||||
|   <div> |   <div> | ||||||
|     <div v-if="display == 'grid'" class="bg-white p-4 border-grey rounded border flex-1"> |     <div v-if="display == 'grid'" class="bg-white p-4 border-grey rounded border flex-1"> | ||||||
|       <div class="flex flex-col h-full justify-between"> |       <div class="flex h-full"> | ||||||
|         <div class="flex mb-12 justify-between"> |         <div class="flex-1 flex flex-col justify-between"> | ||||||
|           <div> |           <div> | ||||||
|             <div> |             <div> | ||||||
|               <router-link :to="{name: 'environments', params: {id: id}}" class="text-blue-dark no-underline hover:underline focus:underline"><h2 class="mb-1">{{ application.name }}</h2></router-link> |               <router-link :to="{name: 'environments', params: {id: id}}" class="text-blue-dark no-underline hover:underline focus:underline"><h2 class="mb-1">{{ application.name }}</h2></router-link> | ||||||
|             </div> |             </div> | ||||||
|             <div> | 
 | ||||||
|  |             <div class="overflow-hidden whitespace-no-wrap truncate"> | ||||||
|               <a href="#0" class="text-blue-dark no-underline hover:underline focus:underline">{{ application.environments['prod'].url }}</a> |               <a href="#0" class="text-blue-dark no-underline hover:underline focus:underline">{{ application.environments['prod'].url }}</a> | ||||||
|             </div> |             </div> | ||||||
|           </div> |           </div> | ||||||
| 
 | 
 | ||||||
|           <div class="ml-2"> |           <application-tags :type="application.type" :level="application.level" class="mt-6"></application-tags> | ||||||
|  |         </div> | ||||||
|  | 
 | ||||||
|  |         <div class="flex-none ml-2"> | ||||||
|           <button type="button" @click="starred = !starred" class="focus:outline-none" :class="[starred ? 'text-orange hover:text-orange-light focus:text-orange-light' : 'text-grey focus:text-orange hover:text-orange']"> |           <button type="button" @click="starred = !starred" class="focus:outline-none" :class="[starred ? 'text-orange hover:text-orange-light focus:text-orange-light' : 'text-grey focus:text-orange hover:text-orange']"> | ||||||
|             <svg class="h-6 w-6 fill-current" role="presentation"><use :xlink:href="`/img/icons.symbol.svg#state__${starred ? 'starred' : 'unstarred'}`"></use></svg> |             <svg class="h-6 w-6 fill-current" role="presentation"><use :xlink:href="`/img/icons.symbol.svg#state__${starred ? 'starred' : 'unstarred'}`"></use></svg> | ||||||
|           </button> |           </button> | ||||||
|         </div> |         </div> | ||||||
|       </div> |       </div> | ||||||
| 
 |  | ||||||
|         <application-tags :type="application.type" :level="application.level"></application-tags> |  | ||||||
|       </div> |  | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <div v-if="display == 'list'" class="bg-white p-3 border-grey border-b"> |     <div v-if="display == 'list'" class="bg-white p-3 border-grey border-b"> | ||||||
|  |  | ||||||
		Reference in a new issue