0
0
mirror of https://github.com/dobin/lxd-webgui synced 2025-10-05 23:52:43 +02:00

small ui fix

This commit is contained in:
Dobin Rutishauser
2016-04-01 08:12:03 +02:00
parent 86a60a1ac0
commit 0282a13855
2 changed files with 10 additions and 5 deletions

View File

@@ -11,7 +11,9 @@ angular.module('myApp.container')
// Get a container
obj.getByName = function (containerName) {
return $http.get(SettingServices.getLxdApiUrl() + '/containers/' + containerName);
return $http.get(SettingServices.getLxdApiUrl() + '/containers/' + containerName).then(function(response) {
return response;
});
}
// Get all containers

View File

@@ -71,18 +71,21 @@
</div>
<div class="col-md-3">
<div class="col-md-4">
<table class="table table-condensed">
Config
<tbody>
<tr>
<td> Base Image </td>
<td> {{container.config.volatile.base_image}} </td>
<td> {{container.config["volatile.base_image"] | limitTo:12}} </td>
</tr>
<tr>
<td> ETH0 HW ADDR </td>
<td> {{container.config.volatile.eth0.hwaddr}} </td>
<td> eth0 </td>
<td>
{{container.config["volatile.eth0.name"]}}
{{container.config["volatile.eth0.hwaddr"]}}
</td>
</tr>
<tr>