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
feb5e207
Commit
feb5e207
authored
Jun 04, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
datasource: added option no-direct-access to ds-http-settings diretive, closes #12138
parent
f5cf9263
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
public/app/features/plugins/ds_edit_ctrl.ts
+4
-0
public/app/features/plugins/partials/ds_http_settings.html
+1
-1
No files found.
public/app/features/plugins/ds_edit_ctrl.ts
View file @
feb5e207
...
...
@@ -204,10 +204,14 @@ coreModule.directive('datasourceHttpSettings', function() {
scope
:
{
current
:
'='
,
suggestUrl
:
'@'
,
noDirectAccess
:
'@'
,
},
templateUrl
:
'public/app/features/plugins/partials/ds_http_settings.html'
,
link
:
{
pre
:
function
(
$scope
,
elem
,
attrs
)
{
// do not show access option if direct access is disabled
$scope
.
showAccessOption
=
$scope
.
noDirectAccess
!==
'true'
;
$scope
.
getSuggestUrls
=
function
()
{
return
[
$scope
.
suggestUrl
];
};
...
...
public/app/features/plugins/partials/ds_http_settings.html
View file @
feb5e207
...
...
@@ -22,7 +22,7 @@
</div>
</div>
<div
class=
"gf-form-inline"
>
<div
class=
"gf-form-inline"
ng-if=
"showAccessOption"
>
<div
class=
"gf-form max-width-30"
>
<span
class=
"gf-form-label width-7"
>
Access
</span>
<div
class=
"gf-form-select-wrapper max-width-24"
>
...
...
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