2015-03-12 00:47:12 +00:00
|
|
|
<div class="image-info-sidebar-element">
|
|
|
|
<!-- Comment -->
|
|
|
|
<div class="image-comment" ng-if="imageData.comment">
|
|
|
|
<blockquote style="margin-top: 10px;">
|
|
|
|
<span class="markdown-view" content="imageData.comment"></span>
|
|
|
|
</blockquote>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Image ID -->
|
|
|
|
<div class="image-section">
|
|
|
|
<i class="fa fa-code section-icon" bs-tooltip="tooltip.title" data-title="Full Image ID"></i>
|
|
|
|
<span class="section-info">
|
2015-04-20 21:42:33 +00:00
|
|
|
<a class="current-image-link" ng-href="{{ tracker.imageLink(image) }}">
|
2015-03-12 00:47:12 +00:00
|
|
|
{{ imageData.id }}
|
|
|
|
</a>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Tags -->
|
|
|
|
<div class="image-section">
|
|
|
|
<i class="fa fa-tag section-icon" data-title="Current Tags" bs-tooltip></i>
|
|
|
|
<span class="section-info section-info-with-dropdown">
|
2015-11-03 23:15:23 +00:00
|
|
|
<a class="label tag label-default" ng-repeat="tag in getTags(imageData)"
|
2015-03-12 00:47:12 +00:00
|
|
|
href="javascript:void(0)" ng-click="tagSelected({'tag': tag})">
|
|
|
|
{{ tag }}
|
|
|
|
</a>
|
2015-11-03 23:15:23 +00:00
|
|
|
<span style="color: #ccc;" ng-if="!getTags(imageData).length">(No Tags)</span>
|
2015-03-12 00:47:12 +00:00
|
|
|
|
|
|
|
<div class="dropdown" data-placement="top"
|
2015-11-03 23:15:23 +00:00
|
|
|
ng-if="tracker.repository.can_write || getTags(imageData)">
|
2015-03-12 00:47:12 +00:00
|
|
|
<a href="javascript:void(0)" class="dropdown-button" data-toggle="dropdown"
|
|
|
|
bs-tooltip="tooltip.title" data-title="Manage Tags"
|
|
|
|
data-container="body">
|
|
|
|
<b class="caret"></b>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<ul class="dropdown-menu pull-right">
|
2015-11-03 23:15:23 +00:00
|
|
|
<li ng-repeat="tag in getTags(imageData)">
|
2015-03-12 00:47:12 +00:00
|
|
|
<a href="javascript:void(0)" ng-click="tagSelected({'tag': tag})">
|
|
|
|
<i class="fa fa-tag"></i>{{ tag }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider" role="presentation"
|
|
|
|
ng-if="tracker.repository.can_write && imageData.tags"></li>
|
|
|
|
<li>
|
|
|
|
<a href="javascript:void(0)"
|
|
|
|
ng-click="addTagRequested({'image': image})"
|
|
|
|
ng-if="tracker.repository.can_write">
|
|
|
|
<i class="fa fa-plus"></i>Add New Tag
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Command -->
|
|
|
|
<div class="image-section" ng-if="imageData.command && imageData.command.length">
|
|
|
|
<i class="fa fa-terminal section-icon" data-title="Image Command" bs-tooltip></i>
|
|
|
|
<span class="section-info">
|
|
|
|
<span class="formatted-command trimmed"
|
|
|
|
data-html="true"
|
|
|
|
data-title="{{ getTooltipCommand(imageData) }}"
|
|
|
|
data-placement="top" bs-tooltip>{{ getFormattedCommand(imageData) }}</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Created -->
|
|
|
|
<div class="image-section">
|
|
|
|
<i class="fa fa-calendar section-icon" data-title="Created" bs-tooltip></i>
|
|
|
|
<span class="section-info">
|
|
|
|
<dd am-time-ago="parseDate(imageData.created)"></dd>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Size -->
|
|
|
|
<div class="image-section">
|
|
|
|
<i class="fa fa-cloud-upload section-icon"
|
|
|
|
data-title="The amount of data sent between Docker and the registry when pushing/pulling"
|
|
|
|
bs-tooltip></i>
|
|
|
|
<span class="section-info">{{ imageData.size | bytes }}</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Locations -->
|
2015-07-31 20:31:29 +00:00
|
|
|
<div class="image-section" ng-if="imageData.locations">
|
2015-03-12 00:47:12 +00:00
|
|
|
<i class="fa fa-map-marker section-icon"
|
|
|
|
data-title="The geographic region(s) in which this image data is located"
|
|
|
|
bs-tooltip></i>
|
|
|
|
<span class="section-info">
|
|
|
|
<span class="location-view" location="location"
|
|
|
|
ng-repeat="location in imageData.locations"></span>
|
|
|
|
</span>
|
|
|
|
</div>
|
2015-03-30 21:55:04 +00:00
|
|
|
</div>
|