2015-06-05 15:21:52 +00:00
|
|
|
<div ng-include="template" ng-controller="PullImageController"></div>
|
2013-06-19 01:21:27 +00:00
|
|
|
|
2016-06-08 06:23:11 +00:00
|
|
|
<rd-header>
|
2016-06-14 02:32:44 +00:00
|
|
|
<rd-header-title title="Image list">
|
|
|
|
<a data-toggle="tooltip" title="Refresh" ui-sref="images" ui-sref-opts="{reload: true}">
|
|
|
|
<i class="fa fa-refresh" aria-hidden="true"></i>
|
|
|
|
</a>
|
|
|
|
</rd-header-title>
|
|
|
|
|
2016-06-08 06:23:11 +00:00
|
|
|
<rd-header-content>Images</rd-header-content>
|
|
|
|
</rd-header>
|
|
|
|
|
2016-06-02 05:34:03 +00:00
|
|
|
<div class="col-lg-12">
|
|
|
|
<rd-widget>
|
|
|
|
<rd-widget-header icon="fa-clone" title="Images">
|
|
|
|
</rd-widget-header>
|
|
|
|
<rd-widget-taskbar classes="col-lg-12">
|
|
|
|
<div class="pull-left">
|
|
|
|
<div class="btn-group" role="group" aria-label="...">
|
|
|
|
<button type="button" class="btn btn-danger" ng-click="removeAction()" ng-disabled="!state.selectedItemCount">Remove</button>
|
|
|
|
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#pull-modal">Pull new image...</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
|
|
|
<input type="text" id="filter" ng-model="state.filter" placeholder="Filter..." class="form-control input-sm" />
|
|
|
|
</div>
|
|
|
|
</rd-widget-taskbar>
|
|
|
|
<rd-widget-body classes="no-padding">
|
|
|
|
<div class="table-responsive">
|
|
|
|
<table class="table">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
|
|
|
<th><label><input type="checkbox" ng-model="state.toggle" ng-change="toggleSelectAll()" /> Select</label></th>
|
|
|
|
<th>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="images" ng-click="order('Id')">
|
2016-06-02 05:34:03 +00:00
|
|
|
Id
|
|
|
|
<span ng-show="sortType == 'Id' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == 'Id' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
2016-03-19 22:45:45 +00:00
|
|
|
</a>
|
2016-06-02 05:34:03 +00:00
|
|
|
</th>
|
|
|
|
<th>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="images" ng-click="order('RepoTags')">
|
2016-06-02 05:34:03 +00:00
|
|
|
Repository
|
|
|
|
<span ng-show="sortType == 'RepoTags' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == 'RepoTags' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
2016-03-19 22:45:45 +00:00
|
|
|
</a>
|
2016-06-02 05:34:03 +00:00
|
|
|
</th>
|
|
|
|
<th>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="images" ng-click="order('VirtualSize')">
|
2016-06-02 05:34:03 +00:00
|
|
|
VirtualSize
|
|
|
|
<span ng-show="sortType == 'VirtualSize' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == 'VirtualSize' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
2016-03-19 22:45:45 +00:00
|
|
|
</a>
|
2016-06-02 05:34:03 +00:00
|
|
|
</th>
|
|
|
|
<th>
|
2016-06-14 02:13:52 +00:00
|
|
|
<a ui-sref="images" ng-click="order('Created')">
|
2016-06-02 05:34:03 +00:00
|
|
|
Created
|
|
|
|
<span ng-show="sortType == 'Created' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == 'Created' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
2016-03-19 22:45:45 +00:00
|
|
|
</a>
|
2016-06-02 05:34:03 +00:00
|
|
|
</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="image in (state.filteredImages = (images | filter:state.filter | orderBy:sortType:sortReverse))">
|
|
|
|
<td><input type="checkbox" ng-model="image.Checked" ng-change="selectItem(image)" /></td>
|
2016-06-14 02:13:52 +00:00
|
|
|
<td><a ui-sref="image({id: image.Id})">{{ image.Id|truncate:20}}</a></td>
|
2016-06-02 05:34:03 +00:00
|
|
|
<td>{{ image|repotag }}</td>
|
|
|
|
<td>{{ image.VirtualSize|humansize }}</td>
|
|
|
|
<td>{{ image.Created|getdate }}</td>
|
|
|
|
</tr>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</rd-widget-body>
|
|
|
|
<rd-widget>
|
|
|
|
</div>
|