Added font size selector to table panel (issue #10). Added ability to configure temp url ttl and disable sharing of via short links

This commit is contained in:
Rashid Khan
2013-03-05 14:55:24 -07:00
parent 5a0f15ba37
commit 8a521f2a7b
8 changed files with 24 additions and 4 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ angular.module('kibana.directives', [])
return {
restrict: 'E',
link: function(scope, elem, attrs) {
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>'+
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"> <span class="small">{{panel.type}}</span></i>'+
'<h4>{{panel.title}}</h4>';
elem.prepend($compile(angular.element(template))(scope));
}