Lines Matching full:function
9 window.angular && (function(angular) {
14 function(paginationTemplateProvider) {
22 function(
56 $scope.loadLogs = function() {
58 APIUtils.getLogs().then(function(result) {
60 var log = result.data.filter(function(item) {
75 $scope.jsonData = function(data) {
79 $scope.filterBySeverity = function(log) {
88 $scope.filterByStatus = function(log) {
95 $scope.filterByDate = function(log) {
98 typeof $scope.end_date.getTime === 'function') {
112 $scope.filterBySearchTerms = function(log) {
136 $scope.addSearchItem = function(searchTerms) {
138 terms.forEach(function(searchTerm) {
145 $scope.clearSearchItem = function(searchTerm) {
149 $scope.removeSearchItem = function(searchTerm) {
157 $scope.$watch('all', function() {
158 $scope.filteredLogs.forEach(function(item) {
163 function updateExportData() {
168 $scope.selectedEvents.forEach(function(item) {
174 $scope.accept = function() {
175 APIUtils.deleteLogs($scope.selectedEvents).then(function() {
181 $scope.resolve = function() {
182 var events = $scope.selectedEvents.filter(function(item) {
189 function(data) {
190 events.forEach(function(item) {
194 function(error) {
200 $scope.$watch('logs', function() {
201 $scope.selectedEvents = $scope.logs.filter(function(item) {