Commit a7a8ea30 by Torkel Ödegaard

added admin settings view

parent c75e6692
define([
'angular',
],
function (angular) {
'use strict';
var module = angular.module('grafana.controllers');
module.controller('AdminSettingsCtrl', function($scope) {
$scope.init = function() {
};
$scope.init();
});
});
<div ng-include="'app/partials/navbar.html'" ng-init="pageTitle='Admin > Settings'"></div>
<div class="dashboard-edit-view" style="min-height: 500px">
<div class="dashboard-editor-body">
<div class="editor-row row">
<div class="section span6">
</div>
</div>
</div>
</div>
...@@ -14,5 +14,6 @@ define([ ...@@ -14,5 +14,6 @@ define([
'./account/importCtrl', './account/importCtrl',
'./account/accountCtrl', './account/accountCtrl',
'./admin/adminUsersCtrl', './admin/adminUsersCtrl',
'./admin/adminSettingsCtrl',
'./grafanaDatasource/datasource', './grafanaDatasource/datasource',
], function () {}); ], function () {});
...@@ -54,6 +54,10 @@ define([ ...@@ -54,6 +54,10 @@ define([
templateUrl: 'app/features/profile/partials/profile.html', templateUrl: 'app/features/profile/partials/profile.html',
controller : 'ProfileCtrl', controller : 'ProfileCtrl',
}) })
.when('/admin/settings', {
templateUrl: 'app/features/admin/partials/settings.html',
controller : 'AdminSettingsCtrl',
})
.when('/admin/users', { .when('/admin/users', {
templateUrl: 'app/features/admin/partials/users.html', templateUrl: 'app/features/admin/partials/users.html',
controller : 'AdminUsersCtrl', controller : 'AdminUsersCtrl',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment