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
00c2153e
Commit
00c2153e
authored
Oct 17, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of github.com:grafana/grafana into develop
parents
cd10be0f
5f6ab1e3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
pkg/api/api.go
+3
-3
pkg/api/index.go
+1
-1
No files found.
pkg/api/api.go
View file @
00c2153e
...
...
@@ -248,9 +248,9 @@ func (hs *HttpServer) registerRoutes() {
dashboardRoute
.
Post
(
"/import"
,
bind
(
dtos
.
ImportDashboardCommand
{}),
wrap
(
ImportDashboard
))
dashboardRoute
.
Group
(
"/id/:dashboardId"
,
func
(
dashIdRoute
RouteRegister
)
{
dashIdRoute
.
Get
(
"/
id/:dashboardId/
versions"
,
wrap
(
GetDashboardVersions
))
dashIdRoute
.
Get
(
"/
id/:dashboardId/
versions/:id"
,
wrap
(
GetDashboardVersion
))
dashIdRoute
.
Post
(
"/
id/:dashboardId/
restore"
,
reqEditorRole
,
bind
(
dtos
.
RestoreDashboardVersionCommand
{}),
wrap
(
RestoreDashboardVersion
))
dashIdRoute
.
Get
(
"/versions"
,
wrap
(
GetDashboardVersions
))
dashIdRoute
.
Get
(
"/versions/:id"
,
wrap
(
GetDashboardVersion
))
dashIdRoute
.
Post
(
"/restore"
,
reqEditorRole
,
bind
(
dtos
.
RestoreDashboardVersionCommand
{}),
wrap
(
RestoreDashboardVersion
))
dashIdRoute
.
Group
(
"/acl"
,
func
(
aclRoute
RouteRegister
)
{
aclRoute
.
Get
(
"/"
,
wrap
(
GetDashboardAclList
))
...
...
pkg/api/index.go
View file @
00c2153e
...
...
@@ -270,7 +270,7 @@ func setIndexViewData(c *middleware.Context) (*dtos.IndexViewData, error) {
{
Text
:
"Orgs"
,
Id
:
"global-orgs"
,
Url
:
setting
.
AppSubUrl
+
"/admin/orgs"
},
{
Text
:
"Server Settings"
,
Id
:
"server-settings"
,
Url
:
setting
.
AppSubUrl
+
"/admin/settings"
},
{
Text
:
"Server Stats"
,
Id
:
"server-stats"
,
Url
:
setting
.
AppSubUrl
+
"/admin/stats"
},
{
Text
:
"Style Guide"
,
Id
:
"styleguide"
,
Url
:
setting
.
AppSubUrl
+
"/
admin/
styleguide"
},
{
Text
:
"Style Guide"
,
Id
:
"styleguide"
,
Url
:
setting
.
AppSubUrl
+
"/styleguide"
},
},
})
}
...
...
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