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
9e59751c
Commit
9e59751c
authored
Jun 04, 2018
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: fixed problem with expanding access mode help in ds settings
parent
ae82112c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
public/app/features/plugins/ds_edit_ctrl.ts
+4
-0
public/app/features/plugins/partials/ds_http_settings.html
+2
-2
No files found.
public/app/features/plugins/ds_edit_ctrl.ts
View file @
9e59751c
...
...
@@ -211,6 +211,10 @@ coreModule.directive('datasourceHttpSettings', function() {
pre
:
function
(
$scope
,
elem
,
attrs
)
{
// do not show access option if direct access is disabled
$scope
.
showAccessOption
=
$scope
.
noDirectAccess
!==
'true'
;
$scope
.
showAccessHelp
=
false
;
$scope
.
toggleAccessHelp
=
function
()
{
$scope
.
showAccessHelp
=
!
$scope
.
showAccessHelp
;
};
$scope
.
getSuggestUrls
=
function
()
{
return
[
$scope
.
suggestUrl
];
...
...
public/app/features/plugins/partials/ds_http_settings.html
View file @
9e59751c
...
...
@@ -30,7 +30,7 @@
</div>
</div>
<div
class=
"gf-form"
>
<label
class=
"gf-form-label query-keyword pointer"
ng-click=
"
ctrl.showAccessHelp = !ctrl.showAccessHelp
"
>
<label
class=
"gf-form-label query-keyword pointer"
ng-click=
"
toggleAccessHelp()
"
>
Help
<i
class=
"fa fa-caret-down"
ng-show=
"ctrl.showAccessHelp"
></i>
<i
class=
"fa fa-caret-right"
ng-hide=
"ctrl.showAccessHelp"
>
</i>
...
...
@@ -38,7 +38,7 @@
</div>
</div>
<div
class=
"alert alert-info"
ng-show=
"
ctrl.
showAccessHelp"
>
<div
class=
"alert alert-info"
ng-show=
"showAccessHelp"
>
<div
class=
"alert-body"
>
<p>
Access mode controls how requests to the data source will be handled.
...
...
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