mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 21:32:20 +08:00
fix: #8111
This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
<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 ng-repeat="variable in ctrl.variables" ng-hide="variable.hide === 2" class="submenu-item gf-form-inline">
|
||||||
<div class="gf-form">
|
<div class="gf-form">
|
||||||
|
@ -1,4 +1,10 @@
|
|||||||
.submenu-controls {
|
.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;
|
margin: 0 $panel-margin ($panel-margin*2) $panel-margin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,7 +1,8 @@
|
|||||||
module.exports = function(config) {
|
module.exports = function(config, grunt) {
|
||||||
'use strict'
|
'use strict'
|
||||||
return {
|
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",
|
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",
|
tswatch: "node ./node_modules/typescript/lib/tsc.js -p tsconfig.json --diagnostics --watch",
|
||||||
};
|
};
|
||||||
|
11
tasks/options/tslint.js
Normal file
11
tasks/options/tslint.js
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
module.exports = function(config, grunt) {
|
||||||
|
'use strict'
|
||||||
|
// dummy to avoid template compile error
|
||||||
|
return {
|
||||||
|
source: {
|
||||||
|
files: {
|
||||||
|
src: ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
};
|
@ -70,7 +70,7 @@ module.exports = function(config, grunt) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
grunt.config('tslint.source.files.src', filepath);
|
grunt.config('tslint.source.files.src', filepath);
|
||||||
grunt.task.run('exec:tslint');
|
grunt.task.run('exec:tslintfile');
|
||||||
}
|
}
|
||||||
|
|
||||||
done();
|
done();
|
||||||
|
0
tasks/tslint.js
Normal file
0
tasks/tslint.js
Normal file
Reference in New Issue
Block a user