Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
a7a8ea30
Commit
a7a8ea30
authored
Jan 28, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added admin settings view
parent
c75e6692
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
0 deletions
+34
-0
src/app/features/admin/adminSettingsCtrl.js
+18
-0
src/app/features/admin/partials/settings.html
+11
-0
src/app/features/all.js
+1
-0
src/app/routes/backend/all.js
+4
-0
No files found.
src/app/features/admin/adminSettingsCtrl.js
0 → 100644
View file @
a7a8ea30
define
([
'angular'
,
],
function
(
angular
)
{
'use strict'
;
var
module
=
angular
.
module
(
'grafana.controllers'
);
module
.
controller
(
'AdminSettingsCtrl'
,
function
(
$scope
)
{
$scope
.
init
=
function
()
{
};
$scope
.
init
();
});
});
src/app/features/admin/partials/settings.html
0 → 100644
View file @
a7a8ea30
<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>
src/app/features/all.js
View file @
a7a8ea30
...
...
@@ -14,5 +14,6 @@ define([
'./account/importCtrl'
,
'./account/accountCtrl'
,
'./admin/adminUsersCtrl'
,
'./admin/adminSettingsCtrl'
,
'./grafanaDatasource/datasource'
,
],
function
()
{});
src/app/routes/backend/all.js
View file @
a7a8ea30
...
...
@@ -54,6 +54,10 @@ define([
templateUrl
:
'app/features/profile/partials/profile.html'
,
controller
:
'ProfileCtrl'
,
})
.
when
(
'/admin/settings'
,
{
templateUrl
:
'app/features/admin/partials/settings.html'
,
controller
:
'AdminSettingsCtrl'
,
})
.
when
(
'/admin/users'
,
{
templateUrl
:
'app/features/admin/partials/users.html'
,
controller
:
'AdminUsersCtrl'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment