61 lines
		
	
	
	
		
			2.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			61 lines
		
	
	
	
		
			2.7 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <div class="resource-view image-view"
 | |
|      resources="[repositoryResource, imageResource]"
 | |
|      error-message="'Image not found'">
 | |
|   <div class="page-content">
 | |
|     <div class="cor-title">
 | |
|       <span class="cor-title-link">
 | |
|         <a class="back-link" href="/repository/{{ repository.namespace }}/{{ repository.name }}?tab=tags">
 | |
|           <i class="fa fa-hdd-o" style="margin-right: 4px"></i>
 | |
|           {{ repository.namespace }}/{{ repository.name }}
 | |
|         </a>
 | |
|       </span>
 | |
|       <span class="cor-title-content">
 | |
|         <i class="fa fa-archive fa-lg" style="margin-right: 10px"></i>
 | |
|         {{ image.id.substr(0, 12) }}
 | |
|       </span>
 | |
|     </div>
 | |
| 
 | |
| 
 | |
|     <div class="cor-tab-panel">
 | |
|       <div class="cor-tabs">
 | |
|         <span class="cor-tab" tab-active="true" tab-title="Layers" tab-target="#layers">
 | |
|           <i class="fa ci-layers"></i>
 | |
|         </span>
 | |
|         <span class="cor-tab" tab-title="Security Scan" tab-target="#vulnerabilities"
 | |
|               tab-init="loadImageSecurity()"
 | |
|               quay-show="Features.SECURITY_SCANNER">
 | |
|           <i class="fa fa-bug"></i>
 | |
|         </span>
 | |
|         <span class="cor-tab" tab-title="Packages" tab-target="#packages"
 | |
|               tab-init="loadImagePackages()"
 | |
|               quay-show="Features.SECURITY_SCANNER">
 | |
|           <i class="fa ci-package"></i>
 | |
|         </span>
 | |
|       </div> <!-- /cor-tabs -->
 | |
| 
 | |
|       <div class="cor-tab-content">
 | |
|         <!-- Layers -->
 | |
|         <div id="layers" class="tab-pane active">
 | |
|           <h3>Image Layers</h3>
 | |
|           <div class="image-view-layer" repository="repository" image="image" images="image.history"></div>
 | |
|           <div class="image-view-layer" repository="repository" image="parent" images="image.history"
 | |
|                ng-repeat="parent in reversedHistory"></div>
 | |
|         </div>
 | |
| 
 | |
|         <!-- Vulnerabilities -->
 | |
|         <div id="vulnerabilities" class="tab-pane" quay-require="['SECURITY_SCANNER']">
 | |
|           <div class="image-vulnerability-view" repository="repository" image="image" is-enabled="imageSecurityCounter" ng-if="newUIExperiment"></div>
 | |
| 
 | |
|           <div class="old-image-security-view" repository="repository" image="image" is-enabled="imageSecurityCounter" ng-if="!newUIExperiment" view="vulnerabilities"></div>
 | |
|         </div>
 | |
| 
 | |
|         <!-- Features -->
 | |
|         <div id="packages" class="tab-pane" quay-require="['SECURITY_SCANNER']">
 | |
|           <div class="image-feature-view" repository="repository" image="image" is-enabled="imagePackageCounter" ng-if="newUIExperiment"></div>
 | |
| 
 | |
|           <div class="old-image-security-view" repository="repository" image="image" is-enabled="imagePackageCounter" ng-if="!newUIExperiment" view="packages"></div>
 | |
|         </div>
 | |
|      </div>
 | |
|     </div>
 | |
|   </div>
 | |
| </div>
 |