Torkel Odegaard 12 лет назад
Родитель
Сommit
79ca016409

+ 1 - 1
src/app/partials/dasheditor.html

@@ -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>

+ 5 - 2
src/app/partials/loadmetrics.html

@@ -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>

+ 5 - 7
src/app/services/dashboard.js

@@ -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;
     };

Разница между файлами не показана из-за своего большого размера
+ 0 - 0
src/css/bootstrap.dark.min.css


Разница между файлами не показана из-за своего большого размера
+ 0 - 0
src/css/bootstrap.light.min.css


+ 2 - 2
src/css/less/submenu.less

@@ -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;
 }
 

Некоторые файлы не были показаны из-за большого количества измененных файлов