1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-08-02 04:15:28 +02:00

feat(configs): add support for docker configs (#996)

This commit is contained in:
Thomas Kooi 2017-11-06 09:47:31 +01:00 committed by Anthony Lapenna
parent ade66414a4
commit 407f0f5807
30 changed files with 932 additions and 20 deletions

View file

@ -26,6 +26,32 @@ function configureRoutes($stateProvider) {
requiresLogin: false
}
})
.state('configs', {
url: '^/configs/',
views: {
'content@': {
templateUrl: 'app/components/configs/configs.html',
controller: 'ConfigsController'
},
'sidebar@': {
templateUrl: 'app/components/sidebar/sidebar.html',
controller: 'SidebarController'
}
}
})
.state('config', {
url: '^/config/:id/',
views: {
'content@': {
templateUrl: 'app/components/config/config.html',
controller: 'ConfigController'
},
'sidebar@': {
templateUrl: 'app/components/sidebar/sidebar.html',
controller: 'SidebarController'
}
}
})
.state('containers', {
parent: 'root',
url: '/containers/',
@ -156,6 +182,19 @@ function configureRoutes($stateProvider) {
}
}
})
.state('actions.create.config', {
url: '/config',
views: {
'content@': {
templateUrl: 'app/components/createConfig/createconfig.html',
controller: 'CreateConfigController'
},
'sidebar@': {
templateUrl: 'app/components/sidebar/sidebar.html',
controller: 'SidebarController'
}
}
})
.state('actions.create.container', {
url: '/container/:from',
views: {