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
b5a5b7b9
Commit
b5a5b7b9
authored
Feb 04, 2016
by
utkarshcmu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed totalStats from PR
parent
8952c7c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
55 deletions
+0
-55
public/app/features/dashboard/dashboardCtrl.js
+0
-20
public/app/features/dashboard/partials/settings.html
+0
-35
No files found.
public/app/features/dashboard/dashboardCtrl.js
View file @
b5a5b7b9
...
...
@@ -57,7 +57,6 @@ function (angular, $, config, moment) {
dashboardKeybindings
.
shortcuts
(
$scope
);
$scope
.
evaluateTotalStats
();
$scope
.
updateSubmenuVisibility
();
$scope
.
setWindowTitleAndTheme
();
...
...
@@ -68,25 +67,6 @@ function (angular, $, config, moment) {
});
};
$scope
.
evaluateTotalStats
=
function
()
{
$scope
.
dashboard
.
totalRows
=
0
;
$scope
.
dashboard
.
totalPanels
=
0
;
$scope
.
dashboard
.
totalQueries
=
0
;
if
(
$scope
.
dashboard
.
rows
)
{
$scope
.
dashboard
.
totalRows
=
$scope
.
dashboard
.
rows
.
length
;
for
(
var
i
=
0
;
i
<
$scope
.
dashboard
.
rows
.
length
;
i
++
)
{
if
(
$scope
.
dashboard
.
rows
[
i
].
panels
)
{
$scope
.
dashboard
.
totalPanels
+=
$scope
.
dashboard
.
rows
[
i
].
panels
.
length
;
for
(
var
j
=
0
;
j
<
$scope
.
dashboard
.
rows
[
i
].
panels
.
length
;
j
++
)
{
if
(
$scope
.
dashboard
.
rows
[
i
].
panels
[
j
].
targets
)
{
$scope
.
dashboard
.
totalQueries
+=
$scope
.
dashboard
.
rows
[
i
].
panels
[
j
].
targets
.
length
;
}
}
}
}
}
};
$scope
.
updateSubmenuVisibility
=
function
()
{
$scope
.
submenuEnabled
=
$scope
.
dashboard
.
isSubmenuFeaturesEnabled
();
};
...
...
public/app/features/dashboard/partials/settings.html
View file @
b5a5b7b9
...
...
@@ -162,41 +162,6 @@
</ul>
<div
class=
"clearfix"
></div>
</div>
</div>
<div
class=
"pull-left tight-form"
>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 120px"
>
Total Rows:
</li>
<li
class=
"tight-form-item"
style=
"width: 180px"
>
{{dashboard.totalRows}}
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 120px"
>
Total Panels:
</li>
<li
class=
"tight-form-item"
style=
"width: 180px"
>
{{dashboard.totalPanels}}
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 120px"
>
Total Queries:
</li>
<li
class=
"tight-form-item"
style=
"width: 180px"
>
{{dashboard.totalQueries}}
</li>
</ul>
<div
class=
"clearfix"
></div>
</div>
<div
class=
"tight-form"
>
<ul
class=
"tight-form-list"
>
<li
class=
"tight-form-item"
style=
"width: 120px"
>
...
...
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