mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
More work on annotations
This commit is contained in:
parent
869bebed6e
commit
79ca016409
@ -2,7 +2,7 @@
|
||||
<div class="pull-right editor-title">Dashboard settings</div>
|
||||
|
||||
<div ng-model="editor.index" bs-tabs style="text-transform:capitalize;">
|
||||
<div ng-repeat="tab in ['General', 'Rows','Controls', 'Import']" data-title="{{tab}}">
|
||||
<div ng-repeat="tab in ['General', 'Rows','Controls', 'Metrics', 'Import']" data-title="{{tab}}">
|
||||
</div>
|
||||
<div ng-repeat="tab in dashboard.current.nav" data-title="{{tab.type}}">
|
||||
</div>
|
||||
|
@ -1,7 +1,10 @@
|
||||
<div ng-controller="MetricKeysCtrl" ng-init="init()">
|
||||
<h5>Load metrics keys into elastic search</h5>
|
||||
|
||||
<div class="row-fluid">
|
||||
<p>
|
||||
Work in progress...
|
||||
</p>
|
||||
<!-- <div class="row-fluid">
|
||||
<div class="span12">
|
||||
<label class="small">Load metrics recursive starting from this metric path</label>
|
||||
<input type="text" class="input-xlarge" ng-model="metricPath"> </input>
|
||||
@ -29,5 +32,5 @@
|
||||
<div class="span12" style="padding-top: 10px;">
|
||||
Metrics indexed: {{metricCounter}}
|
||||
</div>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
@ -27,7 +27,7 @@ function (angular, $, kbn, _, config, moment, Modernizr) {
|
||||
failover: false,
|
||||
panel_hints: true,
|
||||
rows: [],
|
||||
pulldowns: [ { type: 'filtering' }, { type: 'annotations' } ],
|
||||
pulldowns: [ { type: 'filtering' }, /*{ type: 'annotations' }*/ ],
|
||||
nav: [ { type: 'timepicker' } ],
|
||||
services: {},
|
||||
loader: {
|
||||
@ -126,19 +126,17 @@ function (angular, $, kbn, _, config, moment, Modernizr) {
|
||||
if (!filtering) {
|
||||
dashboard.pulldowns.push({
|
||||
type: 'filtering',
|
||||
enable: false,
|
||||
collapse: true
|
||||
enable: false
|
||||
});
|
||||
}
|
||||
|
||||
var annotations = _.findWhere(dashboard.pulldowns, {type: 'annotations'});
|
||||
/*var annotations = _.findWhere(dashboard.pulldowns, {type: 'annotations'});
|
||||
if (!annotations) {
|
||||
dashboard.pulldowns.push({
|
||||
type: 'annotations',
|
||||
enable: false,
|
||||
collapse: true
|
||||
enable: false
|
||||
});
|
||||
}
|
||||
}*/
|
||||
|
||||
return dashboard;
|
||||
};
|
||||
|
2
src/css/bootstrap.dark.min.css
vendored
2
src/css/bootstrap.dark.min.css
vendored
File diff suppressed because one or more lines are too long
2
src/css/bootstrap.light.min.css
vendored
2
src/css/bootstrap.light.min.css
vendored
File diff suppressed because one or more lines are too long
@ -20,7 +20,7 @@
|
||||
.submenu-panel-title {
|
||||
float: left;
|
||||
text-transform: uppercase;
|
||||
padding: 4px 10px 0 0;
|
||||
padding: 4px 10px 3px 0;
|
||||
}
|
||||
|
||||
.submenu-panel-wrapper {
|
||||
@ -28,7 +28,7 @@
|
||||
}
|
||||
|
||||
.submenu-toggle {
|
||||
padding: 4px 0 0 4px;
|
||||
padding: 4px 0 3px 8px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user