diff --git a/public/controllers/fim.js b/public/controllers/fim.js index c46060922..f0dc0d51d 100644 --- a/public/controllers/fim.js +++ b/public/controllers/fim.js @@ -50,7 +50,7 @@ app.controller('fimController', function ($scope, alertify, sharedProperties, Da return null; } var _pos = index - DataFactory.getOffset(objectsArray['/syscheck/files']); - if ((_pos > 15) || (_pos < 0)) { + if ((_pos > 30) || (_pos < 0)) { $scope._files_blocked = true; DataFactory.scrollTo(objectsArray['/syscheck/files'], index) .then(function (data) { @@ -153,7 +153,7 @@ app.controller('fimController', function ($scope, alertify, sharedProperties, Da body[key] = value; }); } - DataFactory.initialize('get', '/syscheck/'+agent.id+'/files', body, 10, 0) + DataFactory.initialize('get', '/syscheck/'+agent.id+'/files', body, 35, 0) .then(function (data) { objectsArray[agent.id+file.file] = data; DataFactory.get(objectsArray[agent.id+file.file]) @@ -241,7 +241,7 @@ app.controller('fimController', function ($scope, alertify, sharedProperties, Da $scope._agent = agent; $scope.eventFilter = ''; $scope.typeFilter = ''; - DataFactory.initialize('get', '/syscheck/' + agent.id + '/files', {}, 15, 0) + DataFactory.initialize('get', '/syscheck/' + agent.id + '/files', {}, 20, 0) .then(function (data) { objectsArray['/syscheck/files'] = data; $scope.getFiles(); @@ -462,7 +462,7 @@ app.controller('fimController', function ($scope, alertify, sharedProperties, Da $scope.agentId = _agent; } - DataFactory.initialize('get', '/syscheck/'+_agent+'/files', {'summary': 'yes'}, 15, 0) + DataFactory.initialize('get', '/syscheck/'+_agent+'/files', {'summary': 'yes'}, 35, 0) .then(function (data) { objectsArray['/syscheck/files'] = data; DataFactory.initialize('get', '/agents', {}, 15, 0) diff --git a/public/templates/fim.html b/public/templates/fim.html index 0d02a8cce..76a7aabb2 100644 --- a/public/templates/fim.html +++ b/public/templates/fim.html @@ -30,27 +30,24 @@ - + - - + +
-
-

{{file.file.length > 58 ? file.file.substring(0, 55)+'...' : file.file}}

- -

{{file.event.charAt(0).toUpperCase() + file.event.slice(1)}}

- -

{{file.modificationDate}}

+
+ {{file.file.length > 58 ? file.file.substring(0, 55)+'...' : file.file}} + {{file.modificationDate}} ({{file.event.charAt(0).toUpperCase() + file.event.slice(1)}})
- +

{{event.event.charAt(0).toUpperCase() + event.event.slice(1)}}

diff --git a/public/templates/fim.old.html b/public/templates/fim.old.html deleted file mode 100644 index 3ea7adcad..000000000 --- a/public/templates/fim.old.html +++ /dev/null @@ -1,99 +0,0 @@ - - -
-
-
-
-
-
{{file.file.length > 58 ? file.file.substring(0, 55)+'...' : file.file}}
-
-
-
{{file.event.charAt(0).toUpperCase() + file.event.slice(1)}}
-
-
-
{{file.modificationDate}}
-
-
-
-
-
-
- - - - - - - - - - - -
{{event.event.charAt(0).toUpperCase() + event.event.slice(1)}} - MD5: {{event.md5}} - SHA1: {{event.sha1}} - {{event.octalMode.slice(-4)}} - U: {{event.user}} - G: {{event.group}}{{event.modificationDate}}
- - -
- -
-
-
-
- - -
-
-
-
-
-
-

AGENTS:

-
- - - - - - - - - - -
{{agent.id}} - {{agent.name}}
- - -
-
-
-
-

QUICK ACTIONS:

-
-
- - - -
-
-
-
-