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

#414 feat(node-details): add ability to view and edit Swarm mode nodes (#417)

This commit is contained in:
Glowbal 2017-01-25 22:12:04 +01:00 committed by Anthony Lapenna
parent e6dee37af0
commit fa9ba303aa
7 changed files with 464 additions and 5 deletions

View file

@ -36,6 +36,7 @@ angular.module('portainer', [
'swarm',
'network',
'networks',
'node',
'createNetwork',
'task',
'templates',
@ -398,6 +399,22 @@ angular.module('portainer', [
requiresLogin: true
}
})
.state('node', {
url: '^/nodes/:id/',
views: {
"content": {
templateUrl: 'app/components/node/node.html',
controller: 'NodeController'
},
"sidebar": {
templateUrl: 'app/components/sidebar/sidebar.html',
controller: 'SidebarController'
}
},
data: {
requiresLogin: true
}
})
.state('services', {
url: '/services/',
views: {