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
08f7e55a
Commit
08f7e55a
authored
Jan 23, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved dashboard settings to components
parent
dfe9252f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
3 deletions
+4
-3
public/app/features/dashboard/components/DashboardSettings/SettingsCtrl.ts
+2
-2
public/app/features/dashboard/components/DashboardSettings/index.ts
+1
-0
public/app/features/dashboard/components/DashboardSettings/template.html
+0
-0
public/app/features/dashboard/index.ts
+1
-1
No files found.
public/app/features/dashboard/
settings/settings
.ts
→
public/app/features/dashboard/
components/DashboardSettings/SettingsCtrl
.ts
View file @
08f7e55a
import
{
coreModule
,
appEvents
,
contextSrv
}
from
'app/core/core'
;
import
{
DashboardModel
}
from
'../dashboard_model'
;
import
{
DashboardModel
}
from
'../
../
dashboard_model'
;
import
$
from
'jquery'
;
import
_
from
'lodash'
;
import
angular
from
'angular'
;
...
...
@@ -230,7 +230,7 @@ export class SettingsCtrl {
export
function
dashboardSettings
()
{
return
{
restrict
:
'E'
,
templateUrl
:
'public/app/features/dashboard/
settings/settings
.html'
,
templateUrl
:
'public/app/features/dashboard/
components/DashboardSettings/template
.html'
,
controller
:
SettingsCtrl
,
bindToController
:
true
,
controllerAs
:
'ctrl'
,
...
...
public/app/features/dashboard/components/DashboardSettings/index.ts
0 → 100644
View file @
08f7e55a
export
{
SettingsCtrl
}
from
'./SettingsCtrl'
;
public/app/features/dashboard/
settings/settings
.html
→
public/app/features/dashboard/
components/DashboardSettings/template
.html
View file @
08f7e55a
File moved
public/app/features/dashboard/index.ts
View file @
08f7e55a
...
...
@@ -19,7 +19,6 @@ import './ad_hoc_filters';
import
'./repeat_option/repeat_option'
;
import
'./dashgrid/DashboardGridDirective'
;
import
'./dashgrid/RowOptions'
;
import
'./settings/settings'
;
import
'./panellinks/module'
;
import
'./components/DashLinks'
;
import
'./components/DashExportModal'
;
...
...
@@ -27,6 +26,7 @@ import './components/DashNav';
import
'./components/ExportDataModal'
;
import
'./components/FolderPicker'
;
import
'./components/VersionHistory'
;
import
'./components/DashboardSettings'
;
import
DashboardPermissions
from
'./components/DashboardPermissions/DashboardPermissions'
;
// angular wrappers
...
...
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