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
b6b81ec8
Commit
b6b81ec8
authored
Oct 29, 2013
by
Ian Babrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
do not show empty load/save dropdowns
parent
67a13986
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/app/controllers/dashLoader.js
+0
-3
src/app/partials/dashLoader.html
+2
-2
No files found.
src/app/controllers/dashLoader.js
View file @
b6b81ec8
...
...
@@ -11,9 +11,6 @@ function (angular, _) {
$scope
.
loader
=
dashboard
.
current
.
loader
;
$scope
.
init
=
function
()
{
$scope
.
advancedLoad
=
false
;
$scope
.
advancedSave
=
false
;
$scope
.
gist_pattern
=
/
(
^
\d{5,}
$
)
|
(
^
[
a-z0-9
]{10,}
$
)
|
(
gist.github.com
(\/
*.*
)\/[
a-z0-9
]{5,}\/
*$
)
/
;
$scope
.
gist
=
$scope
.
gist
||
{};
$scope
.
elasticsearch
=
$scope
.
elasticsearch
||
{};
...
...
src/app/partials/dashLoader.html
View file @
b6b81ec8
...
...
@@ -28,7 +28,7 @@
</table>
</li>
<li
class=
"dropdown-submenu noarrow"
>
<li
class=
"dropdown-submenu noarrow"
ng-show=
"dashboard.current.loader.load_gist || dashboard.current.loader.load_local"
>
<a
tabindex=
"-1"
class=
"small"
style=
"padding:0"
><i
class=
"icon-caret-left"
></i>
Advanced
</a>
<ul
class=
"dropdown-menu"
style=
"padding:10px"
>
<li
ng-show=
'dashboard.current.loader.load_local'
>
...
...
@@ -73,7 +73,7 @@
</form>
</li>
<li
class=
"dropdown-submenu noarrow"
>
<li
class=
"dropdown-submenu noarrow"
ng-show=
"dashboard.current.loader.save_local || dashboard.current.loader.save_gist || dashboard.current.loader.save_default"
>
<a
tabindex=
"-1"
class=
"small"
style=
"padding:0"
><i
class=
"icon-caret-left"
></i>
Advanced
</a>
<ul
class=
"dropdown-menu"
>
...
...
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