1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-05 05:45:22 +02:00

Add IP address and fix navigate to container

This commit is contained in:
Michael Crosby 2014-01-07 09:40:23 -08:00
parent aa1c15bcc0
commit 49adc06c49
2 changed files with 5 additions and 1 deletions

View file

@ -33,6 +33,10 @@
<td>Hostname:</td> <td>Hostname:</td>
<td>{{ container.Config.Hostname }}</td> <td>{{ container.Config.Hostname }}</td>
</tr> </tr>
<tr>
<td>IPAddress:</td>
<td>{{ container.NetworkSettings.IPAddress }}</td>
</tr>
<tr> <tr>
<td>Cmd:</td> <td>Cmd:</td>
<td>{{ container.Config.Cmd }}</td> <td>{{ container.Config.Cmd }}</td>

View file

@ -33,7 +33,7 @@
<tbody> <tbody>
<tr ng-repeat="container in containers|orderBy:predicate"> <tr ng-repeat="container in containers|orderBy:predicate">
<td><input type="checkbox" ng-model="container.Checked" /></td> <td><input type="checkbox" ng-model="container.Checked" /></td>
<td><a href="/#/containers/{{ container|containername }}/">{{ container|containername}}</a></td> <td><a href="/#/containers/{{ container.Id }}/">{{ container|containername}}</a></td>
<td><a href="/#/images/{{ container.Image }}/">{{ container.Image }}</a></td> <td><a href="/#/images/{{ container.Image }}/">{{ container.Image }}</a></td>
<td>{{ container.Command|truncate:40 }}</td> <td>{{ container.Command|truncate:40 }}</td>
<td>{{ container.Created|getdate }}</td> <td>{{ container.Created|getdate }}</td>