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
db36639f
Commit
db36639f
authored
Apr 18, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: #8111
parent
3ee886d0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
22 additions
and
4 deletions
+22
-4
public/app/features/dashboard/submenu/submenu.html
+1
-1
public/sass/components/_submenu.scss
+6
-0
tasks/options/exec.js
+3
-2
tasks/options/tslint.js
+11
-0
tasks/options/watch.js
+1
-1
tasks/tslint.js
+0
-0
No files found.
public/app/features/dashboard/submenu/submenu.html
View file @
db36639f
<div
class=
"submenu-controls
gf-form-query
"
>
<div
class=
"submenu-controls"
>
<div
ng-repeat=
"variable in ctrl.variables"
ng-hide=
"variable.hide === 2"
class=
"submenu-item gf-form-inline"
>
<div
class=
"gf-form"
>
...
...
public/sass/components/_submenu.scss
View file @
db36639f
.submenu-controls
{
display
:
flex
;
flex-direction
:
row
;
flex-wrap
:
wrap
;
align-content
:
flex-start
;
align-items
:
flex-start
;
margin
:
0
$panel-margin
(
$panel-margin
*
2
)
$panel-margin
;
}
...
...
tasks/options/exec.js
View file @
db36639f
module
.
exports
=
function
(
config
)
{
module
.
exports
=
function
(
config
,
grunt
)
{
'use strict'
return
{
tslint
:
"node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json <%= tslint.source.files.src %>"
,
tslint
:
"node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json"
,
tslintfile
:
"node ./node_modules/tslint/lib/tslint-cli.js -c tslint.json --project ./tsconfig.json <%= tslint.source.files.src %>"
,
tscompile
:
"node ./node_modules/typescript/lib/tsc.js -p tsconfig.json --diagnostics"
,
tswatch
:
"node ./node_modules/typescript/lib/tsc.js -p tsconfig.json --diagnostics --watch"
,
};
...
...
tasks/options/tslint.js
0 → 100644
View file @
db36639f
module
.
exports
=
function
(
config
,
grunt
)
{
'use strict'
// dummy to avoid template compile error
return
{
source
:
{
files
:
{
src
:
""
}
}
};
};
tasks/options/watch.js
View file @
db36639f
...
...
@@ -70,7 +70,7 @@ module.exports = function(config, grunt) {
}
grunt
.
config
(
'tslint.source.files.src'
,
filepath
);
grunt
.
task
.
run
(
'exec:tslint'
);
grunt
.
task
.
run
(
'exec:tslint
file
'
);
}
done
();
...
...
tasks/tslint.js
0 → 100644
View file @
db36639f
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