reverted back and using angular for settings and dashboards

This commit is contained in:
Peter Holmberg
2018-10-08 16:01:17 +02:00
parent 4ecd33c79c
commit 61cac5fd61
8 changed files with 192 additions and 23 deletions

View File

@@ -72,6 +72,16 @@ export function setupAngularRoutes($routeProvider, $locationProvider) {
component: () => DataSourcesListPage,
},
})
.when('/datasources/edit/:id', {
templateUrl: 'public/app/features/plugins/partials/ds_edit.html',
controller: 'DataSourceEditCtrl',
controllerAs: 'ctrl',
})
.when('/datasources/edit/:id/dashboards', {
templateUrl: 'public/app/features/plugins/partials/ds_dashboards.html',
controller: 'DataSourceDashboardsCtrl',
controllerAs: 'ctrl',
})
.when('/datasources/edit/:id/:page?', {
template: '<react-container />',
resolve: {