Added loader animation, framework for adjustable interval time stamped indices
This commit is contained in:
+3
-1
@@ -100,7 +100,7 @@ angular.module('kibana.controllers', [])
|
||||
row.collapse = row.collapse ? false : true;
|
||||
if (!row.collapse) {
|
||||
$timeout(function() {
|
||||
$scope.$broadcast('render')
|
||||
$scope.send_render();
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -115,6 +115,8 @@ angular.module('kibana.controllers', [])
|
||||
|
||||
$scope.reset_panel = function() {
|
||||
$scope.panel = {
|
||||
loading: false,
|
||||
error: false,
|
||||
span: 3,
|
||||
editable: true,
|
||||
group: ['default'],
|
||||
|
||||
+1
-1
@@ -7,7 +7,7 @@ angular.module('kibana.directives', [])
|
||||
return {
|
||||
restrict: 'E',
|
||||
link: function(scope, elem, attrs) {
|
||||
var template = '<i class="icon-edit pointer editlink" bs-modal="\'partials/paneleditor.html\'" ng-show="panel.editable != false"></i>'+
|
||||
var template = '<img src="common/img/load.gif" class="panel-loading" ng-show="panel.loading == true"> <i class="icon-edit pointer editlink" bs-modal="\'partials/paneleditor.html\'" ng-show="panel.editable != false"></i>'+
|
||||
'<h4>{{panel.title}}</h4>';
|
||||
elem.prepend($compile(angular.element(template))(scope));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user