module.html 823 B

1234567891011
  1. <kibana-panel ng-controller='trends' ng-init="init()">
  2. <div ng-style="panel.style" style="line-height:{{panel.style['font-size']}};display:inline-block;padding-right: 5px;" ng-repeat="query in trends">
  3. <i class="icon-circle" style="color:{{query.info.color}}"></i>
  4. <span ng-class="{'text-success': query.hits.new >= query.hits.old, 'text-error': query.hits.old > query.hits.new}" class='strong'>
  5. <i class='large' ng-class="{'icon-caret-up': query.hits.new >= query.hits.old, 'icon-caret-down': query.hits.old > query.hits.new}"></i> {{query.percent}}%
  6. </span>
  7. <span class="tiny pointer light" bs-tooltip="'Then: '+query.hits.old+', Now: '+query.hits.new" ng-show="query.label != ''">({{query.info.alias}})</span>
  8. <br ng-show="panel.arrangement == 'vertical'">
  9. </div>
  10. </kibana-panel>