mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 02:39:41 +02:00
feat(ui): add more info about nodes in Swarm view (#92)
* feat(ui): add more info about nodes in Swarm view * style(ui): update title for section in swarm view
This commit is contained in:
parent
95b16919a6
commit
06c2635e82
3 changed files with 51 additions and 57 deletions
|
@ -53,8 +53,8 @@ angular.module('swarm', [])
|
|||
node.id = info[offset + 1][1];
|
||||
node.status = info[offset + 2][1];
|
||||
node.containers = info[offset + 3][1];
|
||||
node.cpu = info[offset + 4][1];
|
||||
node.memory = info[offset + 5][1];
|
||||
node.cpu = info[offset + 4][1].split('/')[1];
|
||||
node.memory = info[offset + 5][1].split('/')[1];
|
||||
node.labels = info[offset + 6][1];
|
||||
node.version = info[offset + 8][1];
|
||||
$scope.swarm.Status.push(node);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue