|
|
@ -39,7 +39,7 @@
|
|
|
|
<tr>
|
|
|
|
<tr>
|
|
|
|
<th></th>
|
|
|
|
<th></th>
|
|
|
|
<th>
|
|
|
|
<th>
|
|
|
|
<a ui-sref="containers" ng-click="order('State')">
|
|
|
|
<a ui-sref="containers" ng-click="order('Status')">
|
|
|
|
State
|
|
|
|
State
|
|
|
|
<span ng-show="sortType == 'State' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == 'State' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == 'State' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
<span ng-show="sortType == 'State' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
@ -52,7 +52,7 @@
|
|
|
|
<span ng-show="sortType == 'Names' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
<span ng-show="sortType == 'Names' && sortReverse" class="glyphicon glyphicon-chevron-up"></span>
|
|
|
|
</a>
|
|
|
|
</a>
|
|
|
|
</th>
|
|
|
|
</th>
|
|
|
|
<th>
|
|
|
|
<th ng-if="state.displayIP">
|
|
|
|
<a ui-sref="containers" ng-click="order('IP')">
|
|
|
|
<a ui-sref="containers" ng-click="order('IP')">
|
|
|
|
IP Address
|
|
|
|
IP Address
|
|
|
|
<span ng-show="sortType == 'IP' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
|
<span ng-show="sortType == 'IP' && !sortReverse" class="glyphicon glyphicon-chevron-down"></span>
|
|
|
@ -85,10 +85,10 @@
|
|
|
|
<tbody>
|
|
|
|
<tbody>
|
|
|
|
<tr ng-repeat="container in (state.filteredContainers = ( containers | filter:state.filter | orderBy:sortType:sortReverse))">
|
|
|
|
<tr ng-repeat="container in (state.filteredContainers = ( containers | filter:state.filter | orderBy:sortType:sortReverse))">
|
|
|
|
<td><input type="checkbox" ng-model="container.Checked" ng-change="selectItem(container)"/></td>
|
|
|
|
<td><input type="checkbox" ng-model="container.Checked" ng-change="selectItem(container)"/></td>
|
|
|
|
<td><span class="label label-{{ container.State|containerstatusbadge }}">{{ container.State }}</span></td>
|
|
|
|
<td><span class="label label-{{ container.Status|containerstatusbadge }}">{{ container.Status|containerstatus }}</span></td>
|
|
|
|
<td ng-if="swarm"><a ui-sref="container({id: container.Id})">{{ container|swarmcontainername}}</a></td>
|
|
|
|
<td ng-if="swarm"><a ui-sref="container({id: container.Id})">{{ container|swarmcontainername}}</a></td>
|
|
|
|
<td ng-if="!swarm"><a ui-sref="container({id: container.Id})">{{ container|containername}}</a></td>
|
|
|
|
<td ng-if="!swarm"><a ui-sref="container({id: container.Id})">{{ container|containername}}</a></td>
|
|
|
|
<td>{{ container.IP ? container.IP : '-' }}</td>
|
|
|
|
<td ng-if="state.displayIP">{{ container.IP ? container.IP : '-' }}</td>
|
|
|
|
<td ng-if="swarm">{{ container|swarmhostname}}</td>
|
|
|
|
<td ng-if="swarm">{{ container|swarmhostname}}</td>
|
|
|
|
<td><a ui-sref="image({id: container.Image})">{{ container.Image }}</a></td>
|
|
|
|
<td><a ui-sref="image({id: container.Image})">{{ container.Image }}</a></td>
|
|
|
|
<td>{{ container.Command|truncate:60 }}</td>
|
|
|
|
<td>{{ container.Command|truncate:60 }}</td>
|
|
|
|