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
9fedd270
Commit
9fedd270
authored
Jul 22, 2013
by
Rashid Khan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #253 from rashidkpc/master
fixed editting on uncollapsable rows; closes #246
parents
c9768f5d
e5ff7411
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
js/controllers.js
+3
-0
partials/dashboard.html
+2
-3
No files found.
js/controllers.js
View file @
9fedd270
...
...
@@ -103,6 +103,9 @@ angular.module('kibana.controllers', [])
};
$scope
.
toggle_row
=
function
(
row
)
{
if
(
!
row
.
collapsable
)
{
return
;
}
row
.
collapse
=
row
.
collapse
?
false
:
true
;
if
(
!
row
.
collapse
)
{
$timeout
(
function
()
{
...
...
partials/dashboard.html
View file @
9fedd270
...
...
@@ -5,13 +5,12 @@
<div
class=
"row-control"
>
<div
class=
"row-fluid row-header"
style=
"padding:0px;margin:0px;height:0px"
>
<div
style=
"vertical-align:bottom"
>
<div
ng-show=
"row.collapsable"
>
<div>
<div
ng-class=
"{'row-open': !row.collapse, 'row-close': row.collapse}"
style=
"position:absolute;margin-left:-60px;"
>
<span
class=
'pointer
'
ng-click=
"toggle_row(row)"
>
{{row.title}}
</span>
<span
ng-class=
'{pointer:row.collapsable}
'
ng-click=
"toggle_row(row)"
>
{{row.title}}
</span>
<i
ng-show=
"row.editable"
class=
"icon-cog pointer editlink"
bs-modal=
"'partials/roweditor.html'"
></i>
</div>
</div>
<small
ng-hide=
"row.collapsable"
class=
"rotated"
>
{{row.title}}
</small>
</div>
</div>
<div
class=
"row-fluid"
style=
"padding-top:0px"
ng-hide=
"row.collapse"
>
...
...
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