portainer/app/components/containers/containers.html

46 lines
1.9 KiB
HTML
Raw Normal View History

2013-06-09 00:12:14 +00:00
<h2>Containers:</h2>
2013-06-19 21:39:33 +00:00
<div>
<ul class="nav nav-pills pull-left">
<li class="dropdown">
<a class="dropdown-toggle" id="drop4" role="button" data-toggle="dropdown" data-target="#">Actions <b class="caret"></b></a>
2013-06-19 21:39:33 +00:00
<ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
<li><a tabindex="-1" href="" ng-click="startAction()">Start</a></li>
<li><a tabindex="-1" href="" ng-click="stopAction()">Stop</a></li>
<li><a tabindex="-1" href="" ng-click="killAction()">Kill</a></li>
<li><a tabindex="-1" href="" ng-click="pauseAction()">Pause</a></li>
<li><a tabindex="-1" href="" ng-click="unpauseAction()">Unpause</a></li>
2013-06-19 21:39:33 +00:00
<li><a tabindex="-1" href="" ng-click="removeAction()">Remove</a></li>
</ul>
</li>
</ul>
<div class="pull-right">
<input type="checkbox" ng-model="displayAll"
2015-01-04 00:39:40 +00:00
ng-change="toggleGetAll()"/> Display All
2013-06-19 21:39:33 +00:00
</div>
2013-06-09 23:56:54 +00:00
</div>
2013-06-09 00:12:14 +00:00
<table class="table table-striped">
<thead>
<tr>
<th><input type="checkbox" ng-model="toggle" ng-change="toggleSelectAll()" /> Action</th>
<th>Name</th>
2013-06-09 00:12:14 +00:00
<th>Image</th>
<th>Command</th>
<th>Created</th>
<th>Status</th>
</tr>
</thead>
<tbody>
2013-06-09 23:56:54 +00:00
<tr ng-repeat="container in containers|orderBy:predicate">
2013-06-19 21:39:33 +00:00
<td><input type="checkbox" ng-model="container.Checked" /></td>
<td><a href="#/containers/{{ container.Id }}/">{{ container|containername}}</a></td>
<td><a href="#/images/{{ container.Image }}/">{{ container.Image }}</a></td>
2013-06-09 23:56:54 +00:00
<td>{{ container.Command|truncate:40 }}</td>
<td>{{ container.Created|getdate }}</td>
2013-06-09 00:12:14 +00:00
<td><span class="label label-{{ container.Status|statusbadge }}">{{ container.Status }}</span></td>
</tr>
</tbody>
</table>