Work in progress: new image view
This commit is contained in:
parent
3959ea2ff9
commit
049148cb87
9 changed files with 325 additions and 92 deletions
15
static/directives/image-view-layer.html
Normal file
15
static/directives/image-view-layer.html
Normal file
|
@ -0,0 +1,15 @@
|
|||
<div class="image-view-layer-element" ng-class="getClass()">
|
||||
<div class="image-id">
|
||||
<a href="/repository/{{ repository.namespace }}/{{ repository.name }}/image/{{ image.id }}">
|
||||
{{ image.id.substr(0, 12) }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="image-comment" ng-if="image.comment">{{ image.comment }}</div>
|
||||
<div class="image-command">
|
||||
<div class="nondocker-command" ng-if="!getDockerfileCommand(image.command) && image.command.length">{{ image.command.join(' ') }}</div>
|
||||
<div class="dockerfile-command" command="getDockerfileCommand(image.command)"
|
||||
ng-if="getDockerfileCommand(image.command)"></div>
|
||||
</div>
|
||||
<div class="image-layer-dot"></div>
|
||||
<div class="image-layer-line"></div>
|
||||
</div>
|
Reference in a new issue