You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ranger.apache.org by ve...@apache.org on 2015/03/04 15:49:48 UTC

incubator-ranger git commit: RANGER-280-color-coding-http-response

Repository: incubator-ranger
Updated Branches:
  refs/heads/master c45e1e72a -> 9b0c5a719


RANGER-280-color-coding-http-response

Signed-off-by: Velmurugan Periasamy <ve...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-ranger/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ranger/commit/9b0c5a71
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ranger/tree/9b0c5a71
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ranger/diff/9b0c5a71

Branch: refs/heads/master
Commit: 9b0c5a71919a62c1db8bbfcc1fc3086f1ee3d4a5
Parents: c45e1e7
Author: Gautam Borad <gb...@gmail.com>
Authored: Wed Mar 4 09:50:23 2015 +0530
Committer: Velmurugan Periasamy <ve...@apache.org>
Committed: Wed Mar 4 09:48:42 2015 -0500

----------------------------------------------------------------------
 .../src/main/webapp/scripts/views/reports/AuditLayout.js         | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ranger/blob/9b0c5a71/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
----------------------------------------------------------------------
diff --git a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
index 23dfdf7..ed943bb 100644
--- a/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
+++ b/security-admin/src/main/webapp/scripts/views/reports/AuditLayout.js
@@ -1220,9 +1220,9 @@ define(function(require) {
 							fromRaw: function (rawValue, model) {
 								var html = rawValue;
 								if(rawValue > 400)
-									html = '<label class="label label-yellow">'+rawValue+'</label>';
+									html = '<label class="label btn-danger">'+rawValue+'</label>';
 								else
-									html = '<label class="label">'+rawValue+'</label>';
+									html = '<label class="label btn-success">'+rawValue+'</label>';
 								return html;
 							}
 						})