github.com/justinjmoses/evergreen@v0.0.0-20170530173719-1d50e381ff0d/public/static/js/directives/directives.eventlogs.js (about)

     1  var directives = directives || {};
     2  
     3  directives.eventlogs = angular.module('directives.eventLogs', ['filters.common']);
     4  
     5  directives.eventlogs.directive('taskevent', function() {
     6    return {
     7      scope:{
     8        userTz:"=tz",
     9        eventLogObj:"=event"
    10      },
    11      restrict : 'E',
    12      templateUrl : '/static/partials/taskevent.html',
    13    };
    14  });
    15  
    16  directives.eventlogs.directive('hostevent', function() {
    17    return {
    18      scope:{
    19        userTz:"=tz",
    20        eventLogObj:"=event"
    21      },
    22      restrict : 'E',
    23      templateUrl : '/static/partials/hostevent.html',
    24    };
    25  });
    26  
    27  directives.eventlogs.directive('distroevent', function() {
    28    return {
    29      scope:{
    30        userTz:"=tz",
    31        e:"=event"
    32      },
    33      restrict : 'E',
    34      templateUrl : '/static/partials/distroevent.html',
    35    };
    36  });
    37  
    38