portainer/partials/image.html

103 lines
2.9 KiB
HTML
Raw Normal View History

2013-06-18 23:28:22 +00:00
<div ng-include="template" ng-controller="StartContainerController"></div>
2013-08-08 19:18:51 +00:00
<div class="alert alert-error" id="error-message" style="display:none">
{{ error }}
</div>
<div class="detail">
2013-06-18 23:28:22 +00:00
2013-06-09 23:11:40 +00:00
<h4>Image: {{ image.id }}</h4>
2013-06-18 23:28:22 +00:00
<div class="btn-group detail">
<button class="btn btn-success" ng-click="create()">Create</button>
</div>
2013-06-09 23:11:40 +00:00
<table class="table table-striped">
<tbody>
<tr>
<td>Created:</td>
<td>{{ image.created }}</td>
</tr>
<tr>
<td>Parent:</td>
2013-06-10 01:31:05 +00:00
<td><a href="/#/images/{{ image.parent }}/">{{ image.parent }}</a></td>
2013-06-09 23:11:40 +00:00
</tr>
<tr>
<td>Container:</td>
2013-06-10 01:31:05 +00:00
<td><a href="/#/containers/{{ image.container }}/">{{ image.container }}</a></td>
2013-06-09 23:11:40 +00:00
</tr>
2013-06-22 18:23:25 +00:00
<tr>
<td>Size:</td>
<td>{{ image.Size|humansize }}</td>
</tr>
2013-06-09 23:11:40 +00:00
<tr>
<td>Hostname:</td>
<td>{{ image.container_config.Hostname }}</td>
</tr>
<tr>
<td>User:</td>
<td>{{ image.container_config.User }}</td>
</tr>
<tr>
<td>Cmd:</td>
<td>{{ image.container_config.Cmd }}</td>
</tr>
<tr>
<td>Volumes:</td>
<td>{{ image.container_config.Volumes }}</td>
</tr>
<tr>
<td>Volumes from:</td>
<td>{{ image.container_config.VolumesFrom }}</td>
</tr>
2013-06-22 18:23:25 +00:00
<tr>
<td>Comment:</td>
<td>{{ image.comment }}</td>
</tr>
2013-06-09 23:11:40 +00:00
</tbody>
</table>
2013-06-22 18:23:25 +00:00
2013-06-09 23:11:40 +00:00
<div class="row-fluid">
<div class="span1">
History:
</div>
<div class="span5">
<i class="icon-refresh" style="width:32px;height:32px;" ng-click="getHistory()"></i>
</div>
</div>
<div class="well well-large">
<ul>
<li ng-repeat="change in history">
<strong>{{ change.Id }}</strong>: Created: {{ change.Created|getdate }} Created by: {{ change.CreatedBy }}
</li>
</ul>
</div>
<hr />
<div class="row-fluid">
2013-06-15 01:02:22 +00:00
<form class="form-inline">
2013-06-09 23:11:40 +00:00
<fieldset>
2013-06-15 01:02:22 +00:00
<legend>Tag image</legend>
<label>Tag:</label>
2013-06-15 01:46:41 +00:00
<input type="text" placeholder="repo..." ng-model="tag.repo">
2013-06-09 23:11:40 +00:00
<label class="checkbox">
<input type="checkbox" ng-model="tag.force"/> Force?
</label>
2013-06-15 01:02:22 +00:00
<input type="button" ng-click="updateTag()" value="Tag" class="btn btn-info"/>
2013-06-09 23:11:40 +00:00
</fieldset>
</form>
</div>
<hr />
2013-06-09 23:11:40 +00:00
<div class="btn-remove">
<button class="btn btn-large btn-block btn-primary btn-danger" ng-click="remove()">Remove Image</button>
</div>
</div>