2014-01-06 20:20:58 +00:00
|
|
|
<div id="tagContextMenu" class="dropdown clearfix" tabindex="-1">
|
|
|
|
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
|
|
|
|
<li><a tabindex="-1" href="javascript:void(0)" ng-click="askDeleteTag(currentMenuTag)">Delete Tag</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
2013-12-17 18:19:59 +00:00
|
|
|
<div class="resource-view" resource="repository" error-message="'No Repository Found'">
|
2014-03-05 20:23:01 +00:00
|
|
|
<div class="container-fluid repo repo-view">
|
2013-12-17 18:19:59 +00:00
|
|
|
<!-- Repo Header -->
|
|
|
|
<div class="header">
|
|
|
|
<h3>
|
2014-02-18 19:46:56 +00:00
|
|
|
<span class="repo-circle no-background" repo="repo"></span>
|
2014-02-15 03:59:44 +00:00
|
|
|
<span class="repo-breadcrumb" repo="repo"></span>
|
2013-12-17 18:19:59 +00:00
|
|
|
</h3>
|
|
|
|
|
2014-02-15 03:59:44 +00:00
|
|
|
<div class="repo-controls">
|
|
|
|
<!-- Builds -->
|
|
|
|
<div class="dropdown" data-placement="top" style="display: inline-block"
|
2014-03-12 04:49:46 +00:00
|
|
|
bs-tooltip=""
|
2014-04-11 22:21:13 +00:00
|
|
|
data-title="{{ runningBuilds.length ? 'Dockerfile Builds Running: ' + (runningBuilds.length) : 'Dockerfile Build' }}"
|
2014-08-22 22:03:22 +00:00
|
|
|
quay-show="Features.BUILD_SUPPORT && (repo.can_write || buildHistory.length)">
|
2014-02-15 03:59:44 +00:00
|
|
|
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<i class="fa fa-tasks fa-lg"></i>
|
2014-03-05 20:53:00 +00:00
|
|
|
<span class="count" ng-class="runningBuilds.length ? 'visible' : ''"><span>{{ runningBuilds.length ? runningBuilds.length : '' }}</span></span>
|
2014-02-15 03:59:44 +00:00
|
|
|
<b class="caret"></b>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li ng-show="repo.can_write"><a href="{{ '/repository/' + repo.namespace + '/' + repo.name + '/build' }}">
|
|
|
|
<i class="fa fa-tasks"></i>Dockerfile Build History</a>
|
|
|
|
</li>
|
|
|
|
<li ng-show="repo.can_write">
|
|
|
|
<a href="javascript:void(0)" ng-click="showNewBuildDialog()">
|
|
|
|
<i class="fa fa-plus" style="margin-left: 1px; margin-right: 8px;"></i>New Dockerfile Build
|
|
|
|
</a>
|
|
|
|
</li>
|
2014-02-25 20:25:24 +00:00
|
|
|
<li ng-show="repo.can_admin">
|
|
|
|
<a href="/repository/{{ repo.namespace }}/{{ repo.name }}/admin?tab=trigger">
|
2014-02-26 23:43:16 +00:00
|
|
|
<i class="fa fa-bolt" style="margin-left: 3px; margin-right: 10px;"></i>Build Triggers
|
2014-02-25 20:25:24 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
2014-03-05 20:53:00 +00:00
|
|
|
<li role="presentation" class="divider" ng-show="buildHistory && repo.can_write"></li>
|
|
|
|
<li role="presentation" class="dropdown-header" ng-show="buildHistory.length">Recent Builds</li>
|
|
|
|
<li ng-repeat="buildInfo in buildHistory">
|
2014-02-15 03:59:44 +00:00
|
|
|
<div class="build-info" ng-class="repo.can_write ? 'clickable' : ''" ng-click="repo.can_write && showBuild(buildInfo)">
|
2014-02-10 06:18:14 +00:00
|
|
|
<span class="build-status" build="buildInfo"></span>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2014-02-10 20:15:23 +00:00
|
|
|
</div>
|
2014-02-15 03:59:44 +00:00
|
|
|
|
|
|
|
<!-- Admin -->
|
|
|
|
<a id="admin-cog" href="{{ '/repository/' + repo.namespace + '/' + repo.name + '/admin' }}"
|
|
|
|
ng-show="repo.can_admin">
|
2014-04-11 22:21:13 +00:00
|
|
|
<button class="btn btn-default" data-title="Repository Settings" bs-tooltip="tooltip" data-placement="top">
|
2014-02-15 03:59:44 +00:00
|
|
|
<i class="fa fa-cog fa-lg"></i></button></a>
|
|
|
|
|
|
|
|
<!-- Pull Command -->
|
|
|
|
<span class="pull-command visible-md-inline">
|
2014-09-18 19:56:59 +00:00
|
|
|
<div class="pull-container" ng-show="currentPullCommand">
|
|
|
|
<button class="pull-selector dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<i class="fa" ng-class="currentPullCommand.icon"></i>
|
|
|
|
{{ currentPullCommand.shortTitle }}
|
|
|
|
<b class="caret"></b>
|
|
|
|
</button>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<li ng-repeat="pullCommand in pullCommands">
|
|
|
|
<a href="javascript:void(0)" ng-click="setCurrentPullCommand(pullCommand)"><i class="fa" ng-class="pullCommand.icon"></i>
|
|
|
|
{{ pullCommand.title }}
|
|
|
|
<sup ng-if="pullCommand.experimental">Experimental</sup>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="copy-box" hovering-message="true" value="currentPullCommand.command"></div>
|
2014-02-15 03:59:44 +00:00
|
|
|
</div>
|
|
|
|
</span>
|
2013-09-27 20:28:21 +00:00
|
|
|
</div>
|
2013-09-26 22:21:29 +00:00
|
|
|
</div>
|
2013-09-26 21:59:20 +00:00
|
|
|
|
2013-12-17 18:19:59 +00:00
|
|
|
<!-- Description -->
|
|
|
|
<div class="description markdown-input" content="repo.description" can-write="repo.can_write"
|
|
|
|
content-changed="updateForDescription" field-title="'repository description'"></div>
|
2013-09-27 20:12:51 +00:00
|
|
|
|
2014-08-13 21:54:15 +00:00
|
|
|
<!-- Empty messages -->
|
|
|
|
<div ng-if="!currentTag.image_id && !currentImage">
|
|
|
|
<!-- !building && !pushing -->
|
|
|
|
<div class="repo-content" ng-show="!repo.is_building && !isPushing(images)">
|
|
|
|
<div class="empty-message">
|
|
|
|
This repository is empty
|
|
|
|
</div>
|
2013-09-26 22:21:29 +00:00
|
|
|
|
2014-08-13 21:54:15 +00:00
|
|
|
<div class="empty-description" ng-show="repo.can_write">
|
|
|
|
<div class="panel-default">
|
|
|
|
<div class="panel-heading">How to push a new image to this repository:</div>
|
|
|
|
<div class="panel-body">
|
|
|
|
First login to the registry (if you have not done so already):
|
|
|
|
<pre class="command">sudo docker login {{ Config.getDomain() }}</pre>
|
2014-03-08 02:06:31 +00:00
|
|
|
|
2014-08-13 21:54:15 +00:00
|
|
|
Tag an image to this repository:
|
|
|
|
<pre class="command">sudo docker tag <i>0u123imageidgoeshere</i> {{ Config.getDomain() }}/{{repo.namespace}}/{{repo.name}}</pre>
|
2014-03-08 02:06:31 +00:00
|
|
|
|
2014-08-13 21:54:15 +00:00
|
|
|
Push the image to this repository:
|
|
|
|
<pre class="command">sudo docker push {{ Config.getDomain() }}/{{repo.namespace}}/{{repo.name}}</pre>
|
|
|
|
</div>
|
2014-03-08 02:06:31 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
2014-03-08 02:06:31 +00:00
|
|
|
|
2014-08-13 21:54:15 +00:00
|
|
|
<!-- building -->
|
|
|
|
<div class="repo-content" ng-show="repo.is_building">
|
|
|
|
<div class="empty-message">
|
|
|
|
A build is currently processing. If this takes longer than an hour, please <a href="/contact">contact us</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-21 21:03:11 +00:00
|
|
|
|
2014-08-13 21:54:15 +00:00
|
|
|
<!-- pushing -->
|
|
|
|
<div class="repo-content" ng-show="!repo.is_building && isPushing(images)">
|
|
|
|
<div class="empty-message">
|
|
|
|
A push to this repository is in progress.
|
|
|
|
</div>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
2013-11-21 21:03:11 +00:00
|
|
|
</div>
|
2013-09-26 21:59:20 +00:00
|
|
|
|
2013-12-17 18:19:59 +00:00
|
|
|
<!-- Content view -->
|
2014-07-17 19:16:22 +00:00
|
|
|
<div class="repo-content" ng-show="currentTag.image_id || currentImage">
|
2013-12-17 18:19:59 +00:00
|
|
|
<!-- Image History -->
|
2014-10-29 16:07:39 +00:00
|
|
|
<div id="image-history">
|
2013-12-17 18:19:59 +00:00
|
|
|
<div class="row">
|
|
|
|
<!-- Tree View container -->
|
|
|
|
<div class="col-md-8">
|
2014-01-09 23:54:59 +00:00
|
|
|
<div class="panel panel-default">
|
2013-12-17 18:19:59 +00:00
|
|
|
<!-- Image history tree -->
|
|
|
|
<div class="resource-view" resource="imageHistory">
|
|
|
|
<div id="image-history-container" onresize="tree.notifyResized()"></div>
|
2013-10-29 17:41:26 +00:00
|
|
|
</div>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Side Panel -->
|
|
|
|
<div class="col-md-4">
|
2014-02-07 01:58:26 +00:00
|
|
|
<div id="side-panel" class="panel panel-default">
|
2013-12-17 18:19:59 +00:00
|
|
|
<div class="panel-heading">
|
2014-01-09 23:54:59 +00:00
|
|
|
<!-- Dropdown -->
|
2014-02-07 01:58:26 +00:00
|
|
|
<div id="side-panel-dropdown" class="tag-dropdown dropdown" data-placement="top">
|
2014-02-28 05:12:09 +00:00
|
|
|
<i class="fa fa-tag current-context-icon" ng-show="currentTag"></i>
|
|
|
|
<i class="fa fa-archive current-context-icon" ng-show="!currentTag"></i>
|
|
|
|
<a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<span class="current-context">
|
|
|
|
{{currentTag ? currentTag.name : currentImage.id.substr(0, 12)}}
|
|
|
|
</span>
|
|
|
|
<b class="caret"></b></a>
|
2013-12-17 18:19:59 +00:00
|
|
|
<ul class="dropdown-menu">
|
2014-01-09 23:54:59 +00:00
|
|
|
<li ng-repeat="tag in repo.tags">
|
|
|
|
<a href="javascript:void(0)" ng-click="setTag(tag.name, true)">
|
|
|
|
<i class="fa fa-tag"></i>{{tag.name}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2013-12-17 18:19:59 +00:00
|
|
|
<li ng-repeat="image in imageHistory.value">
|
2014-01-09 23:54:59 +00:00
|
|
|
<a href="javascript:void(0)" ng-click="setImage(image.id, true)">
|
|
|
|
{{image.id.substr(0, 12)}}
|
|
|
|
</a>
|
2013-12-17 18:19:59 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2013-10-20 17:47:47 +00:00
|
|
|
</div>
|
2014-01-09 23:54:59 +00:00
|
|
|
<span class="right-tag-controls">
|
2014-04-11 22:21:13 +00:00
|
|
|
<i class="fa fa-tag" data-title="Tags" bs-tooltip="title">
|
2014-01-09 23:54:59 +00:00
|
|
|
<span class="tag-count">{{getTagCount(repo)}}</span>
|
|
|
|
</i>
|
2014-04-11 22:21:13 +00:00
|
|
|
<i class="fa fa-archive" data-title="Images" bs-tooltip="title">
|
2014-01-09 23:54:59 +00:00
|
|
|
<span class="tag-count">{{imageHistory.value.length}}</span>
|
|
|
|
</i>
|
|
|
|
</span>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="panel-body">
|
2014-01-09 23:54:59 +00:00
|
|
|
<!-- Current Tag -->
|
|
|
|
<div id="current-tag" ng-show="currentTag">
|
|
|
|
<dl class="dl-normal">
|
|
|
|
<dt>Last Modified</dt>
|
2014-07-17 19:16:22 +00:00
|
|
|
<dd ng-if="!findImageForTag(currentTag, images)">
|
|
|
|
<span class="quay-spinner"></span>
|
|
|
|
</dd>
|
|
|
|
|
|
|
|
<dd am-time-ago="parseDate(findImageForTag(currentTag, images).created)"
|
|
|
|
ng-if="findImageForTag(currentTag, images)">
|
|
|
|
</dd>
|
|
|
|
|
2014-01-09 23:54:59 +00:00
|
|
|
<dt>Total Compressed Size</dt>
|
|
|
|
<dd><span class="context-tooltip"
|
2014-08-08 17:50:04 +00:00
|
|
|
data-title="The amount of data sent between Docker and the registry when pushing/pulling"
|
2014-01-09 23:54:59 +00:00
|
|
|
bs-tooltip="tooltip.title" data-container="body">{{ getTotalSize(currentTag) | bytes }}</span>
|
|
|
|
</dd>
|
|
|
|
</dl>
|
|
|
|
|
|
|
|
<div class="tag-image-sizes">
|
|
|
|
<div class="tag-image-size" ng-repeat="image in getImagesForTagBySize(currentTag) | limitTo: 10">
|
2014-01-11 08:12:16 +00:00
|
|
|
<span class="size-limiter">
|
|
|
|
<span class="size-bar" style="{{ 'width:' + (image.size / getTotalSize(currentTag)) * 100 + '%' }}"
|
2014-04-11 22:21:13 +00:00
|
|
|
bs-tooltip="" data-title="{{ image.size | bytes }}"></span>
|
2014-01-11 08:12:16 +00:00
|
|
|
</span>
|
2014-05-19 18:14:18 +00:00
|
|
|
<span class="size-title">
|
|
|
|
<a class="image-size-link" href="javascript:void(0)" ng-click="setImage(image.id, true)"
|
|
|
|
data-image="{{ image.id.substr(0, 12) }}">
|
|
|
|
{{ image.id.substr(0, 12) }}
|
|
|
|
</a>
|
|
|
|
</span>
|
2014-01-09 23:54:59 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2014-01-11 08:12:16 +00:00
|
|
|
<div class="control-bar" ng-show="repo.can_admin">
|
2014-01-09 23:54:59 +00:00
|
|
|
<button class="btn btn-default" ng-click="askDeleteTag(currentTag.name)">
|
|
|
|
Delete Tag
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Current Image -->
|
|
|
|
<div id="current-image" ng-show="currentImage && !currentTag">
|
2014-02-28 05:12:09 +00:00
|
|
|
<div class="image-comment" ng-if="currentImage.comment">
|
2013-12-17 18:19:59 +00:00
|
|
|
<blockquote style="margin-top: 10px;">
|
|
|
|
<span class="markdown-view" content="currentImage.comment"></span>
|
|
|
|
</blockquote>
|
2013-10-20 17:47:47 +00:00
|
|
|
</div>
|
|
|
|
|
2014-02-28 05:12:09 +00:00
|
|
|
<div class="image-section">
|
2014-04-15 19:58:30 +00:00
|
|
|
<i class="fa fa-code section-icon" bs-tooltip="tooltip.title" data-title="Full Image ID"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<span class="section-info">
|
2014-05-19 18:14:18 +00:00
|
|
|
<a class="image-link" href="{{'/repository/' + repo.namespace + '/' + repo.name + '/image/' + currentImage.id}}">{{ currentImage.id }}</a>
|
2014-02-28 05:12:09 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="image-section">
|
2014-04-15 19:58:30 +00:00
|
|
|
<i class="fa fa-tag section-icon" bs-tooltip="tooltip.title" data-title="Current Tags"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<span class="section-info section-info-with-dropdown">
|
|
|
|
<a class="label tag label-default" ng-repeat="tag in currentImage.tags"
|
|
|
|
href="/repository/{{ repo.namespace }}/{{ repo.name }}?tag={{ tag }}">
|
|
|
|
{{ tag }}
|
|
|
|
</a>
|
|
|
|
<span style="color: #ccc;" ng-if="!currentImage.tags.length">(No Tags)</span>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="dropdown" data-placement="top" ng-if="repo.can_write || currentImage.tags">
|
2014-04-15 19:58:30 +00:00
|
|
|
<a href="javascript:void(0)" class="dropdown-button" data-toggle="dropdown" bs-tooltip="tooltip.title" data-title="Manage Tags"
|
2014-02-28 05:12:09 +00:00
|
|
|
data-container="body">
|
|
|
|
<b class="caret"></b>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu pull-right">
|
|
|
|
<li ng-repeat="tag in currentImage.tags">
|
|
|
|
<a href="javascript:void(0)" ng-click="setTag(tag, true)">
|
|
|
|
<i class="fa fa-tag"></i>{{tag}}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider" role="presentation" ng-if="repo.can_write && currentImage.tags"></li>
|
|
|
|
<li>
|
|
|
|
<a href="javascript:void(0)" ng-click="showAddTag(currentImage)" ng-if="repo.can_write">
|
|
|
|
<i class="fa fa-plus"></i>Add New Tag
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="image-section" ng-if="currentImage.command && currentImage.command.length">
|
2014-04-15 19:58:30 +00:00
|
|
|
<i class="fa fa-terminal section-icon" bs-tooltip="tooltip.title" data-title="Image Command"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<span class="section-info">
|
|
|
|
<span class="formatted-command trimmed"
|
2014-03-26 23:42:29 +00:00
|
|
|
data-html="true"
|
2014-04-15 19:58:30 +00:00
|
|
|
bs-tooltip="" data-title="{{ getTooltipCommand(currentImage) }}"
|
2014-02-28 05:12:09 +00:00
|
|
|
data-placement="top">{{ getFormattedCommand(currentImage) }}</span>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="image-section">
|
2014-04-15 19:58:30 +00:00
|
|
|
<i class="fa fa-calendar section-icon" bs-tooltip="tooltip.title" data-title="Created"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<span class="section-info">
|
|
|
|
<dd am-time-ago="parseDate(currentImage.created)"></dd>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="image-section">
|
|
|
|
<i class="fa fa-cloud-upload section-icon" bs-tooltip="tooltip.title"
|
2014-08-08 17:50:04 +00:00
|
|
|
data-title="The amount of data sent between Docker and the registry when pushing/pulling"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<span class="section-info">{{ currentImage.size | bytes }}</span>
|
2014-06-24 22:48:42 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="image-section">
|
|
|
|
<i class="fa fa-map-marker section-icon" bs-tooltip="tooltip.title"
|
|
|
|
data-title="The geographic region(s) in which this image data is located"></i>
|
|
|
|
<span class="section-info">
|
|
|
|
<span class="location-view" location="location" ng-repeat="location in currentImage.locations"></span>
|
|
|
|
</span>
|
2014-02-28 05:12:09 +00:00
|
|
|
</div>
|
2013-12-17 18:19:59 +00:00
|
|
|
|
|
|
|
<!-- Image changes loading -->
|
|
|
|
<div class="resource-view" resource="currentImageChangeResource">
|
2014-02-28 05:12:09 +00:00
|
|
|
<div class="changes-container small-changes-container section-info"
|
2013-12-17 18:19:59 +00:00
|
|
|
ng-show="currentImageChanges.changed.length || currentImageChanges.added.length || currentImageChanges.removed.length">
|
2014-02-28 05:12:09 +00:00
|
|
|
<div class="changes-count-container image-section">
|
2014-04-15 19:58:30 +00:00
|
|
|
<i class="fa fa-code-fork section-icon" bs-tooltip="tooltip.title" data-title="File Changes"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<div style="float: right; display: inline-block">
|
2014-04-15 19:58:30 +00:00
|
|
|
<span class="change-count added" ng-show="currentImageChanges.added.length > 0" data-title="Files Added"
|
2014-02-28 05:12:09 +00:00
|
|
|
bs-tooltip="tooltip.title" data-placement="top" data-container="body">
|
2013-12-17 18:19:59 +00:00
|
|
|
<i class="fa fa-plus-square"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<b>{{currentImageChanges.added.length}}</b>
|
|
|
|
</span>
|
2014-04-15 19:58:30 +00:00
|
|
|
<span class="change-count removed" ng-show="currentImageChanges.removed.length > 0" data-title="Files Removed"
|
2014-02-28 05:12:09 +00:00
|
|
|
bs-tooltip="tooltip.title" data-placement="top" data-container="body">
|
2013-12-17 18:19:59 +00:00
|
|
|
<i class="fa fa-minus-square"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<b>{{currentImageChanges.removed.length}}</b>
|
|
|
|
</span>
|
2014-04-15 19:58:30 +00:00
|
|
|
<span class="change-count changed" ng-show="currentImageChanges.changed.length > 0" data-title="Files Changed"
|
2014-02-28 05:12:09 +00:00
|
|
|
bs-tooltip="tooltip.title" data-placement="top" data-container="body">
|
2013-12-17 18:19:59 +00:00
|
|
|
<i class="fa fa-pencil-square"></i>
|
2014-02-28 05:12:09 +00:00
|
|
|
<b>{{currentImageChanges.changed.length}}</b>
|
|
|
|
</span>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
2014-02-28 05:12:09 +00:00
|
|
|
<div id="collapseChanges" style="padding-top: 24px;">
|
|
|
|
<div class="well well-sm">
|
|
|
|
<div class="change added" ng-repeat="file in currentImageChanges.added | limitTo:2">
|
|
|
|
<i class="fa fa-plus-square"></i>
|
|
|
|
<span title="{{file}}">{{file}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="change removed" ng-repeat="file in currentImageChanges.removed | limitTo:2">
|
|
|
|
<i class="fa fa-minus-square"></i>
|
|
|
|
<span title="{{file}}">{{file}}</span>
|
|
|
|
</div>
|
|
|
|
<div class="change changed" ng-repeat="file in currentImageChanges.changed | limitTo:2">
|
|
|
|
<i class="fa fa-pencil-square"></i>
|
|
|
|
<span title="{{file}}">{{file}}</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="more-changes" ng-show="getMoreCount(currentImageChanges) > 0">
|
|
|
|
<a href="{{'/repository/' + repo.namespace + '/' + repo.name + '/image/' + currentImage.id}}">
|
|
|
|
And {{getMoreCount(currentImageChanges)}} more...
|
|
|
|
</a>
|
|
|
|
</div>
|
2013-10-20 17:47:47 +00:00
|
|
|
</div>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
2013-10-20 17:47:47 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-17 18:19:59 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-10-12 01:28:02 +00:00
|
|
|
</div>
|
2013-10-02 04:43:59 +00:00
|
|
|
</div>
|
2013-09-27 21:01:45 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-26 21:59:20 +00:00
|
|
|
</div>
|
2014-01-06 20:20:58 +00:00
|
|
|
|
2014-02-15 03:59:44 +00:00
|
|
|
<div class="dockerfile-build-dialog" show-now="buildDialogShowCounter" repository="repo"
|
|
|
|
build-started="handleBuildStarted(build)">
|
|
|
|
</div>
|
|
|
|
|
2014-02-28 05:12:09 +00:00
|
|
|
<!-- Modal message dialog -->
|
|
|
|
<div class="modal fade" id="addTagModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true" ng-show="!creatingTag">×</button>
|
|
|
|
<h4 class="modal-title">{{ isAnotherImageTag(toTagImage, tagToCreate) ? 'Move' : 'Add' }} Tag to Image {{ toTagImage.id.substr(0, 12) }}</h4>
|
|
|
|
</div>
|
|
|
|
<form name="addTagForm" ng-submit="createOrMoveTag(toTagImage, tagToCreate, addTagForm.$invalid); addTagForm.$setPristine(); tagToCreate=''">
|
|
|
|
<div class="modal-body">
|
|
|
|
<input type="text" class="form-control" id="tagName" placeholder="Enter tag name"
|
2014-05-02 05:43:10 +00:00
|
|
|
ng-model="tagToCreate" ng-pattern="/^([a-z0-9_\.-]){3,30}$/" required
|
2014-08-05 22:16:30 +00:00
|
|
|
ng-disabled="creatingTag" autofocus>
|
2014-02-28 05:12:09 +00:00
|
|
|
<div style="margin: 10px; margin-top: 20px;" ng-show="isOwnedTag(toTagImage, tagToCreate)">
|
|
|
|
Note: <span class="label tag label-default">{{ tagToCreate }}</span> is already applied to this image.
|
|
|
|
</div>
|
|
|
|
<div style="margin: 10px; margin-top: 20px;" ng-show="isAnotherImageTag(toTagImage, tagToCreate)">
|
|
|
|
Note: <span class="label tag label-default">{{ tagToCreate }}</span> is already applied to another image. This will <b>move</b> the tag.
|
|
|
|
</div>
|
2014-08-13 22:47:07 +00:00
|
|
|
<div class="tag-specific-images-view" tag="tagToCreate" repository="repo" images="images" image-cutoff="toTagImage"
|
2014-02-28 05:12:09 +00:00
|
|
|
style="margin: 10px; margin-top: 20px; margin-bottom: -10px;" ng-show="isAnotherImageTag(toTagImage, tagToCreate)">
|
|
|
|
This will also delete any unattach images and delete the following images:
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-footer">
|
|
|
|
<button type="submit" class="btn btn-primary"
|
|
|
|
ng-disabled="!tagToCreate || addTagForm.$invalid || isOwnedTag(toTagImage, tagToCreate)"
|
|
|
|
ng-class="isAnotherImageTag(toTagImage, tagToCreate) ? 'btn-warning' : 'btn-primary'" ng-show="!creatingTag">
|
|
|
|
{{ isAnotherImageTag(toTagImage, tagToCreate) ? 'Move Tag' : 'Create Tag' }}
|
|
|
|
</button>
|
|
|
|
<button class="btn btn-default" data-dismiss="modal" ng-show="!creatingTag">Cancel</button>
|
|
|
|
<div class="quay-spinner" ng-show="creatingTag"></div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|
|
|
|
|
2014-01-06 20:20:58 +00:00
|
|
|
<!-- Modal message dialog -->
|
|
|
|
<div class="modal fade" id="confirmdeleteTagModal">
|
|
|
|
<div class="modal-dialog">
|
|
|
|
<div class="modal-content">
|
|
|
|
<div class="modal-header">
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
|
2014-01-09 18:25:58 +00:00
|
|
|
<h4 class="modal-title">Delete tag
|
|
|
|
<span class="label tag" ng-class="tagToDelete == currentTag.name ? 'label-success' : 'label-default'">
|
|
|
|
{{ tagToDelete }}
|
|
|
|
</span>?
|
|
|
|
</h4>
|
2014-01-06 20:20:58 +00:00
|
|
|
</div>
|
2014-08-29 18:00:07 +00:00
|
|
|
<div class="modal-body" ng-show="deletingTag">
|
|
|
|
<div class="quay-spinner"></div>
|
|
|
|
</div>
|
|
|
|
<div class="modal-body" ng-show="!deletingTag">
|
2014-01-09 18:25:58 +00:00
|
|
|
Are you sure you want to delete tag
|
|
|
|
<span class="label tag" ng-class="tagToDelete == currentTag.name ? 'label-success' : 'label-default'">
|
|
|
|
{{ tagToDelete }}
|
|
|
|
</span>?
|
|
|
|
|
2014-02-28 05:12:09 +00:00
|
|
|
<div class="tag-specific-images-view" tag="tagToDelete" repository="repo" images="images" style="margin-top: 20px">
|
|
|
|
The following images and any other images not referenced by a tag will be deleted:
|
2014-01-09 20:15:06 +00:00
|
|
|
</div>
|
2014-01-06 20:20:58 +00:00
|
|
|
</div>
|
2014-08-29 18:00:07 +00:00
|
|
|
<div class="modal-footer" ng-show="!deletingTag">
|
2014-01-06 20:20:58 +00:00
|
|
|
<button type="button" class="btn btn-primary" ng-click="deleteTag(tagToDelete)">Delete Tag</button>
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.modal-content -->
|
|
|
|
</div><!-- /.modal-dialog -->
|
|
|
|
</div><!-- /.modal -->
|
|
|
|
|