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
6b4dcb38
Commit
6b4dcb38
authored
Jan 14, 2019
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Restored http settings directive that was hidden in an unused angular controller page
parent
03c6cc59
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
0 deletions
+27
-0
public/app/features/all.ts
+1
-0
public/app/features/datasources/partials/http_settings.html
+0
-0
public/app/features/datasources/settings/HttpSettingsCtrl.ts
+26
-0
No files found.
public/app/features/all.ts
View file @
6b4dcb38
...
...
@@ -11,3 +11,4 @@ import './alerting/NotificationsListCtrl';
import
'./manage-dashboards'
;
import
'./teams/CreateTeamCtrl'
;
import
'./profile/all'
;
import
'./datasources/settings/HttpSettingsCtrl'
;
public/app/features/
plugins/partials/ds_
http_settings.html
→
public/app/features/
datasources/partials/
http_settings.html
View file @
6b4dcb38
File moved
public/app/features/datasources/settings/HttpSettingsCtrl.ts
0 → 100644
View file @
6b4dcb38
import
{
coreModule
}
from
'app/core/core'
;
coreModule
.
directive
(
'datasourceHttpSettings'
,
()
=>
{
return
{
scope
:
{
current
:
'='
,
suggestUrl
:
'@'
,
noDirectAccess
:
'@'
,
},
templateUrl
:
'public/app/features/datasources/partials/http_settings.html'
,
link
:
{
pre
:
(
$scope
,
elem
,
attrs
)
=>
{
// do not show access option if direct access is disabled
$scope
.
showAccessOption
=
$scope
.
noDirectAccess
!==
'true'
;
$scope
.
showAccessHelp
=
false
;
$scope
.
toggleAccessHelp
=
()
=>
{
$scope
.
showAccessHelp
=
!
$scope
.
showAccessHelp
;
};
$scope
.
getSuggestUrls
=
()
=>
{
return
[
$scope
.
suggestUrl
];
};
},
},
};
});
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